This looks very interesting, but I have a few comments from the introduction:<p>- Single-page apps offer a more native-app-like experience, but there's no reason they must throw away the advantages of web over app. Almost any conceivable app is going to have different top-level states, and many apps are going to let you access different pieces of content. Support URLs to go directly to those states and to those pieces of content for two reasons: ability to be linked / indexed from outside, and navigability via the browser history. I believe the correct way to look at this is to explicitly think of these top-level states/content, and then look at supporting them in a URL, not the other way around that you suggest ("we probably need to reduce the level of detail that we support in URLs somewhat").<p>- The MVC pattern predates web apps, web sites and the www itself. The thing I always found shocking was that server side apps, not client, used the pattern at all. That said, getting rid of controllers altogether due to the myriad approaches and variants that exist out in the wild is a sensible idea.<p>Many thanks for taking the time to write this book!
Nice one. I printed it to a pdf file to be read later. I would like to know what are other resources to learn about single page web app development? I'm looking for a book/tutorial that can explain it through some example projects. Are there any good books that uses angular.js/backbone.js/ember.js etc to teach single page app development?
I've asked this on StackOverflow but haven't recieved any answers: <a href="http://stackoverflow.com/questions/12949835/adsense-on-history-pushstate-enabled-page" rel="nofollow">http://stackoverflow.com/questions/12949835/adsense-on-histo...</a><p>So does anyone here know how to deal with this (using adsense on single page apps)?<p>As for the book, I've read the first intro chapter and it looks promising, will definitely read it later.
What are the top single page apps that you have?<p>One close to this implementation that caught my eye this week for its design is <a href="http://deploybutton.com/" rel="nofollow">http://deploybutton.com/</a>
Previous submission & discussion:<p><a href="http://news.ycombinator.com/item?id=4172837" rel="nofollow">http://news.ycombinator.com/item?id=4172837</a><p>(How comes it's the same URL and it didn't get detected as a duplicate?)