Tuesday, May 8, 2012

Converting site to AJAX transitions between pages (aka full page AJAX)

We have pretty standard web-site and I got a task to convert links between pages to AJAX calls, but maintain direct links (from search engines, for example) working too.

My goals:

  • Leave direct links working as before (and hash fallback for old IE), smooth transition from arriving by direct link and futher browsing using AJAX

  • Implement some "garbage collection" (DOM of previously viewed pages, script handlers etc)

I've seen something similar in jQuery Mobile, but I'm looking for more general solution to get inspiration (or borrow code) from :)

No comments:

Post a Comment