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的更多相关文章

  1. rapid js framework

    allcountjs.com http://mean.io/ https://www.meteor.com/ http://sailsjs.org/#!/ nodejs 博客 http://hexo. ...

  2. Js Framework

    http://www.mhtml5.com/2012/06/5119.html http://www.mhtml5.com/2012/06/5118.html http://cubiq.org/isc ...

  3. 转 10 个最佳的 Node.js 的 MVC 框架

    10 个最佳的 Node.js 的 MVC 框架 oschina 发布于: 2014年02月24日 (33评) 分享到:    收藏 +322 Node.js 是一个基于Chrome JavaScri ...

  4. js高级应用

    特别板块:js跨域请求Tomcat6.tomcat7 跨域设置(包含html5 的CORS) 需要下载两个jar文件,cors-filter-1.7.jar,Java-property-utils-1 ...

  5. crossplatform---Node.js Applications with VS Code

    Node.js is a platform for building fast and scalable server applications using JavaScript. Node.js i ...

  6. 【JS】Advanced1:Object-Oriented Code

    Object-Oriented Code 1. var Person = function (name) { this.name = name; }; Person.prototype.say = f ...

  7. [转]Node.js tutorial in Visual Studio Code

    本文转自:https://code.visualstudio.com/docs/nodejs/nodejs-tutorial Node.js tutorial in Visual Studio Cod ...

  8. pixi.js tools

    pixi群 881784250 Awesome pixi.js tools A list of useful libs/resources/tools for renowned html5 rende ...

  9. vue+node+mongoDB 火车票H5(六)---城市列表保存到MongoDB数据库并且启用node.js服务

    把车站列表保存到数据库,并且从本地创建服务 node.js创建httpserver 1.搭建基于express的运行环境 全局安装express-gengerator cnpm install -g ...

随机推荐

  1. 你应该这样理解JVM内存管理

    在进行Java程序设计时,一般不涉及内存的分配和内存回收的相关代码,此处引用一句话: Java和C++之间存在一堵由内存动态分配和垃圾收集技术所围成的高墙,墙外的人想进去,墙里面的人想出来 ,个人从这 ...

  2. js数组及常用数学方法

    数组方法 清空数组   1: arr.length=0;   2: arr=[]; arr.push()          //往数组最后一个添加元素,会待会一个返回值,就是新的数组长度arr.uns ...

  3. centos6.5+python2.7+flask+apache+mod-wsgi部署

    flask部署,使用的是centos6.5,python2.7,版本很重要.基本步骤如下: 一.创建虚拟环境,创建目录把项目拷进去 二.安装mod-wsgi和apache easy_install m ...

  4. django搭建博客

    https://andrew-liu.gitbooks.io/django-blog/content/index.html

  5. 枚举类返回Map键值对,绑定到下拉框

    有时候,页面的下拉框要显示键值对,但是不想从数据库取,此时我们可以写一个枚举类, Java后台代码 1.枚举类 import java.util.HashMap; import java.util.M ...

  6. Windows系统上设置 Git Bash 的 Font 及 Locale

    在windows 上使用 Git Bash 可以获得 unix 命令 操作体验. 但是初始的Git Bash的字体及语系都很不方便,需要自己设置. 在Git Bash的命令窗体上边框点击鼠标右键可以进 ...

  7. Centos7部署kubectl命令行工具(五)

    1.准备二进制包 [root@linux-node1 ~]# cd /usr/local/src/kubernetes/client/bin [root@linux-node1 bin]# cp ku ...

  8. docker从初识到深入

    1:使用docker有哪些优势: 更快交付你的应用(Faster delivery of your applications) 让部署和测试更简单(Deploying and scaling more ...

  9. SPOJ - AMR11H (容斥原理)

    Enough with this Harry Potter, please! What are we, twelve-year olds?  Let's get our teeth into some ...

  10. <Spark Streaming><本地调试>

    写在前面 因为本地电脑没装flume,nginx各种.所以之前写Streaming程序的时候,都是打包了放到集群上跑.就算我在程序代码里不停地logger,调试起来也hin不方便. 于是本地写了两个程 ...