js framework comparation
starting a new project:(finance project for p2p -- like lending club, or prosper ) ,we considering a js framework framework to help fast developing .
most important part for us is:
- support mongodb
- rest is well intergrated , and support a standard rest format , like parse.com
- kind of fullstack
strongloop | sailsjs | mean.io | totaljs | meteor | |
rest | Y | Y | N | Y | Y |
security control | Y | Y | Y | Y | |
socket.io | N | Y | N | Y | Y |
db | mongodb MySQL SQLServer ... | mongodb MySQL SQLServer ... | mongodb | mongodb | |
mongoose | N | Y | Y | Y | |
ORM | Y | Y | Y | Y | |
package manager | N | N | Y | N | |
easy(1-3)1最易 | 1 | 2 | 1 | 3 | |
社区热度(1-3)1最热 | 1 | 3 | 3 | 2 | 5 |
文档(1-3)1最齐 | 1 | 2 | 3 | 2 | 3 |
架构: | express | express | mongo+express+angular+nodejs | angular | |
ACL : | |||||
mongodb native : | N | Y | Y | ||
deploy 流程 : | |||||
unit test : | mocha | mocha | mocha | ||
schema : | |||||
脱离架构环境连接db : | |||||
定时任务 : | |||||
事件监听 : | |||||
优点: | 简单 | 配置的安全控制,比较方便 | mvc 方式跟现在的使用差不多 | cache | |
acl 很细 | 简单配置抵御大部分常见攻击:CORS Clickjacking DDOS XSS ... | 提供一个写package的模块:比较方便的写模块的router handler | |||
rest api与parse.com 一致 | |||||
集成监控api的使用情况、 QoS、oAuth 2.0 、3rd-party login | |||||
Native Mobile and Browser SDKs | |||||
common 层 给server and client 公用 | |||||
security: CORS XSS | |||||
AAA:authentication authorization accounting | |||||
缺点: | 非典型mvc ,需稍微转换写法(文件存放的结构) | 包通过mean.io 自身管理,不利于脱离架构 | 封装了很多内容到framework(过多的封装) | ||
稍微少众,运营有点像sencha touch | |||||
http://docs.strongloop.com/pages/viewpage.action?pageId=3836228 | |||||
使用 | |||||
android,把中间流程省略了,他的实现就是要把很多第三方的包添加进去,然后实现中间环节,然后多样回传数据,包括model,json等方式 | |||||
currently , we've choosen strongloop(loopback)
Although loopback we find it weak in mongodb operation, such as $inc and other ops , and aggregate is not support.
js framework comparation的更多相关文章
- rapid js framework
allcountjs.com http://mean.io/ https://www.meteor.com/ http://sailsjs.org/#!/ nodejs 博客 http://hexo. ...
- Js Framework
http://www.mhtml5.com/2012/06/5119.html http://www.mhtml5.com/2012/06/5118.html http://cubiq.org/isc ...
- 转 10 个最佳的 Node.js 的 MVC 框架
10 个最佳的 Node.js 的 MVC 框架 oschina 发布于: 2014年02月24日 (33评) 分享到: 收藏 +322 Node.js 是一个基于Chrome JavaScri ...
- js高级应用
特别板块:js跨域请求Tomcat6.tomcat7 跨域设置(包含html5 的CORS) 需要下载两个jar文件,cors-filter-1.7.jar,Java-property-utils-1 ...
- crossplatform---Node.js Applications with VS Code
Node.js is a platform for building fast and scalable server applications using JavaScript. Node.js i ...
- 【JS】Advanced1:Object-Oriented Code
Object-Oriented Code 1. var Person = function (name) { this.name = name; }; Person.prototype.say = f ...
- [转]Node.js tutorial in Visual Studio Code
本文转自:https://code.visualstudio.com/docs/nodejs/nodejs-tutorial Node.js tutorial in Visual Studio Cod ...
- pixi.js tools
pixi群 881784250 Awesome pixi.js tools A list of useful libs/resources/tools for renowned html5 rende ...
- vue+node+mongoDB 火车票H5(六)---城市列表保存到MongoDB数据库并且启用node.js服务
把车站列表保存到数据库,并且从本地创建服务 node.js创建httpserver 1.搭建基于express的运行环境 全局安装express-gengerator cnpm install -g ...
随机推荐
- day039 数据库索引
今日内容: 1.为什么要有索引 简而言之,索引出现的意义是为了更方便,更快速的查询数据. 什么是索引 索引在mysql中也叫''键''或'key'(primary key unique key,ind ...
- JAVA设计模式(二)工厂模式
在面向对象编程中, 最通常的方法是一个new操作符产生一个对象实例,new操作符就是用来构造对象实例的.但是在一些情况下, new操作符直接生成对象会带来一些问题.举例来说, 许多类型对象的创造需要一 ...
- 四:(之五)Dockerfile语法梳理和实践
*5.Dockerfile语法梳理和实践 5.1 尽量使用官方的image作为base image 5.2 metadata:指明作者 版本 描述 5.3 每一条run都能形成一个分层,避免无用分层应 ...
- 关于MEX函数的说明
reference:http://www.mathworks.com/help/matlab/ref/mex.html .MEX文件是一种可在matlab环境中调用的C(或fortran)语言衍生程序 ...
- Xilinx FFT IP v9.0 使用(一)
reference:https://blog.csdn.net/shichaog/article/details/51189711 https://blog.csdn.net/qq_36375505/ ...
- python笔记7-if中的is ;in ;not搭配用法
names="111 222 333" print("111" in names)#返回的是True,用in返回的是布尔值in在里面 print("1 ...
- 牛客第三场多校 E Sort String
链接:https://www.nowcoder.com/acm/contest/141/E来源:牛客网 Eddy likes to play with string which is a sequen ...
- 2019-02-22 L231
Scientists at the Massachusetts Institute of Technology have said lobsters could be key to creating ...
- uniGUI HyperServer
uniGUI HyperServer 是一种新的服务器体系架构, 旨在高度提高 uniGUI 应用程序的可用性.稳定性和特定的可伸缩性. 这一目标是通过应用业界已知和广泛使用的技术 (如负载平衡和过程 ...
- python-django的生命周期
wsgi,请求封装后交给web框架(flask,django) 中间件,对请求进行校验或在请求对象中添加其他相关数据,列如(scrf[跨域],request,session) 路由匹配,根据浏览器发送 ...