In this chapter, I’ve discussed the use of templates over HTTP to retrieve XML data from SQL Server. Templates are probably the most common way to develop Web-based applications that allow users to browse data. When you’re designing a template-based application, you should consider carefully whether style sheets should be processed on the server or the client, remembering that most Internet-based applications use server-side processing. You might also consider building applications that post templates to the server, although this approach can add some security risks.
In the next chapter, I’ll describe how to use annotated schemas to map business documents to database tables.