ACM Home Page
Please provide us with feedback. Feedback
HTML templates that fly: a template engine approach to automated offloading from server to client
Full text PdfPdf (972 KB)
Source
International World Wide Web Conference archive
Proceedings of the 18th international conference on World wide web table of contents
Madrid, Spain
SESSION: Web engineering/session: client side web engineering table of contents
Pages 951-960  
Year of Publication: 2009
ISBN:978-1-60558-487-4
Authors
Michiaki Tatsubori  IBM Research, Tokyo Research Laboratory, Yamato, Kanagawa, Japan
Toyotaro Suzumura  IBM Research, Tokyo Research Laboratory, Yamato, Kanagawa, Japan
Sponsor
ACM: Association for Computing Machinery
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 25,   Downloads (12 Months): 119,   Citation Count: 1
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1526709.1526837
What is a DOI?

ABSTRACT

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 modifications 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.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
2
 
3
Ashley IT Services Inc. RSLite demo. http://www.ashleyit.com/rs/rslite/.
 
4
H. Bottger, A. Møller, and M. I. Schwartzbach. Contracts for cooperation between Web service programmers and HTML designers. Journal of Web Engineering, 5(1):65--89, 2006.
 
5
6
 
7
 
8
Document Object Model (DOM) level 3 core specification version 1.0. W3C Recommendation 07 April 2004, http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/.
 
9
10
 
11
F. J. Garcia, R. I. Castanedo, and A. A. J. Fuente. A double-model approach to achieve effective model-view separation in template based web applications. In Proceedings of ICWE 2007, 7th International Conference on Web Engineering, Como, Italy, July 16--20, 2007, LNCS 4607, pages 442--456. Springer, 2007.
 
12
J. J. Garrett. Ajax: A new approach to web applications, February 2005. http://adaptivepath.com/ideas/essays/archives/000385.php.
 
13
 
14
A vocabulary and associated APIs for HTML and XHTML, 2008. W3C Working Draft 10 June 2008, http://www.w3.org/TR/2008/WD-html5-20080610/.
 
15
Hypertext Transfer Protocol -- HTTP/1.1, 1999. RFC 2616. The application/json media type for JavaScript object notation (JSON), July 1999,2006. RFC 4627.
16
 
17
 
18
New Digital Group, Inc. Smarty: Template engine. http://www.smarty.net/.
19
 
20
PHP: Hypertext preprocessor. http://php.net/.
 
21
Standard Performance Evaluation Corporation. SPECWeb2005, 2005. http://www.spec.org/web2005/.
 
22
 
23
24
 
25
 
26
The XMLHttpRequest object. W3C Working Draft 15 April 2008, http://www.w3.org/TR/2008/WD-XMLHttpRequest-20080415/.
27
28


Collaborative Colleagues:
Michiaki Tatsubori: colleagues
Toyotaro Suzumura: colleagues