Node. JS Development Framework express4.x

Source: Internet
Author: User

650) this.width=650; "src=" http://blog.fens.me/wp-content/uploads/2015/02/express4.png "width=" "height=" 400 " alt= "express4.png"/>


Objective

Nodejs is a young programming framework that is full of vitality and passion, and has been kept up to date with rapid Updates. The official web Development Library express, based on nodejs, is also developing in sync, upgrading a large version every year, and even doing major surgery on the bottom of the Framework. When Express4, replace the Mid-piece library Connect and replace it with more granular libraries Instead. The benefits are clearly that these middleware can be more freely updated and released, and will not be affected by the express release cycle, but the problem is also very tricky, incompatible with the previous version, upgrade means to modify the Code.

I've written an article Before. NODEJS Development Framework Express3.0 Development notes – starting from scratch ", Many of the newly-learned node friends are reference, but because Express has been upgraded, the article has some of the code has been unable to use, so there is this article introducing EXPRESS4.X.

Directory

    1. Establish engineering

    2. Directory structure

    3. Package.json project configuration

    4. App.js Core File

    5. Bootstrap Interface Framework

    6. Routing Features

    7. Program code

    8. List of changes to express3.x and express4.x


Overall article: http://blog.fens.me/nodejs-express4/

Node. JS Development Framework express4.x

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.