Webmax Solutions : Home » Article  »Web Design

Web template system

Dynamic web pages usually consist of a static part (HTML) and a dynamic part, which is code that generates HTML. The code that generates the HTML can do this based on variables in a template, or on code. The text to be generated can come from a database, thereby making it possible to dramatically reduce the number of pages in a site.

Consider the example of a real estate agent with 500 houses for sale. In a static web site, the agent would have to create 500 pages in order to make the information available. In a dynamic website, the agent would simply connect the dynamic page to a database table of 500 records.

In a template, variables from the programming language can be inserted without using code, thereby losing the requirement of programming knowledge to make updates to the pages in a web site. A syntax is made available to distinguish between HTML and variables. E.g. in JSP the tag is used to output variables, and in Smarty, {$variable} is used.

Many template engines do support limited logic tags, like IF and FOREACH. These are to be used only for decisions that need to be made for the presentation layer, in order to keep a clean separation from the business logic layer, or the M(odel) in the MVC pattern.

Articles
       
Outsource Web Design Company India
       
Please Install Flash Player
Download from here
       
Request a Call Back
       
       
Testimonials
"I would like to recommend Webmax Solutions to anyone interested in Website Designing, Web Development, E-commerce Solutions, Web Application Development and Search engine Optimization work.      more...
       
       
Why Us?
  • We listen, provide fix prices & no surprises.
  • Helping small to large companies.
  • Proven methodology and success.
  • Service, dedication and experience.
  • Transparent approach and long term service.
  • Affordable prices.
  • Exceptional quality and flexibility.