Tuesday, March 29, 2005

Separation of Content and Others

A recent project made me think seriously about separating content from layout, style and behavior. A page should be divided into:
  • Content: the text
  • Layout: columns, banners, menus and their positioning, etc.
  • Style: font, size, color, etc.
  • Behaivor: anything involving JavaScript
Content is updated most often by people who don't have need to have any knowledge of HTML, design or JavaScript. Layout and Style are usually done by web designers who are good at CSS. Behavior is usually done by a real techie. The seperation makes it easy to evolve the 4 parts independently.

Other discussion of the same topic:

0 Comments:

Post a Comment

<< Home