node. JS Self-study tour

Source: Internet
Author: User

Learning Foundation, JQuery native JS has a certain foundation, has its own certain technical cognition (PS: The prototype chain is still confused. Closures 6 not up!)

Of course, the best language base, c#,java,php and so on.

The first reason to learn this thing is very simple, in the garden to see a small reptile written by node, did not expect this can do something to serve their own things rather than the company of those who serve the user ah what. In short, the company's technology is very interested in, Later found angluar.js inside also has node. js a little figure, OK, OK, forced me to chant. So learn to tell the truth I don't want to know what to do if I get a raise, I just want to do what I like and write my own program, it's that simple.

Day 01

To this, node. JS Profile:

Simply put, node. JS is the JavaScript that runs on the server.

node. JS is a platform built on the Chrome JavaScript runtime.

node. JS is an event-driven I/O server-side JavaScript environment, based on the Google V8 engine, the V8 engine executes JavaScript very quickly and with great performance.

Title Google V8 engine, sound hanging is actually very hanging, the front-end development of the classmate for Google Browser is not unfamiliar with more or less contact or use I do not introduce more, mainly is more I do not know haha. But the most obvious effect is that node handles high concurrency The problem has a prominent effect!

Installation environment Windows, Linux Ah, os ah, go to see the URL here: https://nodejs.org/en/download/.

Installation process is not much to say, oh, a little for the doc command is not ripe children's shoes are still honest install C, more or less will use a little bit. Tutorial: http://jingyan.baidu.com/article/656db9189b826ce381249ce8.html

After that, see if the System Path environment has node. js configured:

To detect if the PATH environment variable is configured with node. js, click start = "Run =" Enter "cmd" + = Enter the command "path" and output the following result:

PATH=C:\oraclexe\app\oracle\product\10.2.0\server\bInch;C:\Windows\System32;C:\ windows;C:\windows\system32\wbem;C:\windows\system32\windowspowershell\v1.0\;c:\python32\python;C:\mingw\bInch;C:\programFiles\gtk2-Runtime\lib;C:\programFiles\mysql\mysqlServer 5.5\bin  ;  c  :  Span class= "PLN" >\program   Files  \nodejs\;  C:\USERS\RG\APPDATA\ROAMING\NPM 

It seems to be the address of node. js that you have installed. node is not running! If you find it, add it!

Of course, you can manually modify the path address right-click My Computer-Properties-Advanced system settings-environment variables-find path about NODEJS that paragraph of text modification go ~ As long as your file address to go up on the line, and other not easy to move, although I do not know what will happen but I still encourage the small partners like to make changes to try!

After the basic work is done! Of course, not only the node. JS installation but also the default installation of the Package management tool npm! personally think that the more powerful package management tools, A bit like a git tool can be directly updated from the server with the command, Ah, the next module Ah, upload their own package ah and so on, anyway very useful can make a lot of things to understand the limited after I study in a moment
input npm-v directly display the current NPM version, today first come here to eat!

node. JS Self-study tour

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.