This article mainly introduces what is MEAN? What does MEAN in JavaScript programming ?, Like lampp, MEAN refers to a combination of Full-stack development tools for modern web applications. If you need it, you can refer to the article mentioned in the previous day. What is MEAN?
In fact, MENA is the abbreviation of MongoDB (non-Relational Database) + Express (template engine) + AngularJS (MVC javascript Library) + NodeJS (server script.
They jointly construct javascript-based modern web application full-stack development tools.
MongoDB:
It is a powerful, flexible, and Scalable Data Storage Method.
It extends many useful functions of relational databases, such as secondary indexes, range queries, and sorting, its built-in support for MapReduce-type aggregation, and its support for geospatial indexes.
It replaces the concept of the traditional database row with the document model, which is actually an array object.
Let's take a look at the document model:
{"_ Id": 1, "greeting": "hello, world !" , "Foo": 3}
Each document has a _ id field. This document model indicates that there is a record in the database, including the greeting, foo, and _ id fields;
Express:
I would like to describe the last engine Express in one sentence:
Is a simple and flexible node. js Web application framework that provides a series of powerful features to help you create various Web applications.
A wide range of HTTP tools and middleware from the Connect framework can be used as needed. Creating Strong and friendly APIs becomes fast and simple.
Express does not provide secondary abstraction for the existing features of node. js. We just extend the functions required by Web applications.
AngularJS:
AngularJS is a js library developed by google. It is the same as the backone MVC script library.
The first lesson in almost every language is about hello world. We also come to the following Convention:
The Code is as follows: