Skip to main content

A Design Pattern to Decouple Data from Markup

  • Conference paper
E-Commerce and Web Technologies (EC-Web 2011)

Part of the book series: Lecture Notes in Business Information Processing ((LNBIP,volume 85))

Included in the following conference series:

Abstract

Modern web applications have steadily increased in richness and complexity, and they put significant demands on system resources such as server CPU, memory and most importantly the network bandwidth. When seen at Internet scale, a tiny wastage in a resource can translate into a huge loss. For instance, we will show that youtube.com homepage can potentially save up to 4500 GB worth of bandwidth every day! It is, therefore, important for the application designers to: 1) identify what opportunities exist for improvement and 2) ensure that computing resources are efficiently utilized.

We present the results of an extensive investigation of how the useful information is distributed across various HTML tags and their attributes inside the served HTML pages taken from a large number of dynamic public websites. Our findings show that the useful information is often restricted to only a handful of the tags and attributes. We systematically explore the efficiency differences between various classes of frameworks that are used for developing modern web applications. Leveraging our findings, we propose a technique which decouples the view’s markup and data thus allowing them to travel separately and only on demand. This improves the web application efficiency; for instance our experiments show that this approach increased the throughput by a factor of about 7.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Alexa Inc. Alexa - top sites by category: Shopping, http://www.alexa.com/topsites/category/Top/Shopping (retrieved: March 2011)

  2. Alexa Inc. About the alexa traffic rankings. http://www.alexa.com/help/traffic-learn-more (retrieved: March 2011)

  3. Lin, Q.Z.Z., Wu, J., Zhou, H.: Research on web applications using ajax new technologies. In: MMID 2008, pp. 139–142 (December 2008)

    Google Scholar 

  4. Paulson, L.D.: Building rich web applications with ajax. IEEE Computer 38(10), 14–17 (2005)

    Article  Google Scholar 

  5. Json, D.C.: The fat-free alternative to xml (January 2011), http://www.json.org/fatfree.html

  6. Google Inc. Google web toolkit developer guide (January 2011), http://code.google.com/webtoolkit/doc/1.6/DevGuide.html

  7. Microsoft Inc. Microsoft silverlight reference documentation (January 2011), http://msdn.microsoft.com/en-us/library/cc838158%28VS.95%29.aspx

  8. Apache Software Foundation. Apache struts developer guide (March 2010), http://struts.apache.org/2.1.8/docs/guides.html

  9. Ruby on Rails Foundation. Ruby on rails developer guide (March 2010), http://guides.rubyonrails.org

  10. Zend. Php zend framework manual (January 2011), http://framework.zend.com/manual/en/

  11. Sun Microsystem. Java server faces (jsf) reference documentation (January 2011), http://java.sun.com/javaee/javaserverfaces/reference/docs/index.html

  12. Microsoft Inc. Microsoft asp.net reference documentation (2011), http://msdn.microsoft.com/en-us/library/dd394709%28VS.100%29.aspx

  13. Gross, C.: Ajax Patterns And Best Practices, ch.3. Dreamtech Press (2007)

    Google Scholar 

  14. JQuery. Jquery documentation, http://docs.jquery.com/Main_Page (retrieved: January 2011)

  15. The Dojo Foundation. Dojo toolkit guide (March 2011), http://dojotoolkit.org/reference-guide/

  16. Yahoo Inc. Yui library manual (March 2010), http://developer.yahoo.com/yui/

  17. The Apache Software Foundation. Apache jmeter (March 2010), http://jakarta.apache.org/jmeter/index.html

  18. Microsoft TechNet. Windows sysinternals - process explorer v12.03 (February 2011), http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

  19. YourKit LLC. Yourkit profiler 5 for .net (March 2010), http://www.yourkit.com/.net/profiler/index.jsp

  20. Alexa Inc. Youtube.com site info., http://www.alexa.com/siteinfo/youtube.com (retrieved: March 2011)

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Sodhi, B., Prabhakar, T.V. (2011). A Design Pattern to Decouple Data from Markup. In: Huemer, C., Setzer, T. (eds) E-Commerce and Web Technologies. EC-Web 2011. Lecture Notes in Business Information Processing, vol 85. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-23014-1_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-23014-1_3

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-23013-4

  • Online ISBN: 978-3-642-23014-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics