TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Single page apps in depth (new free book)

151 pointsby EzGraphsover 12 years ago

9 comments

Jareover 12 years ago
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!
评论 #4679064 未加载
mixuover 12 years ago
(author here) - if you're at YC's startup school today and have questions, come talk to me. I've got a yellow tshirt and look like my Github pic.
anujkkover 12 years ago
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?
CWIZOover 12 years ago
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.
评论 #4678900 未加载
miseover 12 years ago
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>
评论 #4678996 未加载
bradorover 12 years ago
What methods are used for getting traffic to single page apps? I'm guessing search engines don't send much traffic.
评论 #4678889 未加载
评论 #4678029 未加载
评论 #4678025 未加载
lobo_tuertoover 12 years ago
Previous submission &#38; 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?)
2colorover 12 years ago
Many thanks, what a great resource.<p>I saw that there is a big focus on modularity, how come there is no talk about why use the commonJS and not AMD?
mattrandleover 12 years ago
Was reading this earlier in the week. Very well written. Cut and pasted a few sentences into my quotes evernote.