Node.js Workshop II: Toolkit to Make Your Work Efficient

Node.js Workshop II: Toolkit to Make Your Work Efficient

Posted by Jun Zhao

Updated: Apr 22, 2014

------------------------------

Video:

Click here to subscribe to our channel! NYC Data Science Academy!

------------------------------

Meetup Announcement:

Conan Zhang and Vivian Zhang were writing a book and looking forward to publish it. Vivian Zhang shared with you most of the tools they wrote in the book.

In this workshop, Vivian worked through  how to set up a website login page (including acct authorization and security protection) and scrape a webpage. Vivian had set up Amazon instance (Ubuntu 12.0.4) for everyone.

Contributors: Vivian Zhang(CTO of SupStat Inc and Founder of NYC Data Science Academy) and Tong He(Data Scientist of SupStat Inc).

Speaker: Vivian Zhang

Outline:

During the workshop, people learned:

- Deployment of Node.js on AWS EC2 Instance

- Use Bootstrap Framework for our page

- Rules of Routes, Session and MongoDB, Error Handling and Visiting Control

- Web Scrapper

- Save JSON data into MongoDB

------------------------------

More about the book:

<<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 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 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

Topics from this blog: data science R NYC Web Scraping Meetup data

Interested in becoming a Data Scientist?

Answer 3 Simple Questions and Get Immediate Course Recommendations.