Summary

To build a data-driven presentation, you have two options. First, you download data asynchronously to the client and then parse it to create some application-specific HTML presentation. Second, you generate the user interface on the server and then serve it up to the client. In the latter case, the presentation is extremely thin and simple.

Two popular AJAX patterns have been developed to illustrate these scenarios: the Browser-Side Template pattern and the HTML Message pattern. The BST pattern is generally faster and moves less data over the wire. On the other hand, BST requires more programming work and ideally some tools and frameworks that as yet only partially exist. ASP.NET AJAX 4.0 seems to be leaning in this direction with its ...

Get Microsoft® ASP.NET and AJAX: Architecting Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.