Home > Backend Development > PHP Tutorial > Introduction to php and node.js

Introduction to php and node.js

PHPz
Release: 2019-02-12 11:17:40
Original
1203 people have browsed it

php and node.js

Everyone knows about php. Mark used it to write Facebook back then. In comparison, node.js is still very young.

What is node.js?

node.js is

1. A toolkit for writing javascript for high-performance websites.

2. Single-threaded asynchronous high speed.

3. Asynchronous memory consumption test: A million-level concurrency test on the Internet, 1M connection consumed 16G of memory without optimization

node.js vs php [Recommended reading: Node.js VS PHP — Which one should you choose?

Advantages:

1. High performance (mechanism problem)

2. High development efficiency (save a lot of problems)

3. Wide range of applications (can develop desktop systems, electron framework)

Disadvantages:

1. New, few people

2. Few middlewares

3. The IDE is not perfect

The current learning materials for node.js are not very complete either. The main learning method is to read the documentation and add it yourself More testing.


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template