Web App 

Development 

WITH 


 + express3.0.0




this Presentation 


  •  for  newbs  { Mercy for the newbs }

 
  • What is & Why Node.JS platform?

  •  All you need to know to create a web app on node.js




NOT the only way to create apps in NodeJS



Event Driven*
 SERVER-SIDE Javascript env.

Open source & cross platform
nodejs.org
Runs JS using V8 Engine 
Asynchronous progg.* the easy way
JS is compiled to native machine code 
[no interpreting or bytecode]

CodE Lab - 1   

 

 - Install -

- Fun WITH the Node Shell - 

- Simple web server -

- NPM - [https://npmjs.org/]



Asynchronous progg. the easy way
Event Driven

Why Node.JS PLatform

Modular
performance & scalability
Developer Agility
Efficient resource utilization [Event driven]

BLOCKING VS  NON-BLOCKING  I/O

 

Blocking vs Non-blocking I/O



Performance IN ACTION



PERFORMANCE IN ACTION



How to write web apps




express 3.0.0

http://expressjs.com/


Code-Lab-2


-Build a web app with ExpressJS-

-Serving requests-

- develop-build-deploy with nodemon-

- serving REST Endpoint - 


Code-Lab-3


- Realworld WeatherApp -

- requestJS for HTTP Client-
 
- asyncJS for asynchronous progg. -



 













Modern web-app architecture*


OK BYE!



References


Architecture of modern webapp - http://www.slideshare.net/scothis/aoa-mwa
http://net.tutsplus.com/tutorials/javascript-ajax/node-js-for-beginners/
https://www.udemy.com/blog/learn-node-js/
http://code.danyork.com/2011/01/25/node-js-doctors-offices-and-fast-food-restaurants-understanding-event-driven-programming/
http://zgadzaj.com/benchmarking-nodejs-basic-performance-tests-against-apache-php
Node.JS infographic - https://coderwall.com/p/_ukoeg

http://www.slideshare.net/martinlippert/modern-architectures-with-spring-and-javascript

* http://www.slideshare.net/scothis/aoa-mwa

http://beaderbubbe.blogspot.com/2011/04/doctors-office.html


Copy of Web App Development With NodeJS+ExpressJS

By Praveen Nuthulapati

Copy of Web App Development With NodeJS+ExpressJS

Learn about quickly developing web applications with NodeJS, and its dependent libraries ExpressJS. We will also discuss using other libraries such as AsyncJS and RequestJS to access data from RESTful services.

  • 872