My favorites | Sign in
Project Logo
                
People details
Project owners:
  gabriel.d
Templation is a template framework for content-based websites. Unlike RAD environments and MVC frameworks which are all the rage these days, Templation operates under a much simpler content-oriented paradigm--the traditional HTML file in a web server directory.

Although it is written (and extensible) in PHP, Templation is essentially a nuts and bolts HTML tool. The core idea was to provide a more flexible way to remove repetitive code from HTML sites. Rather than a rigid templating system like Dreamweaver templates, or a brittle system of SSI or PHP includes, or an application-oriented framework, Templation operates on two incredibly simple but profound ideas.

1. It's more natural for a site to be defined by one or more templates which have content areas that are 'filled in' by individual pages, rather than have individual pages be responsible for calling in headers and footers and other shared elements.
2. The directory structure of a site holds a lot of implicit information about the site. For instance, all the html files in a given directory tend to be more alike and share more common elements than html files found in different directories. By creating hooks to control the construction of HTML documents based on the directories they are in, we can almost completely remove HTML redundancy from any site without sacrificing flexibility.

Templation was developed to solve real-world problems rather than based on a grand vision. As a result it's unlike anything else out there. Give it a try and let me know what you think.












Hosted by Google Code