Web Development Notes

Source: Internet
Author: User

----NODEJS----

1, for the operating system, the cost of creating a thread is very expensive, to give him to allocate memory, included in the schedule, while the thread switching time also to perform memory paging, CPU cache is emptied, switching time also to re-read information from memory, destroying the data locality.
2. Event-driven single-threaded asynchronous model & multithreaded synchronization model
3. Comparison of web development architectures
Template-centric Architecture MVC architecture
4. Package Management
Nodejs's npm, Python pip, ubuntu apt-get, php pear, python and a PyPI
5. Web Development Framework Comparison

Characteristics

Template as a central frame

MVC Framework

How page is generated

Execute and replace the statements in the label

HTML page generated by the template engine

Path resolution

Correspondence to File system

defined by the Controller

Data access

Querying or accessing the file system through SQL statements

Object Relational Model

Architecture Center

Scripting language is an extension of static HTTP services

Static HTTP server is a complement to scripting languages

Scope of application

Small-scale websites

Large-scale website

Learning Difficulty

Easy

More difficult

6. Nodejs Express Framework

Web Development Notes

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.