Dynamic web pages usually abide of a changeless allotment (HTML) and a activating part, which is cipher that generates HTML. The cipher that generates the HTML can do this based on variables in a template, or on code. The argument to be generated can appear from a database, thereby authoritative it accessible to badly abate the cardinal of pages in a site.
Consider the archetype of a absolute acreage abettor with 500 houses for sale. In a changeless web site, the abettor would accept to actualize 500 web pages in adjustment to accomplish the advice available. In a activating website, the abettor could potentially affix a distinct activating web folio to a database table of 500 records.
In a template, variables from the programming accent can be amid after application code, thereby accident the claim of programming ability to accomplish updates to the pages in a web site. A syntax is fabricated accessible to analyze amid HTML and variables. E.g. in JSP the tag is acclimated to achievement variables, and in Smarty, {$variable} is used.
Many arrangement engines do abutment bound argumentation tags, like IF and FOREACH. These are to be acclimated alone for decisions that charge to be fabricated for the presentation layer, in adjustment to accumulate a apple-pie break from the business argumentation layer, or the M(odel) in the MVC pattern.
Consider the archetype of a absolute acreage abettor with 500 houses for sale. In a changeless web site, the abettor would accept to actualize 500 web pages in adjustment to accomplish the advice available. In a activating website, the abettor could potentially affix a distinct activating web folio to a database table of 500 records.
In a template, variables from the programming accent can be amid after application code, thereby accident the claim of programming ability to accomplish updates to the pages in a web site. A syntax is fabricated accessible to analyze amid HTML and variables. E.g. in JSP the tag is acclimated to achievement variables, and in Smarty, {$variable} is used.
Many arrangement engines do abutment bound argumentation tags, like IF and FOREACH. These are to be acclimated alone for decisions that charge to be fabricated for the presentation layer, in adjustment to accumulate a apple-pie break from the business argumentation layer, or the M(odel) in the MVC pattern.
No comments:
Post a Comment