Vue.js 的一些資源索引

Vue.js 是剛出來的一個輕型的 MVVM 框架, 借鑑了現有的各類框架,
官網 http://vuejs.org/
Github https://github.com/yyx990803/vuehtml

做者我的網站挺漂亮的 http://evanyou.me/
做者微博 @尤小右 http://weibo.com/arttechdesign
做者是 Google 員工, 目前 Vue 已經在 Google Creative Lab 一些項目嘗試前端

按 Commits 去年 8 月已經開始了項目:
https://github.com/yyx990803/vue/graphs/contributors
項目主頁是今年 2 月上線的, 做者記錄了上線一週的狀況:
http://blog.evanyou.me/2014/02/11/first-week-of-launching-an-oss-project/vue

文檔主要是在官網上, 很是清晰, 目前仍是比較簡短的
另外在"前端亂燉"上做者經過專欄更新了很多的教程, 中文的哦:
http://www.html-js.com/article/user/1152git

按文檔說的, Vue 只是一個用來組合的前端模塊, 不是完整的框架,
但也提到 Router 和 Resource 層的模塊在計劃中
做者比較推薦 Component 這種管理前端模塊的方式
而 Vue 其實提供了多種前端模塊化方式的支持github

TodoMVC 上更新了 Vue 寫的 Todo 的例子,
加上註釋 130+sloc , 雙向綁定, 直接的 JS Object 操做, 比較清晰
https://github.com/tastejs/todomvc/pull/825
http://todomvc.com/labs/architecture-examples/vue/
這裏提到了和 Ractive 的區別, 歸納得比較好:ajax

AngularJS was too heavy and intrusive for that purpose; Backbone simply doesn't offer much help in the view layer. Ractive.js was a valid choice, but it wasn't composable and we do like Anguler's POJO models. The result is Vue.js, which is simpler, faster, uses POJO by default, and offers composable ViewModels.segmentfault

Hacker News 和 Reddit 上的討論比較少,, 其中一句話讓我想到 Backbone:
https://news.ycombinator.com/item?id=7169288mvc

It also does not include routing/ajax/REST resource parts and focuses on the interface only. It is designed to be module ecosystem friendly (e.g. Component/Browserify) so you can easily leverage other libraries to fill in the missing pieces.框架

快速入門點擊這裏http://segmentfault.com/a/1190000003968020
dom

相關文章
相關標籤/搜索