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 ...
随机推荐
- UVa LA 3695 - Distant Galaxy 前缀和,状态拆分,动态规划 难度: 2
题目 https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_pr ...
- TiDB 深度实践之旅--真实“踩坑”经历
美团点评 TiDB 深度实践之旅(9000 字长文 / 真实“踩坑”经历) 4 PingCAP · 154 天前 · 3956 次点击 这是一个创建于 154 天前的主题,其中的信息可能已经有所发 ...
- Cracking The Coding Interview 3.2
//How would you design a stack which, in addition to push and pop, also has a function min which ret ...
- 阶段01Java基础day10面向对象05
10.01_面向对象(package关键字的概述及作用) A:为什么要有包 将字节码(.class)进行分类存放 B:包的概述 C:包的作用 10.02_面向对象(包的定义及注意事项) A:定义包的格 ...
- freemarker学习 (servlet + freemarker -> Struts2+freemarker -> springMVC+freemarker)
什么是freemarker? freemarker类似于jsp,但不是jsp!怎么说呢?freemarker文件后缀是.ftl,它不像jsp本质是servlet,它将构建模板.解析模板.使用模板分离开 ...
- redis 五大数据类型之sortedset
个人理解,这就是一个有序的set集合 他就是根据每个key创建的时候根据score值大小进行排序(score值仅限支持float型) 1.zadd/zrange(zadd key score mem ...
- setcookie
cookie 中值的部分在发送的时候会被自动用 urlencode 编码并在接收到的时候被自动解码并把值赋给与自己同名的 cookie 变量 首先声明,浏览的Cookie操作都是通过HTTP Head ...
- kbmMWLog输出日志到控制台或指定Grid
刚看到有人在kbmMW News问,有没有简单的方法,输出日志到Console窗口或者一个实际的Grid? 作者对此做回复,大意是这样: 对于输出日志到一个Memo,使用TkbmMWStringsLo ...
- 莫烦tensorflow(2)-Session
import os os.environ['TF_CPP_MIN_LOG_LEVEL']='2' import tensorflow as tfmatrix1 = tf.constant([[3,3] ...
- 3--Selenium环境准备--Eclipse 引入 selenium-server包
1.下载selenium-server包 selenium-server-standalone包是Seleniumd的核心jar包,其中包含了各种元素定位和调用浏览器的方法.下载jar包后,在ID ...