Slide 1

Slide 1 text

By Morteza Milani

Slide 2

Slide 2 text

Let's talk a little about Event-driven Programming

Slide 3

Slide 3 text

What is Event? Sometimes we want one object to perform its task as soon as something special happens in another object. This "something special" is called an event

Slide 4

Slide 4 text

How it works?

Slide 5

Slide 5 text

How to do that?! You ask OS to provide you the events related to your program!

Slide 6

Slide 6 text

OK, That's enough! Get back to Node.JS Wait! Do you know Javascript?!

Slide 7

Slide 7 text

What is Javascript? ● Javascript as a toy language ● The need for more powerful, more reliable and faster Javascript as web apps appeared. ● Google Introduced V8 Javascript Engine ● Javascript client side libraries and toolkits developed: Mootools, jQuery, Dojo ● But all the above advances are limited to Browsers!

Slide 8

Slide 8 text

Node.JS: Javascript at server side ● Node.JS is a framework, built on top of V8 javascript engine to run javascript codes at server side. ● Goal: Building scalable network applications easier than ever!

Slide 9

Slide 9 text

Lets see it in action!

Slide 10

Slide 10 text

Iran Node Chapter We have Node Chapter! Visit: http://nodejs.ir Join us at http://blog.nodejs.ir Nodejs-fa at Google Groups: http://groups.google.com/group/nodejs-fa/

Slide 11

Slide 11 text

Thank you! Any questions?