April 2009
Mon Tue Wed Thu Fri Sat Sun
« Mar   May »
 12345
6789101112
13141516171819
20212223242526
27282930  

Month April 2009

Incomplete Look At The Process Of Creating A Simple Web Page

After firing up a browser, you type in a favorite web address (URL), and in seconds you get a web page that you are familiar with.  Many other people are doing this every day without caring or knowing how to construct a web page.  It’s perfectly fine to be care less about the process of creating a web page as everyday users do not need to know how to create for them to use.  However, if you are one of those curious minds, you probably have wondered how those web pages got created, and how hard it is for you to take on the process of creating web pages.  It’s not that hard, but rather confusing if you’re not careful.

Creating a web page you only need a text editor of your choice.  What’s text editor?  Every computer that is having Windows Operating System is carrying notepad (text editor).  With notepad you can create a web page, but many web designers prefer their favorite text editors that specializes in web designing.  Those special text editors highlight HTML/XHTML codes with colors so your codes are easier to be read, and some text editors even auto-fill the close HTML/XHTML tags when you type in the open HTML/XHTML tags.  Those specialize text editors that web designers use come with huge amount of features to help you create web pages easier.  You can Google to search for your favorite text editors.

Before you create a web page or a template, you must use a markup language.  HTML vs XHTML is what people are quarreled about.  These two types of markup languages are creating confusions among the web developers since both of them are very much alike, but underneath the hoods they are very different.  Most web browsers still cannot support XHTML, but all types of web browsers are supporting HTML.  Still, there are some web designers out there prefer XHTML 1.0+ over HTML, because these people think that XHTML is the future of web designing.  Also XHTML is an application of XML (Extensible Markup Language).  XML has features that HTML does not have, and so some people think it’s better to use XHTML over HTML for this very reason.  Unfortunately, most browsers of now are not parsing XHTML well enough, and so making a true XHTML will break your web pages when view with some browsers.  Web browsers identify a content type such as HTML or XHTML so the web pages can be displayed correctly, and to create a true XHTML web page you must enter “application/xhtml+xml” between the head tags (<head> </head>).  IE7 and below won’t be able to recognize “application/xhtml+xml” content type, and so your web page will not be shown correctly or if at all.

HTML is not outdated as the people who are responsible for making the web standardization and the people who are creating popular browsers like Firefox and Safari are pushing for a newer version of HTML known as HTML 5.  HTML 5 will be backward compatible with HTML 4.01, and so it’s a good thing for you to create your web pages now in HTML 4.01.  XHTML 2 is the next version of XHTML 1 that is still in the work, but I heard that XHTML 2 is not backward compatible with XHTML 1, and so if you create your web pages now using XHTML 1, you may have to rewrite your web pages from scratch to support XHTML 2 — that’s if you want your web pages to be on the cutting edge.  Big website/portal as Yahoo is still using HTML 4.01, and you can check to affirm this by viewing the HTML source codes of Yahoo’s web pages.

Most web designers create web pages now a day are using the web templates that they had created.  It’s easier to copy and paste the web templates’ source codes to a new web page than remember the source code and rewrite them.  There are CMS (Content Management System) and web page creators such as Microsoft Expression and Dreamweaver that you can use to quickly create web pages based on web templates that you had designed.

What’s web template?  Web template is a complete web page that was designed by you or other web designers and could be used as model for your upcoming web pages.  Don’t feel like create a web template yourself?  You could buy one online easily.  Though the whole point of creating a web template and web pages yourself so you don’t have to buy it from someone else.

HTML and XHTML are nice for structuring web contents, but using these markup languages to beautify web pages can only create ugly/repetitive codes that make it harder to maintain.  Instead of using HTML’s deprecated attributes to give your paragraph colors and fonts — so on…, you should use CSS to do that.  Like anything new, it’s going to take time before you get good at doing it, and so writing CSS will take a lot of practice.  Though CSS is not rocket science stuffs, and so with a good CSS tutorial you will be writing CSS in no time.

Why CSS?  CSS is just a text file that is ending with .css, and in this file you can add elements that make your web pages look gorgeous.  All of your web pages can use this single .css text file to be beautiful, and so you only have to create one css text file one time that has all the rules for unlimited number of web pages that you are going to create.  This is a lot better than adding a bunch of attributes to each web page over and over again.  In order for CSS to beautify your web pages, each web page needs to refer to the css file that you created.  For example, you need to add something like <link href=”yourcsstextfile.css” rel=”stylesheet” type=”text/css” /> between each web page’s (<head></head>) tags.

Creating a simple web page is easy, but to make your web page compatible with all browsers will be a hard task.  IE browser may not show your web page correctly even though Firefox will, and so make sure you fire up all browsers to test your web page out.  You can also use HTML/XHTML validator from validator.w3.org to test to see if your web page is complying to the standard.  Complying to the standard when creating a web page assures you that your web page may show up correctly on all browsers.  I use the word may, because some web browsers’ parsers may not follow the standard, and even though you are following the standard, your web page may show up incorrectly on those browsers.

