TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Single page apps in depth (new free book)

151 点作者 EzGraphs超过 12 年前

9 条评论

Jare超过 12 年前
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 未加载
mixu超过 12 年前
(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.
anujkk超过 12 年前
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?
CWIZO超过 12 年前
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 未加载
mise超过 12 年前
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 未加载
brador超过 12 年前
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_tuerto超过 12 年前
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?)
2color超过 12 年前
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?
mattrandle超过 12 年前
Was reading this earlier in the week. Very well written. Cut and pasted a few sentences into my quotes evernote.