I am trying to build a site with JQM, JQuery, PHP and MYSQL. The idea is to use ajax to pull information from the database to insert it on the page. My only issue is that I am not sure how to implement the ajax in a way that makes it easy to bookmark pages and go back (to the last page) on the JQM site. I was thinking to use pushstate but am not sure on how to implement it. Can anyone point me to a tutorial on how to do this effectively or if they can put up some example code.
Here’s a good way - using fragment urls https://developers.google.com/webmasters/ajax-crawling/docs/getting-started