What's A Router?

What is a router?  Router is like a smart switch, but it’s much more.  Router allows you to hook up multiple computers onto a single network that is using a single Internet connection — meaning DSL, Cable, and so on.  There are two types of routers, the enterprise routers and the typical routers.  Enterprise routers are for big companies to use as those companies have complex networks that require stronger and smarter routers.  A typical home network only needs a regular router.

A regular router that you can get in your electronic stores has four Ethernet ports, but make sure you get the router that also allows wireless connectivity.  With wireless connectivity, your router will be able to permit 10 or more wireless devices connect to the Internet, and it’s all depending on how fast is your Internet connection.  Regular routers cost from $80 to $160.

For your information, using Ethernet ports are better, because these ports provide better security than wireless connection.  Why?  Hackers need to hack your router directly before he can see your internal network IP addresses, and each Ethernet port represents an internal network IP address.  Internal network IP address starts with 192.168.x.x.  Wireless connection is easier to hack as hackers have wireless scanners that can sniff wireless activities as if a dog is sniffing for senses.  To confuse the hackers, you must use wireless encryptions.  To improve your wireless security you can use WPA or WPA2 wireless encryption standard.  Don’t use WEP wireless encryption standard, because it’s not as secure as WPA and WPA2.

A typical router also comes with a firewall known as Stateful Packet Inspection (SPI).  Many routers allow you to turn on the firewall or otherwise easily by checking or unchecking some options in the admin’s panel.  If your router is not turning the firewall on by default, you must do it manually, because firewall is there to help protect your network from prying eyes (hackers).  For your information, no firewall is hacker proof, but it’s better to have a firewall than nothing at all.

Some people set up their routers incorrectly by allowing default setting to stay exactly that, and so their network can be hacked easily.  Make sure to change admin’s default password to something harder, and also adding a longer and harder to guess WPA/WPA2 passphrase.  Each time a wireless device wants to access a router, a router will ask it for a secret passphrase, and if a wireless device cannot answer with a correct passphrase, the router won’t allow a wireless device connects to the network.

Some routers allow you to block or permit only specific wireless devices to access the network by filtering the MAC addresses.  Each wireless or ethernet card has a unique MAC address, and if you are physically taking a look at the card, you’ll be able to see a MAC address on the card itself.  By only allowing a registered MAC address of each wireless device connects to the network, the router is effectively permit or prevent a wireless device from accessing the router, ultimately the network and the Internet connection.  Still, there are hackers that know how to spoof (fake) the MAC address, and so this feature is not hacker proof.

Many routers have a log capability.  This allows a router to record the incoming and outgoing requests of each wireless device on the network.  By looking at the log, you can see who had accessed the router and the destinations’ IP addresses.

If you’re using Linksys router, you may be able to use DD-WRT firmware to turn your $80 Linksys router into one of those enterprise routers.  For your information, enterprise routers are much more expensive as these carry more features.  DD-WRT allows your normal Linksys to have more features.  Please be careful when applying DD-WRT to your router, because doing it without following the correct instruction may render your router unusable.

Twitter Is Viral

Amazon is facing a social network crisis due to the fact that their online store prevents books that are related to gay and lesbian to be found easily.  An author found out that his book is no longer listing among other books, and so his revenue is down — all because that his book is about gay romance.  Twitter folks who may or may not be gay are outrageous about this, and so they tweet in thousands with tag “amazonfail.”

The micro blogging website Twitter is hot than ever before.  Its social feature that allows anyone to update personal message that the whole world can follow is viral.  Even John McCain once said to a reporter that a good thing about Twitter is that you can post a short message that means a lot.  I don’t know about that, but other people have find the use for Twitter in many ways.  Bloggers use Twitter to update their followers about new blog posts.  Musicians update their followers about their concert events.  So on and so on, and you can update the whole world about what you are doing right now — for example: picking your nose :) !

Concise messages can sometimes be more effective than long and boring messages.

CNN is also on Twitter, and so famous people like actor Ashton Kutcher, Demi Moore, Britney Spears, and so on.  Famous celebrities on Twiter may or may not use ghostwriters to Twitter for them.  Only two months ago TimesOnline came up with a list of “The top 50 most popular celebs on Twitter.”

If you take a closer look at Twitter, it may not be that interesting if you have no agenda, but the people who have agenda do find that Twitter is very useful and purposeful.  If you are a Twitter user who have hundred thousands of followers, your simple concise messages suddenly become very powerful.  You can use such power to promote your philosophy, products, personal rants, and the sky is the limit.

Other programmers and website developers jump on the bandwagon by creating their own scripts that offer the same online features that Twitter is offering.  Clone websites of Twitter are out there, and if you use Google to dig around, you will be able to find couple Twitter clone websites without breaking too much sweat.  There are couple free or commercial Twitter clone software that you can purchase or download so you can run a Twitter clone website.  A free open source Twitter clone script that I know of is LaconicaYonkly is a web service that allows you to run a Twitter clone community.

Follow

Get every new post delivered to your Inbox.

Join 135 other followers