RELATED SEARCHES
Sponsored Dynamic Template Results:
Dynamic Templates
By:
Published: November 1, 2006
Web publishers use templates to create documents where the content of a document is separated from its presentation. Well-maintained Web sites update information on a regular basis.
A template is similar to cookie-cutter design, where developers can buy pre-designed templates to use for their own Web pages or documents.
This provides an automated standard with which the Web publisher can work. Above all else, this maintains a cohesive and consistent appearance in the Web page.
Developers have two options when it comes to updating their Web pages. The first option is to use static Web templates, which are pure HTML code. In navigating static Web pages, it is easy to see why they are called static; they are just files of HTML, unlike interactive dynamic templates.
However, for the Web developer wanting a more active and vibrant site, there is the second option, dynamic templates. Dynamic templates may be generated in one of two ways. One option is through server-side scripting, which sends document requests through a server interpreting the request using a scripting language. It then sends the dynamically generated document as an HTML code. The second model is the client-side model, which retrieves the page as is before displaying the document on the browser.
Server-Side Scripting
When a browser requests a server-side HTML document, it (the request) is sent to the server as a set of instructions. These instructions tell the server to generate HTML documents and then send the results to the Web browser. The HTML is dynamically generated on request. Sometimes, when the pages are more complicated, the server must access special programs called scripts. These collect data and form the dynamic template content.
There are multiple advantages of server-side scripting. For example, server-side scripting makes for faster download times since the server does all the work. When the browser bears the burden of generating dynamic templates, the results tend to be slower. Another reason why server-side scripting is preferable is that a wider variety of browsers are more likely to support it. This is especially good news for older browsers. One drawback to server-side scripting is that it can put a strain on older browsers, especially when high-traffic is involved.
Client-Side Scripting
When a user requests a client-side dynamic template, HTML code and a file containing a set of instructions (some of which also contain HTML code) are sent to the browser which then generates pure HTML document and displays it on the browser. Although the content is purely HTML like static documents, it is dynamically processed as per request of the user.
One of the few advantages of the client-side model is the fact that there is more access to the information and functions on the user's computer. But there are quite a few disadvantages to client-side scripting, and, as a result, it has fallen out of favor with many Web developers.
Not all browsers are can understand, and therefore support, client-sided templates' scripting language. Unlike the server-side model, which can be supported regardless of system details, the client-side must be written in only certain types of scripting language. Furthermore, the scripting language may be inconsistently displayed among different browsers.
Sources:
Client-Side Scripting. 1 February 2006. Wikipedia. 1 November 2006. http://en.wikipedia.org/wiki/client-side_scripting /
Dynamic Web Page. 22 October 2006. Wikipedia. 1 November 2006. http://en.wikipedia.org/wiki/_dynamic_web_page/
Getting Started with ASP.net. Oleg Gdalevich. 1 November 2006. http://vbip.com/books/
Server-Side Scripting. 1 October 2006. Wikipedia. 1 November 2006. http://en.wikipedia.org/wiki/server_side_scripting /
A template is similar to cookie-cutter design, where developers can buy pre-designed templates to use for their own Web pages or documents.
Related Articles
Developers have two options when it comes to updating their Web pages. The first option is to use static Web templates, which are pure HTML code. In navigating static Web pages, it is easy to see why they are called static; they are just files of HTML, unlike interactive dynamic templates.
However, for the Web developer wanting a more active and vibrant site, there is the second option, dynamic templates. Dynamic templates may be generated in one of two ways. One option is through server-side scripting, which sends document requests through a server interpreting the request using a scripting language. It then sends the dynamically generated document as an HTML code. The second model is the client-side model, which retrieves the page as is before displaying the document on the browser.
Server-Side Scripting
When a browser requests a server-side HTML document, it (the request) is sent to the server as a set of instructions. These instructions tell the server to generate HTML documents and then send the results to the Web browser. The HTML is dynamically generated on request. Sometimes, when the pages are more complicated, the server must access special programs called scripts. These collect data and form the dynamic template content.
There are multiple advantages of server-side scripting. For example, server-side scripting makes for faster download times since the server does all the work. When the browser bears the burden of generating dynamic templates, the results tend to be slower. Another reason why server-side scripting is preferable is that a wider variety of browsers are more likely to support it. This is especially good news for older browsers. One drawback to server-side scripting is that it can put a strain on older browsers, especially when high-traffic is involved.
Client-Side Scripting
When a user requests a client-side dynamic template, HTML code and a file containing a set of instructions (some of which also contain HTML code) are sent to the browser which then generates pure HTML document and displays it on the browser. Although the content is purely HTML like static documents, it is dynamically processed as per request of the user.
One of the few advantages of the client-side model is the fact that there is more access to the information and functions on the user's computer. But there are quite a few disadvantages to client-side scripting, and, as a result, it has fallen out of favor with many Web developers.
Not all browsers are can understand, and therefore support, client-sided templates' scripting language. Unlike the server-side model, which can be supported regardless of system details, the client-side must be written in only certain types of scripting language. Furthermore, the scripting language may be inconsistently displayed among different browsers.
Sources:
Client-Side Scripting. 1 February 2006. Wikipedia. 1 November 2006. http://en.wikipedia.org/wiki/client-side_scripting /
Dynamic Web Page. 22 October 2006. Wikipedia. 1 November 2006. http://en.wikipedia.org/wiki/_dynamic_web_page/
Getting Started with ASP.net. Oleg Gdalevich. 1 November 2006. http://vbip.com/books/
Server-Side Scripting. 1 October 2006. Wikipedia. 1 November 2006. http://en.wikipedia.org/wiki/server_side_scripting /