global environmentNPM install-g SupervisorSo we can use Supervisor to start the script.Supervisor IndexWhen we make changes to the file, we can see that the console has more than three lines, the server has been restartedNative Console debuggingnode. js natively supports debugging, and adding a breakpoint before the statement is preceded by a debugger instructionvar server=require ('./server '), router=
I. Source Code Composition1. It has 8000 lines of C ++ code and 2000 lines of javascript code.2. the built-in javascript in node. js includes the main program src/node. js and the Module Program lib/*. js.3. main libraries on which node
Node. js is a magic horse? To put it simply, it is a framework for implementing JavaScript running locally, including a js language interpreter (V8) and some class libraries. With it, you can use the js language to develop some local applications, so that js is not bound by
about 14.2 MB. Don't dwell on it.Install and then debug our hello_world.js. Execute node--debug hello_world.jsThen open a separate command-line window to execute the Node-inspectorWill prompt us to visit: http://127.0.0.1:8080/debug?port=5858Open http://127.0.0.1:8080/debug?port=5858 with ChromeWill find a familiar interface. Appearance and function front end JS
contact: I felt very depressed and did not know where to start. For many new users, what you need is to clarify things in a bit, rather than a mystery. It can be understood that Node. js is a server that carries everything that Javascript, CSS, Html, and other webpages can have. However, it is not integrated with IDE. Next, we can deploy IIS, Apache, and Tomcat
, the game engine can do, the XDK such a heavyweight IDE can do, and what performance can be questioned?
consumes more resources.
What application do you do, to be resident backstage? Is your memory still dozens of MB?
long development cycle.
Obviously shorten the development cycle OK ... Don't believe you try to cross a platform. Even if not cross-platform, you look at my front atom-shell paste case, the Web page to do the UI
Recently, because of working relationships, I have been doing the development of node. js, learning the KOA Framework, ORM Framework Sequelize, and the configuration of swagger documents. However, because the swagger document uses a ES6 decorator (called Annotations in Java) recently, node. JS cannot compile the projec
what does the IIS and. NET Framework add up to? Dozens of times times the volume difference, even if the two are equally matched, is not that despised under that too stingy hard side?Of course, to get started, the first question is the IDE. Initially, I was tossing around a person, using visual studio+iisnode+tfs, various inconveniences. 1 weeks later turned to webmetrix,3 days after the dingy abandonment. Then a variety of ides like running water-li
specified event. Removealllistener ([Event]): all event handler functions are dismissed for the specified event. Setmaxlisteners (n): Specifies the number of mouths of the event handler function. Listeners (event): gets all event handlers for the specified event. Emit (event,[arg1],[arg2],[...]): manually trigger the specified event. Vi. node. js Debuggerin the Node
http://news.cnblogs.com/n/193893/https://nodejstools.codeplex.com/Microsoft has released an official plugin, "node. js Tools for Visual Studio (Ntvs)", which introduces the node. JS Support feature to the Visual studio IDE, and the plug-in turns VS into a
\hello>spm buildThe build process will have not Found I18n!lang dependency! warning, regardless.In fact, when the code is running, we will configure the preload plugin in Seajs.config, which will not have any effect.After the build is finished, the corresponding code file is generated in sea-modules/apps/hello/1.0.0/, and the business JS file is merged into Main.js.C:\assets\sea-modules>tree apps /fYou can view the output of the build by executing the
other technologies to node. js. Lightweight node. JS uses the event-driven architecture, which means that everything that is done on it, each separate invocation and operation, is a series of asynchronous callbacks. This allows node. js
First install sublime Text3, Baidu a bunch, find it yourself. Theoretically sublime text2 should also be possible. I can only say: This software is really too tough.
Cross-platform, rich plug-in system, plus plug-ins is basically a powerful IDE. I am currently using Emmet, Python, and some formatted plugins (Xml,json), plus this installation of node. js.
We know that Mac is a natural system to improve our development efficiency, reasonable use of the artifact under the Mac, help improve our development efficiency. Individual is a vim control, share today, I am under the Mac is how to carry out node. JS development environment built. Let's show you the final piece!Iterm2First, it is recommended to Iterm2 this command-line artifact. It is a terminal replaceme
Dom framework cannot be released as scheduled because it runs to another city and has no computers. In this period, the most urgent need was to seek a super lightweight backend to build up my framework, so I reached out to the legendary Server-Side Javascrpt. Backend JS is undoubtedly the node. js of Ryan Dahl, and jaxer developed by the aptana
framework) shortcomings: New, less middleware, less IDE imperfectnode. js's weaknesses and solutions1 The default does not support multi-core, but can be resolved with Cluster 2 server cluster is not supported by default, Node-http-proxy can solve 3 using Nginx to do load balancing, static by Nginx processing, dynamic with node.
In the development of node. JS environment, debugging is a very painful thing, but with the development of the times, there are now many kinds of node environment code debugging methods, today I will note the way I useNode-inspector:Node-inspector interacts with users via web pages, a browser based on the WebKit kernel, such as chrome, Safari, or Maxthon (roaming
1. Install node. js
It is easier to deploy node. js on the Windows platform. From 0.6.1, node. js can be directly installed on the Windows platform through the. Mis file.
Http://nodejs.org/#download the latest version is
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.