📜  MEAN.js 和 MEAN.io 有什么区别?

📅  最后修改于: 2022-05-13 01:56:49.232000             🧑  作者: Mango

MEAN.js 和 MEAN.io 有什么区别?

MEAN (MongoDB、Express.js、AngularJS(或 Angular)和 Node.js)是一个免费的开源软件堆栈,用于构建动态网站和 Web 应用程序。首字母缩写词 MEAN 是 Valeri Karpov 在 2013 年首次在博客文章中介绍该术语时给出的。该框架使用 JavaScript 进行客户端和服务器端交互。该框架经常与传统的 LAMP 框架(Linux、Apache、MySQL 和PHP)进行比较。随着 Angular 版本的广泛流行,MEAN 堆栈在开发人员中广受欢迎,尤其是在美国和南亚次大陆。

Mean.io 和 Mean.js:以色列软件开发人员 Amos Haviv 第一个注意到他为客户制作的大部分项目都使用了类似的技术和框架。后来,他询问了社区中的其他开发者,是否对这个问题也有同感,并得到了积极的回应。那时他想出了 Mean.io。 Mean.js 只是 Mean.io 最初想法的一个分支。它基于使用四种技术MongoDB作为数据库, Node.jsExpress作为后端框架, AngularJS作为前端框架的核心思想。考虑到这一点,他开始构建样板代码来帮助启动此类项目。 Haviv 与一家名为 Linnovate 的公司一起开源了样板文件。由于目标不同,Haviv 留下了自己的一个名为 Mean.js 的新项目。

不同之处

FieldMean.ioMean.js
Build SystemIt uses gulp as a build system. Gulp is an open-source JavaScript toolkit used as a streaming build system in front-end web development.It uses grunt as a build system.Grunt is a JavaScript task runner, a tool used to automatically perform frequent tasks such as minification, compilation, unit testing, and linting.
Structure of ModuleMean.io uses more like self-contained node packages for client and server interactions.In Mean.js, Angular connects with Express for front-end and back-end interactions.
Community SupportCommunity support is large but stagnant.Community support is large and is growing because of its popularity.
DocumentationThe documentation of Mean.io is relatively less descriptive.Because of the community support, it has a well-explained documentation
CommunityThe Community of MEAN.io is wider compare to MEAN.js.The Community is smaller but it is gaining popularity and creating strong community.

近年来, Mean.js的受欢迎程度已经超过了它的数量。由于Mean.jsMean.io是同一棵树的分支,因此开发人员可以出于不同的原因选择这两个堆栈。上述差异对于开发人员而言并不那么重要,而对于生产团队而言。