是否有客户端+服务器端MVC JS框架 [英] Is there a client+server-side MVC JS framework

查看:92
本文介绍了是否有客户端+服务器端MVC JS框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Node + Express已有一段时间了,我想开始寻找一个强大的结构来构建大型Web应用程序的平均值,但也可以使用(并且不要过于矫kill过正) )以获取简单的网站.

I've been working with Node+Express for a while now, and I'd like to start looking for a strong structure for building average to huge web apps, but which could also be used (and not be too much overkill) for simple websites.

我一直对骨干感兴趣,但是我已经在寻找更完整"的东西.我知道骨干网可以使用正确的插件并尊重最佳实践来做所有事情,但是我一直在寻找的东西从一开始就更强大",例如AngularJS,CanJS或Ember(也许CanJS是最好的折衷方案)灵活性和惯例之间的联系,尽管所有这些大部分都可能是主观的). 即使我必须坚持自以为是的FW,也要确保遵循最佳实践.

I've been taking interest for backbone, but I'm looking for something much more "complete" already. I Know backbone can do everything with the right plugins and by respecting the best practices, but what I'm looking for is something more "strong" as is and from the start, like AngularJS, CanJS or Ember (maybe CanJS is the best compromise between flexibility and conventions althought all of this can be mostly subjective). Just to be sure to keep into the best practices, even if I must stick to an opinionated FW.

现在,在选择任何东西之前,由于我将在后端使用Node(因此使用完整的JS),所以我想知道是否存在一个可以提供客户端+服务器MVC功能的框架,或者是否必须使用后面是Node/Express,前面是其他东西.

Now, before choosing anything, and because I'll be using Node in the backend, so full JS, I'd like to know if there is a framework which would deliver client+server MVC capabilities, or if I must use Node/Express in the back and something else for the front.

其他可能有用的信息,我想在CoffeeScript/LESS中进行编码,并按原样保留HTML(因此不提供类似Jade的东西).如果我要求不高,我想在我的所有项目中使用该技术,这些项目还将手机,网站(肯定),有时甚至是基于Phonegap的应用也作为目标.也许这变得很难(Meteor不支持Phonegap,因为它是我所读内容的客户端部分,也许是Derby?).

Other info that may be useful, I'd like to code in CoffeeScript/LESS, and keep HTML as is (so no Jade-like stuff). If I'm not asking too much, I'd like to use this technology for all of my projects, which will be targeting also mobile phones, as websites (for sure), and sometimes even as Phonegap-based apps. Maybe this becomes hard (Meteor doesn't support Phonegap for it's client-side part for what I've read, maybe Derby ?).

此外,我必须指出,我并不是在问任何主观的问题,例如……之间最好的是什么",而只是询问是否存在完整的客户端+服务器MVC JS框架,如果是,则哪个满足这些需求.

Also, I must point out that I'm not asking anything subjective like "what is the best between ..." but simply if full client+server MVC JS framework exists, and if yes, which ones meets those needs.

推荐答案

  • rendr (具有服务器端支持的骨干)
  • 流星(非常实时)
    • rendr (backbone with server-side support)
    • meteor (very real-time oriented)
    • 这篇关于是否有客户端+服务器端MVC JS框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