开源项目 volt 框架是搞什么名堂?

jiyinyiyong · 2014年09月15日 · 最后由 saillee 回复于 2015年01月29日 · 3414 次阅读

https://github.com/voltrb/volt

A ruby web framework where your ruby runs on both server and client

Volt is a ruby web framework where your ruby code runs on both the server and the client (via opal.) The DOM automatically update as the user interacts with the page. Page state can be stored in the URL, if the user hits a URL directly, the HTML will first be rendered on the server for faster load times and easier indexing by search engines.

看表述上是连 React 的 DOM 更新的都学去了,但是怎么看怎么怪,有人看过吗?

只是大概扫了一下,没仔细看。我觉得虽然很 cool,但长期发展下去不是个好主意。因为所有试图去代替目标语言的做法都不能长久,对于 Ruby 编译成 JavaScript 我持悲观态度,以前的 RJS 如此,现在的 Opal 也如此。

不是 Ruby 版的 Meteor 吗

Volt 和 Meteor 的确很酷,但现在的功能感觉只能用在 toy project,尤其是数据库方面。我做的是 mis 开发,面向的都是 Oracle,而现在 Volt、Meteor 只支持 Mongo,所以数据库方面 Volt 还是软肋。

需要 登录 后方可回复, 如果你还没有账号请 注册新账号