What is MEAN JS?
MEAN stack is a framework based on full Javascript stack: Mongo DB, Express JS, AngularJS, Node JS with JSON (Javascript Object Notation) as the data transport format.
- Mongo DB: A leading NOSql database
- Express JS: Web application framework based on Node JS suitable for web and mobile.
- Angular JS: HTML 5 MVVM (Model View ViewModel) based responsive framework
- Node JS: A JS platform based on Chrome's Javascript engine
In addition, you could use:
- Mongoose (Object Document Model) for a quick schema based solution for application's data.
- npm and bower as the package managers
- grunt task runner or gulp build system
- karma and mocha/jasmine for unit tests
- Bootstrap or Angular Bootstrap for styling
- Jade templates with stylus for css
Why do I use MEAN JS?
Here are some of the reasons why you would use MEAN JS:
- Rapid development with boiler plate code
- Simple and maintainable code with existing JS based project skeleton
- When you are looking for an isomorphic Javascript based full stack
- Saves a lot of data transformation across layers since all components speak JSON
- With package managers developing, reusing and sharing code becomes super easy and fast
What are the alternatives to MEAN JS?
MeteorJS is a cool and terse and MEAN IO are few alternative.
Useful links for comparison?
stackoverflow - mean.js vs mean.io
meteorjs vs mean
Happy coding with JS ...
No comments:
Post a Comment