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 ...
随机推荐
- Django ajax提交 登录
一.url from django.contrib import adminfrom django.urls import pathfrom appo1 import views urlpattern ...
- JavaScript 操作DOM对象
1)JavaScript 操作DOM對象 1.DOM:是Document Object Model 的缩写,及文档对象模型 2.DOM通常分为三类:DOM Core(核心).HTML-DOM 和 ...
- relativeURL 相对URL的坑
我正在尝试实现一个使用RestKit的iOS应用程序.在我迄今为止看到的所有示例中,以下代码用于创建URL: NSURL *baseURL = [NSURL URLWithString:@" ...
- [Linux]Linux下rsync服务器和客户端配置
一.rsync简介 Rsync(remote sync)是UNIX及类UNIX平台下一款神奇的数据镜像备份软件,它不像FTP或其他文件传输服务那样需要进行全备份,Rsync可以根据数据的变化进行差异( ...
- (C/C++学习笔记) 八. 程序控制语句
八. 程序控制语句 ● 基础知识 算法的基本控制结构: 顺序结构(sequential structure), 选择结构(case structure), 循环结构(loop structure) c ...
- 数控AGC实现(转)
相关链接: 一种混合式高动态范围AGC算法与FPGA实现 http://www.sohu.com/a/221438387_781333 基于FPGA的快速自动增益控制系统设计 ...
- 7series 逻辑单元理解(更新中)
7series 逻辑单元理解 ug768和ug799文档介绍了7系列芯片中包含的基本逻辑单元,对其中常用的单元,进行下分析. 1.IOBUF单元 (1)真值表 (2)用途 the design e ...
- UVALive - 6434 (贪心)
题目链接:https://vjudge.net/problem/UVALive-6434 题意:给你n个数字,要你把这n个数字分成m组,每一组的消耗值定义为改组最大值和最小值之差,要求这m组的消耗值总 ...
- synchronized(一)
/** * 线程安全概念:当多个线程访问某一个类(对象或方法)时,这个对象始终都能表现出正确的行为,那么这个类(对象或方法)就是线程安全的. * synchronized:可以在任意对象及方法上加锁, ...
- django面试五
http和https的区别https协议需要到ca申请证书,一般免费证书很少,需要交费. 注:CA - certificate authority,身份认证,权威机构认证,CA认证: http是超文本 ...