Fast development and easy to scale, high performance and robust. The advent of node. JS makes these dreams of all Web application developers a reality. However, like other new development language technologies, writing code from scratch using the most basic features of node. JS is a very time-consuming thing to build. The solution to this problem is very simple and has withstood the test of time: Using a development framework that has been built well in advance. So there will be so many concepts such as express.js,koa,sails.js and so forth and implemented.
The role of these development frameworks is very simple. is to save time for application developers, so we don't have to spend too much energy on unnecessary things. Once a framework can meet the developer's idea of "getting the same output at the lowest cost", the framework can be a great way to go.
There is no framework in today's node. JS world to unified, although Express.js remains the most popular framework yet. But today there are many other door factions in the battle for the martial arts leader. Can not say that you confraternity members of a large number of others to join you confraternity, we are to learn a self-defense of the technique (rapid development and other node. JS framework), you confraternity have 18 palm (express.js), others Wudang also Tai chi (sails.js, etc.).
Overall, you can boil down the node. JS Development Framework into two categories:
-Compact Framework
-Full stack frame
Let's explore both of these frameworks.
Compact Framework
The streamlined framework provides the most basic functionality and APIs that are designed to improve the key aspects of the node. JS development process. However, the main focus of these frameworks is to provide basic MVC development framework functionality and improve the coding experience, rather than the support of other features and technologies that node. JS itself does not have. Here are some of today's popular, streamlined, node. JS Frameworks.
The most popular frame of express.js-
Express.js is undoubtedly the most popular node. JS Development Framework for Web application developers today. As a flexible, lightweight, easy-to-use framework, express.js can be used to develop pure JS or hybrid, easy-to-expand mobile applications. If some of the data on the Internet is not unfounded, 26,000 of the world's web and mobile applications are being developed using the framework. Some of the popular fans include MySpace, countly, yummly, Mozilla Persona, and Geekli.st. So, if you're a node developer, maybe express.js is the fast train you should take.
Koa-node.js Next-generation development framework
As an additional node. JS Development framework developed and maintained by the behind-the-scenes development team of the Express.js framework, KOA is a network development framework with a hot-topped next-generation development framework named node. js. Because the framework is evolved from Express.js, you can see a lot of similarities between them, and of course the difference is certain. It provides some additional new functionality, and the middleware of the framework isolates these new features from other existing functions. In addition, the framework provides features such as efficient development and ease of use to simplify the process of starting server and server-related functions.
Total.js-A modern web application to develop the node. JS Framework
Although Total.js can be thought of as a minimalist framework, it is still a complement to the node. JS Framework. The framework's target users are developers who want to build applications that are very powerful and scalable. Total.js may be a perfect choice if you want to build a Web application now, and the app may be massively expanded in the future.
Sails.js
As a framework that provides the MVC development model simulation functionality like Ruby on Rails, sails.js is actually a robust and extensible node. JS Development Framework. It is itself a service-driven (Service-driven) architecture, and its API set is provided in a data-driven manner. Its greatest use should be to create multi-user games, web chats, real-time interactive applications, and other node. js applications for Enterprise crying.
All-Stack node. JS Development Framework
The full-stack development framework is the place where Nodejs is glowing and hot. Most of the full-stack frameworks include the necessary application development base libraries, complete template engines, network sockets, and persistent libraries to accelerate the building of real-time scalable network and mobile applications. The following are the most prevalent full-stack node. JS Frameworks Today:
Meteo-An extremely simple application development environment
As a framework designed to integrate the functionality of all mean development frameworks, Meteor is a javascrtip framework that JAVASCRITP can run in the client browser, It can also be run on the server side of a node. js container meteeor server. In addition, it supports HTML code, CSS, and other useful static tools.
All of these features are very resilient in the Metero framework, and you can easily use them in the same way as file tree requests. The packaging and data transfer of the various components on the client and server are done automatically by the Metero framework.
mean.io-Complete Mean stack JavaScript development framework
MEAN. Io is a complete JavaScript development framework designed to simplify and accelerate the development of mean stack-based Web applications. The framework comes with tools that allow you to seamlessly engage the four technologies of the mean framework, such as MongoDB, Express.js, AngularJS, and node. js, and even other groundbreaking techniques such as bootstrap. It also has a lot of HTML and CSS and other additional JavaScript code to greatly reduce your coding time. However, the framework's most bright eye is actually its powerful MVC architecture. You can use it to create modular code and use it as a tool for creating sophisticated Web or mobile applications. MEAN. IO packets are Plug and play, so once a new feature Pack is released, you can get and use them as you would with NPM packages.
The Meanio package system integrates all the packages into the mean project as if the code itself is part of the mean itself. It also gives developers all the tools they need to integrate our packages into our projects.
----------Finish----------
Quoted English original: http://www.algoworks.com/blog/most-popular-node-js-frameworks-for-app-development/
Make/Translator: Heaven Zhuhai Branch Rudder
Knowledge sharing public Number: Techgogogo
Csdn:http://blog.csdn.net/zhubaitian
Introduction to today's most popular node. JS Application Development Framework