MEAN.js和MEAN.io之间的区别


335

我想使用MEAN JavaScript Stack,但我注意到有两个不同的堆栈,它们都有自己的网站和安装方法:mean.js和mean.io。因此,我问自己一个问题:“我使用哪个?”。

因此,为了回答这个问题,我问社区是否可以解释这两者之间的区别?以及是否有利弊?因为它们看起来和我非常相似。


5
鉴于Meteor已发布1.0并提供了更多现成的功能,因此在MEAN.io和MEAN.js之间进行选择可能是一个有争议的问题。
Dan Dascalescu 2015年

Answers:


374

他们本质上是相同的...他们都使用swig进行模板制作,他们都使用业力和摩卡咖啡进行测试,护照集成,nodemon等。

为什么如此相似?Mean.js是Mean.io的一个分支,这两个计划都是由同一个人发起的……Mean.io现在隶属于Linnovate公司,看起来这个人(Amos Haviv)停止了与该公司的合作,启动Mean.js。您可以在此处详细了解原因

现在...您现在可以看到的主要(或很小)差异是:


脚手架和锅炉生成

Mean.io使用名为“ mean”的自定义cli工具
Mean.js使用Yeoman Generators


模块化

Mean.io使用模块中包含客户端和服务器文件的更加独立的节点包模块化。
Mean.js仅在前端(用于角度)使用模块,并将其与Express连接。尽管他们也在研究垂直模块...


建立系统

Mean.io最近移至大
口吃Mean.js使用grunt


部署

两者都在各自的仓库中都有Dockerfile ,Mean.io可以在Google Compute Engine上一键安装,而Mean.js也可以一键安装在Digital Ocean上进行部署。


文件资料

Mean.io拥有不错的文档
Mean.js拥有很棒的文档


社区

Mean.io有一个更大的社区,因为它是原始样板
Mean.js的动力较小,但增长稳定


就个人而言,我更喜欢MeanJS的理念和开放性,更喜欢MeanIO的牵引力和模块/封装方法。两者都很不错,而且您可能最终会修改它们,因此选择一个或另一个确实不会出错。只是将它们作为起点和学习练习。


替代的“均值”解决方案

MEAN是一种通用方法(由Valeri Karpov提出),用于描述以“ Mongo + Express + Angular + Node”作为堆栈基础的样板/框架。您可以在此堆栈中找到使用其他面额的框架,其中一些框架对于RAD(快速应用程序开发)和构建SPA非常有用。例如:

您也有Hackathon Starter。它没有A MEAN(它是“ MEN”),但它会晃动。

玩得开心!


5
嘿,谢谢您的回应!hackathon-starter看起来很棒!它看起来更符合我的需求。它也主要是JS并且已经实现了身份验证,这就是我认为将是最困难的部分...所有以为我仍然觉得我不知道我的所有选择...:-/另外,后来出现了, hackathon-starter是否具有脚手架和样板生成器?但是,仍然非常感谢您的出色答复!
CMPSoares 2014年

7
别客气。是的,我也很喜欢hackathon-starter,它是完整的帐户管理和工作流程(忘记密码,确认电子邮件等)以及与sendgrid,paypal等的集成……MEAN.js和MEAN.io都缺少这些东西。对于某些项目,它是一个不错的启动器。
joseldn 2014年

1
如果您不需要角度,这对于项目来说无疑是一个不错的起点。不用担心平台的其他部分。您最有可能会找到做到这一点的即插即用节点程序包。即:gist.github.com/facultymatt/6370903
joseldn 2014年

1
一个好的情况是将其与使用REST API的SOA一起使用。如果您的日程安排很紧,请放下角度。学习曲线非常陡峭……对于前端来说这是“不错的”,但不是关键组成部分。您总是可以并行学习它,并在下一个项目中使用它,或者稍后将其插入该项目。
joseldn 2014年

2
大家好!我发现了一些源自hackathon-starter的东西,但也非常好:Skeleton!;-)
CMPSoares 2014年

66

首先,MEANM ongoDB,E xpress,A ngular和N ode.js 的首字母缩写。

通常在“堆栈”中标识这些技术的组合使用。有没有这样的事“ MEAN框架”。

利奥尔KesosLinnovate了这种混乱的优势。他购买了域名MEAN.io,并将一些代码放在https://github.com/linnovate/mean

