Nodejs Learning Road MapThe following is my document and tutorial, each package corresponding to an article, you can read according to their needs, a complete list of articles can be viewed: zero-based NODEJS series articles.
Project management: Npm,grunt, Bower, Yeoman
Web development: Express,ejs,hexo, Socket.io, Restify, Cleaver, Stylus, Browserify,cheerio
Toolkit: Underscore,moment,connet,later,log4js,passport,passport (OAuth), Domain,require,reap,Commander,retry
Database: Mys
blog address, and grab screenshots, after loading jquery to modify the title of my blog, the results are as follows: Before.png After.png11. Other
Phantomjs can do so much so that I may have introduced only one of its n points, and n tends to infinity. Said is only the introduction of the post, so no more in-depth introduction down, of course, I was only a small white, temporarily know the more obvious. In fact, PHANTOMJS can be combined with Jasm
What type of JavaScript do you write? Most developers write client JavaScript, and 98% of developers say they do not write Node programs currently, however, developers who are interested in learning about Node 9% are not interested in Node 71% are not using languages that can be compiled into JavaScript (such as CoffeeScript, TypeScript, and Dart) which JavaScript writing style do you prefer? Although this issue has caused some controversy, it still gets the result. 85% of developers choose to u
context. First, create a simple module.
Var fs = require ('Fs'); module. exports = {// Do something with 'Fs'} think this is cool, right? However, now we test that module, but we need to simulate fs to see how it is used internally. // Jasmine's syntax http://pivotal.github.com/jasmine/describe ('somemodule', function () {var loadModule = require ('Module-loader '). loadModule; var module, fsMock; beforeEach (function () {fsMock ={// a mock for 'Fs
tools that are intended to replace JavaScript in order to increase the speed of operation, the most popular are the following five:
Coffeescript
TypeScript
Dart
Haxe
JSX
Although the most popular is coffeescript, but is affected by the popularity of Typescript, the second half of 2013 sentiment slightly declined.In November 2013, Dart's popularity rose, surpassing Typescript and ranked 2nd, pushing the coffeescript in 1th place. The reason for this is the November
has been implemented for many third-party libraries, and we can quickly apply them to our projects. Of course, the amount of the third party contained in our common: Angular, jQuery, underscore, lodash, Jasmine and so on.The official also provided us with a handy tool called TSD (full name: TypeScript Definition Manager for definitelytyped), which is the idea of using NPM package management tools to implement a similar package management tool, We don
the increasing complexity of the app. Fortunately, Angularjs's core team has provided the necessary tools.We have built protractor, an end-to-end tester for simulating user interaction, that can help you verify the health of your ANGULARJS program.Protractor uses the Jasmine test framework to define tests, and protractor has a very robust API for different page interaction behaviors.There are other end-to-end test tools, but the advantage of protract
location of your source and test files? -You can use glob patterns, eg."Js/*.js"Or"Test/**/*spec.js". +Enter EmptystringTo move to the next question. -> + AShould any of the files included by the previous patterns be excluded? atYou can use glob patterns, eg."**/*.SWP". -Enter EmptystringTo move to the next question. -> - -Do you want Karma to watch all the files and run the tests on? - Press tab to list possible options. in>Yes - toConfig file generated at"D:\workspace\javascript\karma\karm
it on NPM, but we find that the channel is the deciding factor in dealing with concurrency and parallelism.
jellyfish dry translated 2 weeks ago 0 human top top translation is good Oh!
Integrated test FrameworkWith node. JS, we already have our test framework choices, but some frameworks are better for the front end, like Jasmine, and other frameworks are better for the backend, such as Mocha. There are other op
to the latest status.
03. Performance Analysis
Periodically run a static code analysis tool, such as JSHint or JSLint, for your code. These checks for known encoding defects and potential errors, such as forgetting to use strict mode or referencing undeclared variables, and missing parentheses or semicolons. Tool controls that fix any problems to improve the quality of your code. Try setting the default options for your project team to enhance the coding standard, such as indent each line b
, KarmaKarma is a simple JavaScript testing tool that allows JavaScript code to be executed in multiple real browsers.DEMO: http://karma-runner.github.io/3, CasperjsCasperjs is an open source navigation script and test tool, written using JavaScript based on PHANTOMJS, for testing Web application functions, Phantom JS is a server-side JavaScript API WebKit. It supports a variety of Web standards: DOM processing, CSS selectors, JSON, Canvas, and SVG.DEMO: http://casperjs.org/4, JasmineJasmine is
Step-by-step. CSS can't be programmed?Use less, Sass, Stylus, or even directlyAbsurd, there are many frames in addition to bootstrap.JS write a lot of trouble? Jquery.Mobile development? Zepto.js.Bad structure? Looking for frames, backbone.js is Mvc,angularjs and Ember.js is Mvvm,twitter also got an event-driven framework flight.More libraries to optimize the load? Requirejs.Code quality problem? Jasmine, Qunit, Mocha do unit tests.All kinds of browse
or other series of books makes you feel good. If you are interested in religious or psychological books, of course you can also read this kind of books. Any book that gives people a positive, healthy attitude to the world can make you feel good about yourself and relax. Courtney compiles and collects 10 books to help develop your potential.5. Try the meditation method. A poetic and idyllic picture, from the An Oasis prairie or the vast desert backdrop, triggers all your senses to experience. Ca
languages
Javascript/node.js
JavaScript language Essence
Cut page
Html/html5
Css/css3
Photoshop/paint.net
Development tools
Ide
Vim/sublime Text2
Notepad++/editplus
Webstorm
Debugging Tools
Firebug/firecookie
Yslow
Iedevelopertoolbar/ietester
Fiddler
Version Management
CSS can't be programmed? With Less,Sass,Stylus, even directly withabsurd, the framework in additionBootstrapThere's a lot more. JS write a lot of trouble? JQuery. Mobile development? Zepto.js. Bad structure? Find the frame,Backbone.jsis MVC,AngularJSand theEmber.jsIt's mvvm,twitter and an event-driven framework.Flight. More libraries to optimize the load? Requirejs. Code quality problem? Jasmine,Qunit,Mochado unit tests. All kinds of browsers to test?
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.