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 ...
随机推荐
- frameset的固定放置模式,不能放入<form runat="server">中
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="admin_default.as ...
- Introduction to Cryto & Crptocurrencies Lecture 1
Lecture 1.2 Hash Pointer & Data Structure Use Case 1. 什么是Block Chain呢? 想象一个像链表一样的结构,只不过与通常的指向下一块 ...
- java⑾
1.数组: 01.一组 相同数据类型的集合! 02.数组在内存中会 开辟一串连续的空间来保存数据! ***存储30名学生的姓名! 01.姓名 应该用什么数据类型保存??? String02.难道需要创 ...
- 常见的SQLALCHEMY列类型
常见的SQLALCHEMY列类型.配置选项和关系选项 类型名称 python类型 描述 Integer int 常规整形,通常为32位 SmallInteger int 短整形, ...
- 2.6 C++通过引用来传递和返回类对象
参考:http://www.weixueyuan.net/view/6338.html 总结: C++语言中,由类声明的对象,和其它类型声明的变量一样,同样可以通过传值.引用和指针的方式作为函数的参数 ...
- css经验之谈
//清除浮动 .clear { zoom:1; }.clear:after { content:''; display:block; clear:both; }.fl { float:left; }. ...
- 重载的方式写Python的post请求
#encoding=utf-8#__author__="Lanyangyang" import unittestimport requestsimport json # This ...
- JSONP解决跨域问题,什么是JSONP(转)
原文链接:https://www.cnblogs.com/xinxingyu/p/6075881.html 说到AJAX就会不可避免的面临两个问题,第一个是AJAX以何种格式来交换数据?第二个是跨域的 ...
- 20165326 java第八周学习笔记
第八周学习笔记 知识点总结 1.进程与线程 进程:程序的一次动态执行过程 区别:进程和线程的区别? 进程是资源的分配和调度的一个独立单元,而线程是CPU调度的基本单元 同一个进程中可以包括多个线程,并 ...
- day 29 socket 理论
网络编程(socket,套接字) 服务端地址不变 ip + mac 标识唯一一台机器 ip +端口 标识唯一客户端应用程序 套接字: 网络编程 网络编程 一.python提供了两个级别访问的网 ...