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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

What has AngularJS ever done for us?

21 点作者 xvirk超过 10 年前

7 条评论

kagamine超过 10 年前
I'll tell what the Romans didn't give us, they didn't give us decent documentation, that's what!
JonnieCache超过 10 年前
Rails had the same civilising effect, and the same mild backlash when people eventually grew out of it.<p>Heavy but well thought out frameworks, we salute you! (Even if we don&#x27;t use you for new projects anymore.)
kagamine超过 10 年前
Angular is not a framework, it&#x27;s a very naughty boy. Now piss off. (Actual quote from Sergey Brin)
评论 #8952009 未加载
评论 #8952543 未加载
carsongross超过 10 年前
Single page apps are the problem. Angular made a bad idea more achievable. For this it deserves blame, not praise.<p>Everything else falls out from that: if you don&#x27;t try to pull off a gigantic SPA, you don&#x27;t need all the rest of the crap on the client side because your given unit of UI is much smaller than the entire app.<p>People will eventually look at angular the way they look at J2EE. &quot;Great community support, corporate standard, lots of documentation, no one ever got fired...&quot;
评论 #8957363 未加载
jokecamp超过 10 年前
Author here. I do like AngularJS but I believe you can swap &quot;the Romans&quot; for many different languages and frameworks. Sort of a tools versus getting things done argument.
jbob2000超过 10 年前
You can get great dependency injection with steal.js <a href="http://stealjs.com/" rel="nofollow">http:&#x2F;&#x2F;stealjs.com&#x2F;</a><p>CanJS <a href="http://canjs.com/" rel="nofollow">http:&#x2F;&#x2F;canjs.com&#x2F;</a> can do single page apps, data-binding, and is modular, though it takes a little more configuration than Angular. You might appreciate its ability to be configured though.<p>You don&#x27;t need Angular and all its troubles!
thenerdfiles超过 10 年前
Dependency Injection and Modularity are not the same thing. Modularity implies swappability, whereas Angular typically involves a &quot;controllers space&quot; or silo&#x27;d services.<p>AngularAMD is interesting. It&#x27;s really nice to load jQuery on a per-route basis, where I can isolate module dependencies and generally think of plugins to my applications from an external perspective. RequireJS facilitates an ecosystem where plugins AND modules exist side by side. AngularJS doesn&#x27;t account for <i>plugins</i> (and &quot;pages&quot; are interesting combinations of modules and plugins which also can sit on the same level), which sit on the same level as modules.