幸运的是,他们得到了很多宣传,并且有越来越多关于MEAN的文章和视频。当您使用Google“平均值框架”时,mean.io是列表中的第一位。

不幸的是,https://github.com/linnovate/mean上的代码似乎设计得很差

2月,我本人陷入陷阱。该网站mean.io的设计醒目,Github仓库拥有1000颗以上的星星。对质量提出质疑的想法甚至都没有想到。我开始尝试它,但是花了很长时间才偶然发现不起作用的东西,并使代码感到困惑。

提交历史也令人担忧。他们多次重新设计了代码和目录结构,并且合并新的更改非常耗时。

关于mean.io和mean.js代码的好处在于,它们具有Bootstrap集成。他们还通过PassportJs提供了Facebook,Github,Linkedin等身份验证并在MongoDB的后端上与AngularJS同步了前端模型的模型示例(文章)。

根据Linnovate的网站:

Linnovate是以色列领先的开源公司,拥有该国经验最丰富的团队,致力于创建高端开源解决方案。Linnovate是以色列唯一一家为企业建立和维护其下一个Web项目的企业提供AZ服务的公司。

从网站上看,他们的核心技能是Drupal(一种PHP内容管理系统),直到最近他们才开始使用Node.js和AngularJS。

最近我正在阅读Mean.js博客,事情变得更加清晰。我的理解是,主要的Java语言开发人员(Amos Haviv)离开Linnovate从事Mean.js的工作,离开MEAN.io项目的是那些刚开始接触Node.js开发人员的人,他们正在缓慢地理解事物的工作方式。

将来情况可能会发生变化,但现在我会避免使用mean.io。如果您正在寻找快速入门的样板,那么Mean.js似乎比mean.io更好。


5
克里斯,您好,Linnovate从事node.js / mongo的工作已经超过3年了,如果您觉得某些东西的架构不佳,并且对如何改进它有建设性的想法,我们会接受请求请求和想法。我怀疑您经历了我们在核心项目中所做的转变,以支持依赖项注入,程序包支持和均值cli,我们一直在将项目从样板转移到框架,并且有些“成长的烦恼”。
Lior Kesos 2014年

3
我邀请您重新访问该项目并查看新的打包系统,该系统使您可以通过普通打包扩展项目。该功能已被社区很好地接受,并且是完整堆栈软件包的第一个示例(通过扩展软件包同时提供服务器和客户端功能,同时扩展了核心项目)。
Lior Kesos 2014年

7
比较MEAN.io与MEAN.js之后,通过纯增长得出。mean.js在1年内收到93个贡献者,共进行了700次提交,而mean.io在3年中获得了130个贡献者,令人惊讶的低至1200次提交。(根据统计数据,不妨一salt而就)显然,MEAN.js正在迅速赶上。嘿,我还没有研究代码。但基本上,MEAN.io听起来像是失去了史蒂夫·乔布斯的苹果。
Ezeewei 2015年

19

这是几种应用程序启动器/生成器和其他技术(包括MEAN.js,MEAN.io和cleverstack)的并排比较。我会在寻找时间时不断添加替代方法,并且随着时间的推移,潜在提供的好处的列表也在不断增长。如今,它已达到1600左右。如果有人想帮助提高其准确性或完整性,请单击下一个链接,并就您所知道的事情进行问卷调查。

比较应用程序技术项目

系统从该数据库中生成如下报告:

MeanJS与MeanIO权衡报告


4
这是您编写的精美的Google文档。
honkskillet 2014年

我在文档中添加了单独的页面,并进行了正面对比。有一个比较MEAN.js和MEAN.io的人
Dan

1
“您需要许可”-无法访问。
Mörre

现在是知识合作社。只需在此处填写有关您知道的某些技术的调查表,我将授予您使用doc dancancro.com/technology-questionnaires
Dan

13

我的比较电子表格的“初学者权衡”工作表在每个生成器之间进行了全面的一对一比较。因此,您无需再扭曲挑剔的话来谈论您的最爱。

这是generator-angular-fullstack和MEAN.js之间的代码。百分比是基于我个人权重的每种福利的价值,其中理想的生成者为100%

