On Jan 18, 2011, at 8:52 AM, Kurt Wendt wrote:

> Let's say - the left column has the menu. And, then the right column of
> the Table has the main content. But, does this mean that for EVERY page
> of content - there is also the left column Menu? And, therefore Every
> webpage has the same content repeated - like the left side menu, the
> Gallery logo at the top, and even Footer stuff at the bottom! Am I right
> - or am I missing something?

        Most web frameworks use some sort of templating system to create the 
pages, rather than create each page individually. Look at leafe.com or 
dabodev.com: both use a main template that contains the header, the navigation, 
the design elements, etc. Then each page only has to define the content that is 
unique to it. The templating system merges the master template with the page 
content when the request is made, and returns that to the web browser.

        The big advantage is that if you need to change the look and feel of 
the entire website, you only have one file to edit: the master template. You 
can see more info about how this works in the templating system I use (Mako) 
here: http://www.makotemplates.org/docs/inheritance.html



-- Ed Leafe




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to