<<Node.js toolkit>> ©2014, Conan Zhang and Vivian S. Zhang. All rights Reserved. The corresponding post written in Chinese can be found at Conan Zhang’s blog. Please contact [email protected] if you are interested to publish it in English. <<Node.js toolkit>> will introduce you to use Javescript as server side script and use node.js framework to develop website. Nodejs framework is based on the V8 engine which is the fastest Javascript engine. Chrome browser is also based on V8. It is very smooth even when you open 20 to 30 pages simultaneously. Node.js standard web development framework, Express, can help us quickly build web sites. Developing website by node.js is more efficient than doing it by PHP and require less steep learning curve. It is ideal for building small sites and personalized web sites. We want to introduce you a lot of handy tools to reduce your workload and make elegant and beautiful site easily.
Book Content:
Chapter one: get started
1.1 Development environment—Ubuntu
1.2 Node.js Express 3.0 development Basic
1.3 Mongoose case studies—bring Json data into MongoDB
1.4 Fuzzy search in MongoDB
1.5 Node.js connection with MySql
1.6 Node.js with Bootstrap(select dropdown menu)
1.7 Node.js page splitter with Bootstrap –paginator
1.8 Node.js crawler case study
1.9 Fun Node.ks log management tool –log4js
1.10 Nginx reverse proxy for Node.js ( IP error log by log4js)
1.11 wrapping node.js application as a system service— upstart
Chapter Two: becoming a master
2.1 Node.js middleware —Connect
2.2 Standardize your node.js code—Grunt
2.3 solve your javascript dependency problem —Bower
2.4 build javascript project automatically—Yeoman
2.5 build node.js library based on npm rapidly
2.6 four ways to achieve websocket by node.js
2.7 make online chatroom— socket.io
2.8 build REST services—Restify
2.9 behavior-driven and test-first tool—Jasmine
2.10 automated unit testing— Karma and Jasmine
2.11 Node.ks server management module–forever
Chapter Three: Tracing the source, node.js in nutshell
3.1 intepretation of multi-core processing module—cluster
3.2 create a https server
3.3 asynchoronous exception handling –domain
3.4 cross plat-form communication with R
3.5 between browser and linux—tty.js
3.6 build interactive charts easily—highcharts
Chapter four : toolkit
4.1 asynchronous loading module—RequireJS
4.2 temporaty file collector–Reap
4.3 asynchronous flow control—Async
4.4 multitask time management—Async
4.5 timed task manager—Later
4.6 asynchronous programming helper—wind.js
4.7 compact and powerful toolkit—UnderscoreJS
4.8 write your own Node.js command—commander
4.9 program css—Stylus
4.10 program running on browser—browserify
4.11 elegant failure retry strategy—Retry
Chapter five: real world Application
5.1 30 seconds to make your slideshow—Cleaver
5.2 make free web application on github by Jekyll