As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center提供指导。




已关闭8年。




我想使用HTML5本地存储,并且一直在研究很多不同的JS框架,例如Backbone,Batman,Underscore。有很多新的JS框架,我不确定要使用哪个框架。

我需要做很多本地存储工作(CRUD),所以我希望使用JS框架为我处理 Activity 记录,关系等。

另外,我要构建的应用程序将具有很多形式,并且在很大程度上依赖于从HTML5表单和JSON对象捕获的输入。

因此,有没有考虑到这一点的好框架?

谢谢

最佳答案

这取决于您要构建的内容。我对ember.js和本地存储的这个lib很满意:https://github.com/emberjs/data
但我敢肯定,您会找到与主干,脊椎, bat 侠等类似的库/插件。

顺便说一句,如果您希望使用本地存储(以及以后使用诸如indexedDB之类的异步方法),则可能需要检查http://brian.io/lawnchair/,它是非常灵活的库,可以与客户端存储选项一起使用。

10-05 20:55
查看更多