96 7 archive disk0/00/00/00/96 2009-04-06 19:11:31 2009-04-23 02:02:54 2009-04-06 19:11:31 conference_item show 0 Tatsubori Michiaki IBM Research, Tokyo Research Laboratory Suzumura Toyotaro IBM Research, Tokyo Research Laboratory Web Engineering HTML Templates that Fly: A Template Engine Approach to Automated Off-loading from Server to Client pub public paper Web applications often use HTML templates to separate the webpage presentation from its underlying business logic and objects. This is now the de facto standard programming model for Web application development. This paper proposes a novel implementation for existing server-side template engines, FlyingTemplate, for (a) reduced bandwidth consumption in Web application servers, and (b) off-loading HTML generation tasks to Web clients. Instead of producing a fully-generated HTML page, the proposed template engine produces a skeletal script which includes only the dynamic values of the template parameters and the bootstrap code that runs on a Web browser at the client side. It retrieves a client-side template engine and the payload templates separately. With the goals of efficiency, implementation transparency, security, and standards compliance in mind, we developed FlyingTemplate with two design principles: effective browser cache usage, and reasonable compromises which restrict the template usage patterns and relax the security policies slightly but in a controllable way. This approach allows typical template-based Web applications to run effectively with FlyingTemplate. As an experiment, we tested the SPECweb2005 banking application using FlyingTemplate without any other modiļ¬cations and saw throughput improvements from 1.6x to 2.0x in its best mode. In addition, FlyingTemplate can enforce compliance with a simple security policy, thus addressing the security problems of client-server partitioning in the Web environment. 2009-04 951-951 18th International World Wide Web Conference Madrid, Spain April 20th-24th, 2009 conference TRUE 96 4 96 1 application/pdf en public
p951.pdf
published p951.pdf 972046 http://www2009.eprints.org/96/1/p951.pdf
259 3 96 2 application/vnd.ms-powerpoint en public
www2009template_20090423..ppt
presentation www2009template_20090423..ppt 625152 http://www2009.eprints.org/96/2/www2009template_20090423..ppt