There are different ways to make pages, like there is
different languages. Php, asp, html... are all used to
make WebPages. Some are used to make static sites where
pages are not generated on the fly, and some, like php,
are used to make the pages from a template and a
Database. Big sites are usually made using php for a
Linux hosted site and asp is used on windows servers.
The code you decide to use will determine the hosting
you will need, and this has to be planned properly.
A page is made of different components, a header, a
footer, the content and usually a side column for
announcements or the menu system. The content will be
different on every pages, but some parts like the
navigation menu will be the same on all pages. If the
site has 25 pages, adding a new page means the menu has
to change on all existing 25 pages to add the new
document in the navigation. To make this easy, a file
containing the menu system is inserted in the page using
a SSI (Server Side Include) command. This allows you to
change just the menu file to have the changes applied to
al pages of the site.The way a page look is also
something that you'd like to control like the menu
system, using a style sheet. The style sheet contains
information about the settings for different components
used to create a webpage. For example, you can define
how the <h1> tag will look on all pages of the site, or
just a section, using a CSS (Custom Style Sheet) file
and defining the colors, font, font-size... in that
file. If for some reason, you need to change the color
of an item, you just modify it in the style sheet, and
it's reflected on all the pages using it.
So before you start making Webpages, you have to
prepare properly. If all headers are the same, you can
use SSI to include the header in the page, just like for
the menu system. If you want to make the site from a
Database, you have to decide what language you will use
to pick the right hosting. Once you have decided, you
can start making your pages. |