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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Javascript Framework Popularity graphed by Github Archive

41 点作者 kalv将近 12 年前

4 条评论

WickyNilliams将近 12 年前
It's a damn shame that knockout.js [1] receives so little attention. Both in terms of not being included in the article, and if it had been included it would look quite poor next to the others (currently "only" 3750 stars). But it's a great framework and for some reason it's often overlooked in spite of other lesser libraries (e.g. spine, if we use the github stars metric)<p>First and foremost, it has excellent documentation. Everything is explained clearly on the site, and it's got a great interactive tutorial [2]. Contrast this to everybody (myself included!) moaning about the angular, ember docs etc.<p>Besides that, it's got <i>deep</i> browser support (all the way back to IE6!), two-way data-binding, plus it's intuitive and simple. In fact, combined with the excellent docs, I'd wager any competent dev could have the gist of knockout and be quite productive within an hour. It is also extremely easy to extend if you wish to plugin external functionality. Which leads to the final point - it plays well with other libraries that you're probably familiar with. e.g. I usually pair with Zepto, jQuery and/or AmplifyJS.<p>In the interest of being balanced, I must say it does have some bad points. The main thing for me is lack of architectural guidance. Nowhere is it explained the best practices for structuring apps. Nor is there any guidance on unit testing. You can, of course, work out all these things yourself, but why must the same problem be solved over and over? Set some conventions and be done with it! That said, there's a framework of sorts being built on top of knockout called Durandal [3] that aims to solve some of these problems. I've not used it yet, but it looks very neat. Also you'd be remiss not to check out Ryan Niemeyer's website [4] for lots of guidance and useful plugins (he's one of the core contributors I believe)<p>[1] <a href="http://knockoutjs.com/" rel="nofollow">http://knockoutjs.com/</a> [2] <a href="http://learn.knockoutjs.com/" rel="nofollow">http://learn.knockoutjs.com/</a> [3] <a href="http://durandaljs.com/" rel="nofollow">http://durandaljs.com/</a> [4] <a href="http://www.knockmeout.net/" rel="nofollow">http://www.knockmeout.net/</a>
评论 #5794724 未加载
评论 #5795112 未加载
评论 #5794745 未加载
评论 #5795258 未加载
评论 #5795327 未加载
评论 #5795336 未加载
drinchev将近 12 年前
I'm a big fan of Backbone. I'm used to do most of the scripting by myself and I don't like to mess my html data-attributes with javascript libraries. Also the source code is pure and self-explainatory, supports underscore and is used to be paired with CoffeeScript. Because of that, I'm pretty fast and flexible.
评论 #5796007 未加载
ojr将近 12 年前
Google Search Trends between Javascript MV* Frameworks: <a href="http://goo.gl/ONZwe" rel="nofollow">http://goo.gl/ONZwe</a>
评论 #5794728 未加载
cllns将近 12 年前
I wish there was also a (stacked) percent graph, to show relative growths.