generator-angle-fullstack提供了MEANJS.org没有提供的8%

  • 1.9%的客户端端到端测试
  • 0.6%的工厂
  • 0.5%的提供者
  • SASS 0.4%
  • 少0.4%
  • 指南针0.4%
  • 0.4%装饰
  • 0.4%端点子生成器
  • 0.4%评论
  • 0.3%FontAwesome
  • 0.3%在调试模式下运行服务器
  • 0.3%将生成器答案保存到文件
  • 恒定0.2%
  • 0.2%开发构建脚本:......用CDN版本替换第三方部门
  • 0.2%验证-Cookie
  • 0.2%身份验证-JSON Web令牌(JWT)
  • 服务器端日志记录的0.2%
  • 0.1%开发构建脚本:并行运行任务以加快速度
  • 0.1%开发构建脚本:重命名资产文件以防止浏览器缓存
  • 0.1%开发构建脚本:运行端到端测试
  • 0.1%Production build脚本:安全的最小化
  • 0.1%生产构建脚本:添加CSS供应商前缀
  • 0.1%Heroku部署自动化
  • 值0.1%
  • 玉0.1%
  • 0.1%咖啡
  • 0.1%服务器端认证的路由限制
  • Twitter Bootstrap的0.1%SASS版本
  • 0.1%Production build脚本:压缩图像
  • 0.1%OpenShift部署自动化

MeanJS.org。提供了9%的generator-angular-fullstack无法提供的功能

  • 3.7%专用/可搜索的用户组:响应时间大部分在一天之内
  • 0.4%生成路线
  • 0.4%验证-Oauth
  • 0.4%的配置
  • i18n,本地化率为0.4%
  • 0.4%输入应用程序配置文件
  • 0.3%的功能(又名模块,实体,实体模拟)
  • 0.3%菜单系统
  • 0.3%的子组件选项
  • 0.3%测试-客户端
  • 0.3%的JavaScript性能指标
  • 0.3%生产构建脚本:为SEO制作静态页面
  • 0.2%快速安装?
  • 0.2%专用/可搜索的用户组
  • 0.1%开发构建脚本:更改后重新加载构建文件
  • 0.1%开发构建脚本:将咖啡文件编译为JS
  • 0.1%控制器-服务器端
  • 0.1%模型-服务器端
  • 0.1%路由-服务器端
  • 0.1%测试-服务器端
  • 0.1%痛饮
  • IP欺骗提供0.1%的安全
  • 0.1%生产构建脚本:丑陋
  • 0.0%的浏览方式:URL以“#!”开头
  • 0.0%的前端服务和Ajax调用方法:使用$ resource

这是MEAN.io和MEAN.js之间的一种格式,更具可读性

