June 26, 2009
6:01 am

This post expands on the handling of hit determination and merging server and local changes of cache pattern, which’s design pattern for building an offline-capable web application. It’s implemented to make Gmail for Mobile tolerant of flaky wireless connections but the approach is generally applicable. Here's how it works. Consider a typical AJAX application. As shown in the diagram, we have a web application with a local model, view and controllers. The user interacts with theapplication and the controller dispatches XmlHttpRequests (XHRs for short) to the server. The server sends asynchronous requests to the application which it inserts into the model.

Full ArticleCode Blog

Loading

Contextual Related Posts:

No followup yet

Leave a Response

Comment Preview
« Data Driven Discussions: Advanced Segmentation in Google AnalyticsGoogle Export Advisor: Highlights potential of internation advertising »
Feed Icon

Subscribe via RSS or email: