MEAN.js和MEAN.io的区别 [英] Difference between MEAN.js and MEAN.io

查看:222
本文介绍了MEAN.js和MEAN.io的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用均值的JavaScript堆栈,但我注意到,有两个不同的堆栈要么与自己的网站及安装方法:mean.js和mean.io.所以,我想出问自己这个问题:我该使用哪一个

I wanted to use the MEAN JavaScript Stack, but I noticed that there are two different stacks with either their own website and installation methods: mean.js and mean.io. So I came up asking myself this question: "Which one do I use?".

因此​​,为了回答这个问题,我问了社区,如果你能解释一下什么是这两者之间的区别是什么?如果可能的利弊?因为他们看起来非常相似,我的。

So in order to answer this question I ask the community if you could explain what are the differences between these two? And if possible pros and cons? Because they look very similar to me.

推荐答案

他们基本上是相同的......他们都使用痛饮为模板,它们都使用了测试,护照整合,nodemon等因缘和摩卡

They're essentially the same... They both use swig for templating, they both use karma and mocha for tests, passport integration, nodemon, etc.

为什么如此相似? Mean.js是一样的家伙 ... Mean.io现在是伞下公司Linnovate的,看起来像的家伙(摩Haviv)停止了合作,这家公司开始Mean.js.你可以阅读更多有关的原因这里

Why so similar? Mean.js is a fork of Mean.io and both initiatives were started by the same guy... Mean.io is now under the umbrella of the company Linnovate and looks like the guy (Amos Haviv) stopped his collaboration with this company and started Mean.js. You can read more about the reasons here.

现在......你可以看到,现在的主要(或很少)的区别是:

Now... main (or little) differences you can see right now are:

结果

脚手架和BOILERPLATE GENERATION

Mean.io使用名为定制的CLI工具'的意思是'结果
Mean.js使用约曼发电机

Mean.io uses a custom cli tool named 'mean'
Mean.js uses Yeoman Generators

结果
模块性

Mean.io使用与模块内部的客户端和服务器的文件更加自足节点程序包模块化。结果
Mean.js使用模块只是在前端(角度),并与实施例preSS连接。虽然他们正在处理的垂直模块以及...

Mean.io uses a more self-contained node packages modularity with client and server files inside the modules.
Mean.js uses modules just in the front-end (for angular), and connects them with Express. Although they were working on vertical modules as well...

结果
构建系统

Mean.io最近搬到吞掉结果
Mean.js使用咕噜

Mean.io has recently moved to gulp
Mean.js uses grunt

结果
部署

两者都有Dockerfiles在各自的回购协议,并Mean.io具有一键安装在谷歌计算引擎,而Mean.js也可以用部署一键安装上数字海洋

Both have Dockerfiles in their respective repos, and Mean.io has one-click install on Google Compute Engine, while Mean.js can also be deployed with one-click install on Digital Ocean.

结果
文档

Mean.io具有确定文档结果
Mean.js有真棒文档

Mean.io has ok docs
Mean.js has AWESOME docs

结果
社区

Mean.io有一个更大的社区,因为它是原来的样板结果
Mean.js少的势头,但稳步增长。

Mean.io has a bigger community since it was the original boilerplate
Mean.js has less momentum but steady growth

结果
就个人而言,我更喜欢哲学和MeanJS的开放性和更多的牵引力和模块/ MeanIO的封装方式。两者都是不错的,和你最终可能改变他们,所以你不能真正出问题采摘一方或另一方。只要看看他们作为出发点,作为一个学习的过程。


On a personal level, I like more the philosophy and openness of MeanJS and more the traction and modules/packages approach of MeanIO. Both are nice, and you'll end probably modifying them, so you can't really go wrong picking one or the other. Just take them as starting point and as a learning exercise.

结果

的意思是一个通用的方法(由<一个杜撰href=\"http://blog.mongodb.org/post/49262866911/the-mean-stack-mongodb-ex$p$pssjs-angularjs-and\">Valeri卡尔波夫)来描述一个样板/框架,以蒙戈+防爆preSS +角+节点为堆栈的基础。你可以找到这个堆栈使用其他教派,其中一些为RAD(快速应用开发)和建筑的SPA真的很好的框架。例如:

MEAN is a generic way (coined by Valeri Karpov) to describe a boilerplate/framework that takes "Mongo + Express + Angular + Node" as the base of the stack. You can find frameworks with this stack that use other denomination, some of them really good for RAD (Rapid Application Development) and building SPAs. Eg:

  • Meteor. Now with official Angular support, represents a great MEAN stack
  • StrongLoop Loopback (main Node.js core contributors and Express maintainers)
  • Generator Angular Fullstack
  • Sails.js
  • Cleverstack
  • Deployd, etc (there are more)

您也可以编程马拉松入门。它不具有的平均的(这是男人),但它的岩石。

You also have Hackathon Starter. It doesn't have A of MEAN (it is 'MEN'), but it rocks..

玩得开心!

这篇关于MEAN.js和MEAN.io的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