<table border="1" cellpadding="10"><tbody><tr><td valign="top" width="33%"><br><br><h1>MeanJS.org. provides these benefits that MEAN.io. doesn't</h1><br><br><b>Help</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Dedicated/searchable user group for questions, using github issues<br>&nbsp;&nbsp;&nbsp;&nbsp;* There's a book about it<br><b>File Organization</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Basic sourcecode organization, module(-&gt;submodule)-&gt;side<br>&nbsp;&nbsp;&nbsp;&nbsp;* Module directories hold directives<br><b>Code Modularization</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to AngularJS modules, Only one module definition per file<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to AngularJS modules, Don’t alter a module other than where it is defined<br><b>Model</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Object-relational mapping<br>&nbsp;&nbsp;&nbsp;&nbsp;* Server-side validation, server-side example<br>&nbsp;&nbsp;&nbsp;&nbsp;* Client side validation, using Angular 1.3<br><b>View</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to AngularJS views, Directives start with "data-"<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to data readiness, Use ng-init<br><b>Control</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to frontend routing or state changing, URLs start with '#!'<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to frontend routing or state changing, Use query parameters to store route state<br><b>Support for things</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Languages, LESS<br>&nbsp;&nbsp;&nbsp;&nbsp;* Languages, SASS<br><b>Syntax, language and coding</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* JavaScript 5 best practices, Don't use "new"<br><b>Testing</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Testing, using Mocha<br>&nbsp;&nbsp;&nbsp;&nbsp;* End-to-end tests<br>&nbsp;&nbsp;&nbsp;&nbsp;* End-to-end tests, using Protractor<br>&nbsp;&nbsp;&nbsp;&nbsp;* Continuous integration (CI), using Travis<br><b>Development and debugging</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Command line interface (CLI), using Yeoman<br><b>Build</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Build configurations file(s)<br>&nbsp;&nbsp;&nbsp;&nbsp;* Deployment automation, using Azure<br>&nbsp;&nbsp;&nbsp;&nbsp;* Deployment automation, using Digital Ocean, screencast of it<br>&nbsp;&nbsp;&nbsp;&nbsp;* Deployment automation, using Heroku, screencast of it<br><b>Code Generation</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Input application profile<br>&nbsp;&nbsp;&nbsp;&nbsp;* Quick install?<br>&nbsp;&nbsp;&nbsp;&nbsp;* Options for making subcomponents<br>&nbsp;&nbsp;&nbsp;&nbsp;* config generator<br>&nbsp;&nbsp;&nbsp;&nbsp;* controller (client side) generator<br>&nbsp;&nbsp;&nbsp;&nbsp;* directive generator<br>&nbsp;&nbsp;&nbsp;&nbsp;* filter generator<br>&nbsp;&nbsp;&nbsp;&nbsp;* route (client side) generator<br>&nbsp;&nbsp;&nbsp;&nbsp;* service (client side) generator<br>&nbsp;&nbsp;&nbsp;&nbsp;* test - client side<br>&nbsp;&nbsp;&nbsp;&nbsp;* view or view partial generator<br>&nbsp;&nbsp;&nbsp;&nbsp;* controller (server side) generator<br>&nbsp;&nbsp;&nbsp;&nbsp;* model (server side) generator<br>&nbsp;&nbsp;&nbsp;&nbsp;* route (server side) generator<br>&nbsp;&nbsp;&nbsp;&nbsp;* test (server side) generator<br><b>Implemented Functionality</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Account Management, Forgotten Password with Resetting<br>&nbsp;&nbsp;&nbsp;&nbsp;* Chat<br>&nbsp;&nbsp;&nbsp;&nbsp;* CSV processing<br>&nbsp;&nbsp;&nbsp;&nbsp;* E-mail sending system<br>&nbsp;&nbsp;&nbsp;&nbsp;* E-mail sending system, using Nodemailer<br>&nbsp;&nbsp;&nbsp;&nbsp;* E-mail sending system, using its own e-mail implementation<br>&nbsp;&nbsp;&nbsp;&nbsp;* Menus system, state-based<br>&nbsp;&nbsp;&nbsp;&nbsp;* Paypal integration<br>&nbsp;&nbsp;&nbsp;&nbsp;* Responsive design<br>&nbsp;&nbsp;&nbsp;&nbsp;* Social connections management page<br><b>Performance</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Creates a favicon<br><b>Security</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Safe from IP Spoofing<br>&nbsp;&nbsp;&nbsp;&nbsp;* Authorization, Access Contol List (ACL)<br>&nbsp;&nbsp;&nbsp;&nbsp;* Authentication, Cookie<br>&nbsp;&nbsp;&nbsp;&nbsp;* Websocket and RESTful http share security policies<br><br><br></td><td valign="top" width="33%"><br><br><h1>MEAN.io. provides these benefits that MeanJS.org. doesn't</h1><br><br><b>Quality</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Sponsoring company<br><b>Help</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Docs with flatdoc<br><b>Code Modularization</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Share code between projects<br>&nbsp;&nbsp;&nbsp;&nbsp;* Module manager<br><b>View</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to data readiness, Use state.resolve()<br><b>Control</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to frontend code loading, Use AMD with Require.js<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to frontend code loading, using wiredep<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to error handling, Server-side logging<br><b>Client/Server Communication</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Centralized event handling<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to XHR calls, using $http and $q<br><b>Syntax, language and coding</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* JavaScript 5 best practices, Wrap code in an IIFE (SEAF, SIAF)<br><b>Development and debugging</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* API introspection report and testing interface, using Swagger<br>&nbsp;&nbsp;&nbsp;&nbsp;* Command line interface (CLI), using Independent command line interface<br><b>Build</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Development build, add IIFEs (SEAF, SIAF) to executable copies of code<br>&nbsp;&nbsp;&nbsp;&nbsp;* Deployment automation<br>&nbsp;&nbsp;&nbsp;&nbsp;* Deployment automation, using Heroku<br><b>Code Generation</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Scaffolding undo&nbsp;&nbsp;&nbsp;&nbsp;(mean package -d &lt;name&gt;)<br>&nbsp;&nbsp;&nbsp;&nbsp;* FEATURE (a.k.a. module, entity) generator, Menu items added for new features<br><b>Implemented Functionality</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Admin page for users and roles<br>&nbsp;&nbsp;&nbsp;&nbsp;* Content Management System&nbsp;&nbsp;&nbsp;&nbsp;(Use special data-bound directives in your templates.<br>Switch to edit mode and you can edit the values right where you see them)<br>&nbsp;&nbsp;&nbsp;&nbsp;* File Upload<br>&nbsp;&nbsp;&nbsp;&nbsp;* i18n, localization<br>&nbsp;&nbsp;&nbsp;&nbsp;* Menus system, submenus<br>&nbsp;&nbsp;&nbsp;&nbsp;* Search<br>&nbsp;&nbsp;&nbsp;&nbsp;* Search, actually works with backend API<br>&nbsp;&nbsp;&nbsp;&nbsp;* Search, using Elastic Search<br>&nbsp;&nbsp;&nbsp;&nbsp;* Styles, using Bootstrap, using UI Bootstrap AngularJS directives<br>&nbsp;&nbsp;&nbsp;&nbsp;* Text (WYSIWYG) Editor<br>&nbsp;&nbsp;&nbsp;&nbsp;* Text (WYSIWYG) Editor, using medium-editor<br><b>Performance</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Instrumentation, server-side<br><b>Security</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Serverside authenticated route restriction<br>&nbsp;&nbsp;&nbsp;&nbsp;* Authentication, using Oauth, Link multiple Oauth strategies to one account<br>&nbsp;&nbsp;&nbsp;&nbsp;* Authentication, JSON Web Token (JWT)<br><br><br></td><td valign="top" width="33%"><br><br><h1>MEAN.io. and MeanJS.org. both provide these benefits</h1><br><br><b>Quality</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Version Control, using git<br><b>Platforms</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Client-side JS Framework, using AngularJS<br>&nbsp;&nbsp;&nbsp;&nbsp;* Frontend Server/ Framework, using Node.JS<br>&nbsp;&nbsp;&nbsp;&nbsp;* Frontend Server/ Framework, using Node.JS, using Express<br>&nbsp;&nbsp;&nbsp;&nbsp;* API Server/ Framework, using NodeJS<br>&nbsp;&nbsp;&nbsp;&nbsp;* API Server/ Framework, using NodeJS, using Express<br><b>Help</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Dedicated/searchable user group for questions<br>&nbsp;&nbsp;&nbsp;&nbsp;* Dedicated/searchable user group for questions, using Google Groups<br>&nbsp;&nbsp;&nbsp;&nbsp;* Dedicated/searchable user group for questions, using Facebook<br>&nbsp;&nbsp;&nbsp;&nbsp;* Dedicated/searchable user group for questions, response time mostly under a day<br>&nbsp;&nbsp;&nbsp;&nbsp;* Example application<br>&nbsp;&nbsp;&nbsp;&nbsp;* Tutorial screencast in English<br>&nbsp;&nbsp;&nbsp;&nbsp;* Tutorial screencast in English, using Youtube<br>&nbsp;&nbsp;&nbsp;&nbsp;* Dedicated chatroom<br><b>File Organization</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Basic sourcecode organization, module(-&gt;submodule)-&gt;side, with type subfolders<br>&nbsp;&nbsp;&nbsp;&nbsp;* Module directories hold controllers<br>&nbsp;&nbsp;&nbsp;&nbsp;* Module directories hold services<br>&nbsp;&nbsp;&nbsp;&nbsp;* Module directories hold templates<br>&nbsp;&nbsp;&nbsp;&nbsp;* Module directories hold unit tests<br>&nbsp;&nbsp;&nbsp;&nbsp;* Separate route configuration files for each module<br><b>Code Modularization</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Modularized Functionality<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to AngularJS modules, No global 'app' module variable<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to AngularJS modules, No global 'app' module variable without an IIFE<br><b>Model</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Setup of persistent storage<br>&nbsp;&nbsp;&nbsp;&nbsp;* Setup of persistent storage, using NoSQL db<br>&nbsp;&nbsp;&nbsp;&nbsp;* Setup of persistent storage, using NoSQL db, using MongoDB<br><b>View</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* No XHR calls in controllers<br>&nbsp;&nbsp;&nbsp;&nbsp;* Templates, using Angular directives<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to data readiness, prevents Flash of Unstyled/compiled Content (FOUC)<br><b>Control</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to frontend routing or state changing, example of it<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to frontend routing or state changing, State-based routing<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to frontend routing or state changing, State-based routing, using ui-router<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to frontend routing or state changing, HTML5 Mode<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to frontend code loading, using angular.bootstrap()<br><b>Client/Server Communication</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Serve status codes only as responses<br>&nbsp;&nbsp;&nbsp;&nbsp;* Accept nested, JSON parameters<br>&nbsp;&nbsp;&nbsp;&nbsp;* Add timer header to requests<br>&nbsp;&nbsp;&nbsp;&nbsp;* Support for signed and encrypted cookies<br>&nbsp;&nbsp;&nbsp;&nbsp;* Serve URLs based on the route definitions<br>&nbsp;&nbsp;&nbsp;&nbsp;* Can serve headers only<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to XHR calls, using JSON<br>&nbsp;&nbsp;&nbsp;&nbsp;* Approach to XHR calls, using $resource (angular-resource)<br><b>Support for things</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Languages, JavaScript (server side)<br>&nbsp;&nbsp;&nbsp;&nbsp;* Languages, Swig<br><b>Syntax, language and coding</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* JavaScript 5 best practices, Use 'use strict'<br><b>Tool Configuration/customization</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Separate runtime configuration profiles<br><b>Testing</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Testing, using Jasmine<br>&nbsp;&nbsp;&nbsp;&nbsp;* Testing, using Karma<br>&nbsp;&nbsp;&nbsp;&nbsp;* Client-side unit tests<br>&nbsp;&nbsp;&nbsp;&nbsp;* Continuous integration (CI)<br>&nbsp;&nbsp;&nbsp;&nbsp;* Automated device testing, using Live Reload<br>&nbsp;&nbsp;&nbsp;&nbsp;* Server-side integration &amp; unit tests<br>&nbsp;&nbsp;&nbsp;&nbsp;* Server-side integration &amp; unit tests, using Mocha<br><b>Development and debugging</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Command line interface (CLI)<br><b>Build</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Build-time Dependency Management, using npm<br>&nbsp;&nbsp;&nbsp;&nbsp;* Build-time Dependency Management, using bower<br>&nbsp;&nbsp;&nbsp;&nbsp;* Build tool / Task runner, using Grunt<br>&nbsp;&nbsp;&nbsp;&nbsp;* Build tool / Task runner, using gulp<br>&nbsp;&nbsp;&nbsp;&nbsp;* Development build, script<br>&nbsp;&nbsp;&nbsp;&nbsp;* Development build, reload build script file upon change<br>&nbsp;&nbsp;&nbsp;&nbsp;* Development build, copy assets to build or dist or target folder<br>&nbsp;&nbsp;&nbsp;&nbsp;* Development build, html page processing<br>&nbsp;&nbsp;&nbsp;&nbsp;* Development build, html page processing, inject references by searching directories<br>&nbsp;&nbsp;&nbsp;&nbsp;* Development build, html page processing, inject references by searching directories, injects js references<br>&nbsp;&nbsp;&nbsp;&nbsp;* Development build, html page processing, inject references by searching directories, injects css references<br>&nbsp;&nbsp;&nbsp;&nbsp;* Development build, LESS/SASS/etc files are linted, compiled<br>&nbsp;&nbsp;&nbsp;&nbsp;* Development build, JavaScript style checking<br>&nbsp;&nbsp;&nbsp;&nbsp;* Development build, JavaScript style checking, using jshint or jslint<br>&nbsp;&nbsp;&nbsp;&nbsp;* Development build, run unit tests<br>&nbsp;&nbsp;&nbsp;&nbsp;* Production build, script<br>&nbsp;&nbsp;&nbsp;&nbsp;* Production build, concatenation (aggregation, globbing, bundling)&nbsp;&nbsp;&nbsp;&nbsp;(If you add debug:true to your config/env/development.js the will not be <br>uglified)<br>&nbsp;&nbsp;&nbsp;&nbsp;* Production build, minification<br>&nbsp;&nbsp;&nbsp;&nbsp;* Production build, safe pre-minification, using ng-annotate<br>&nbsp;&nbsp;&nbsp;&nbsp;* Production build, uglification<br>&nbsp;&nbsp;&nbsp;&nbsp;* Production build, make static pages for SEO<br><b>Code Generation</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* FEATURE (a.k.a. module, entity) generator&nbsp;&nbsp;&nbsp;&nbsp;(README.md<br>feature css<br>routes<br>controller<br>view<br>additional menu item)<br><b>Implemented Functionality</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* 404 Page<br>&nbsp;&nbsp;&nbsp;&nbsp;* 500 Page<br>&nbsp;&nbsp;&nbsp;&nbsp;* Account Management<br>&nbsp;&nbsp;&nbsp;&nbsp;* Account Management, register/login/logout<br>&nbsp;&nbsp;&nbsp;&nbsp;* Account Management, is password manager friendly<br>&nbsp;&nbsp;&nbsp;&nbsp;* Front-end CRUD<br>&nbsp;&nbsp;&nbsp;&nbsp;* Full-stack CRUD<br>&nbsp;&nbsp;&nbsp;&nbsp;* Full-stack CRUD, with Read<br>&nbsp;&nbsp;&nbsp;&nbsp;* Full-stack CRUD, with Create, Update and Delete<br>&nbsp;&nbsp;&nbsp;&nbsp;* Google Analytics<br>&nbsp;&nbsp;&nbsp;&nbsp;* Menus system<br>&nbsp;&nbsp;&nbsp;&nbsp;* Realtime data sync<br>&nbsp;&nbsp;&nbsp;&nbsp;* Realtime data sync, using socket.io<br>&nbsp;&nbsp;&nbsp;&nbsp;* Styles, using Bootstrap<br><b>Performance</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* Javascript performance thing<br>&nbsp;&nbsp;&nbsp;&nbsp;* Javascript performance thing, using lodash<br>&nbsp;&nbsp;&nbsp;&nbsp;* One event-loop thread handles all requests<br>&nbsp;&nbsp;&nbsp;&nbsp;* Configurable response caching&nbsp;&nbsp;&nbsp;&nbsp;(Express plugin<br><b>https</b>://www.npmjs.org/package/apicache)<br>&nbsp;&nbsp;&nbsp;&nbsp;* Clustered HTTP sessions<br><b>Security</b>:<br>&nbsp;&nbsp;&nbsp;&nbsp;* JavaScript obfuscation<br>&nbsp;&nbsp;&nbsp;&nbsp;* https<br>&nbsp;&nbsp;&nbsp;&nbsp;* Authentication, using Oauth<br>&nbsp;&nbsp;&nbsp;&nbsp;* Authentication, Basic&nbsp;&nbsp;&nbsp;&nbsp;(With Passport or others)<br>&nbsp;&nbsp;&nbsp;&nbsp;* Authentication, Digest&nbsp;&nbsp;&nbsp;&nbsp;(With Passport or others)<br>&nbsp;&nbsp;&nbsp;&nbsp;* Authentication, Token&nbsp;&nbsp;&nbsp;&nbsp;(With Passport or others)<br></td></tr></tbody></table>


13
我建议您合并发布的两个答案。
CMPSoares 2014年

8

我很惊讶,没有人提到Yeoman生成器angular-fullstack。它是Yeoman社区排名第一的发电机,目前发电机页面上有1490颗星,而Mean.js的是81颗星(考虑到新的MEANJS是多么,这是不公平的比较)。在撰写本文时,它似乎正在积极维护中,并处于2.05版中。与MEANJS不同,它不使用Swig做模板。可以安装内置护照。


@SDude的答案提到了它。
CMPSoares 2014年

哪里?我在他的回答或评论中都看不到它。
honkskillet 2014年

也许我误解了您的答案...但是SDude提到“ Mean.js使用Yeoman生成器”进行了脚手架。
CMPSoares 2014年

1
我完全忘记了这一点。实际上,我很早以前就在generator-angular-fullstack的github注释中了解了MEAN.js ...我已将其添加到答案中。
2014年

2
@CMPSoares ...有多个Yeoman生成器支撑MEAN堆栈。Angular-Fullstack和Mean.js只是其中的两个(可以说是充实的两个?)。您可以在此处查看所有Yeoman社区生成器... Yeoman Generators
honkskillet 2014年
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.