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 ...
随机推荐
- markdown语法模板
(GitHub-Flavored) Markdown Editor Basic useful feature list: Ctrl+S / Cmd+S to save the file Ctrl+Sh ...
- String常用方法
1. String StringBuffer StringBuilder的区别: 001.在执行速度方法 StringBuilder > StringBuffer > String 002 ...
- Docker的安装以及使用Docker安装jenkins,gogs,tomcat(一)
(1)Docker的安装 官网安装链接 :https://yeasy.gitbooks.io/docker_practice/content/ 卸载旧版本 旧版本的 Docker 称为 docker ...
- The issue about the GMT paper can't display all the seismograms
I try to display seismograms using 'pssac' by the command: gmt pssac *.z -JX20c/40c -R0/// -Bx20+l'T ...
- api中locale或language字段,传送客户端地域信息,一般为下划线
在请求新闻的分类信息和新闻内容时,需要在api地址中传入local参数,根据用户地区不同返回不同的新闻和分类. local参数,通过navigator.languages[0]获取, 但是,问题来了: ...
- IDEA如何自动生成testNG的测试报告?
问:eclipse会在test-output目录下自动生成测试报告,想知道IDEA是只可以在控制台那里点击导出手动生成报告么? 答:编译器选择Edit Configuration,找到测试项,找到Li ...
- Python 再次改进版通过队列实现一个生产者消费者模型
import time from multiprocessing import Process,Queue #生产者 def producer(q): for i in range(10): time ...
- 栈溢出原理与 shellcode 开发
ESP:该指针永远指向系统栈最上面一个栈帧的栈顶 EBP:该指针永远指向系统栈最上面一个栈帧的底部 01 修改函数返回地址 #include<stdio.h> #include< ...
- css3渐变 两边透明中间高亮
颜色自己可以调节 如图: 采集器管理下面的那条线就是 css代码: .linear{ width:100%; height:2px; ...
- HDU 6075 Questionnaire 17多校4 水题
Problem Description In order to get better results in official ACM/ICPC contests, the team leader co ...