Vue.js 的一些资源索引

Vue.js 是刚出来的一个轻型的 MVVM 框架, 借鉴了现有的各种框架,
官网 http://vuejs.org/
Github https://github.com/yyx990803/vue

作者个人网站挺漂亮的 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/

文档主要是在官网上, 非常清晰, 目前还是比较简短的
另外在"前端乱炖"上作者通过专栏更新了不少的教程, 中文的哦:
http://www.html-js.com/article/user/1152

按文档说的, Vue 只是一个用来组合的前端模块, 不是完整的框架,
但也提到 Router 和 Resource 层的模块在计划中
作者比较推荐 Component 这种管理前端模块的方式
而 Vue 其实提供了多种前端模块化方式的支持

TodoMVC 上更新了 Vue 写的 Todo 的例子,
加上注释 130+sloc , 双向绑定, 直接的 JS Object 操作, 比较清晰
https://github.com/tastejs/todomvc/pull/825
http://todomvc.com/labs/architecture-examples/vue/
这里提到了和 Ractive 的区别, 概括得比较好:

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.

Hacker News 和 Reddit 上的讨论比较少,, 其中一句话让我想到 Backbone:
https://news.ycombinator.com/item?id=7169288

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.

Vue 目前的版本是 0.8.6 , 计划中 0.9 会增强动画, 后边还有一些
看 Roadmap: https://github.com/yyx990803/vue/issues/78


返回博客首页: http://blog.tiye.me

你可能感兴趣的:(javascript,前端,mvvm)