Left Quote    If at first you don't succeed, redefine success.
- Anon.    
Right Quote
[login] | [Register]

Site Design Made Simple

by: Superterran
Page: 1 of 4
(View All)


Most sites are done with tables in html. Most newbies (and vets) make the interface and then modify that interface per page, making many html files with mostly identical code. This has many obvious problems, like if you want to update a link, you have to go threw every page and modify it accordingly. Or if you want to add content, you have to remove text, add text, upload, see if it works, modify it again, so on and so on. Annoying. If you want to redo the interface, you have to port old content over to new content. Now, this makes html coding tedious and brain numbingly annoying. The answer that most people come up with to fix it is to quit on their site. But, there's hope. The smart and experienced coders out there who want all pages to have the same interface do something different.

PHP is a fairly simple coding language that has many uses. In this tutorial I am going to teach you how to build a simple interface by using PHP to assemble many html files in to one interface.

What is the up side to this type of site design? Well, if I want to update a link in my navigation menu, instead of going threw all the files and updating it manually, which is tedious and hard, I can open one file, update that file and it's done. This method of design will split the code in to manageable sections, which are called upon in a php file. This allows for you to be able to modify one file, and have the effects be instantly visible to every file that utilizes that file for a function, such as a navigation bar and it's links. It makes things simpler and gives the developer more time to focus on content instead of the site actually working.

*Please note that the server you're using MUST support PHP or this will not work.

1  |  2  |  3  |  4  |  
Next »

No Comments for this page.

You Must be logged in or a member to comment.

Tutorial Stats

Tutorial Stats

2 Total Comments
4 Rating of 5 (6 Votes)


Tutorial Options

· Login to Rate This Article
· Login to Post a Comment
· Read more by this author
Digg This Article! Bookmark This Article Reddit: Bookmark This Article BlinkList: Blink This Article! YahooMyWeb BlogMarks: Add This Mark! Furl: Save This Article Spurl: Mark This Article



· HTML Tutorial
· New windows without using the target attribute
Your Article Here

"" Copyright © 2002-2021; All rights lefted, all lefts righted.
Privacy Policy