Top Banner
The Javascript Revolutions By: Touhid Arastu Tehran Linux User Group - Wednesday, January 28, 2015 http://tehlug.org/index.php?page=entries/209
23
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The JavaScript revolutions

The Javascript Revolutions

By: Touhid Arastu

Tehran Linux User Group - Wednesday, January 28, 2015http://tehlug.org/index.php?page=entries/209

Page 2: The JavaScript revolutions

WHO AM I?

Page 3: The JavaScript revolutions

JavaScript Expert (Node.js, Angular.js and ..) http://github.com/arastu

Touhid Arastu Senior Web Developer At http://fax.ir

Contact Me With touhid.arastu At Gmail :) See My Full CV At http://arastu.ir

Page 4: The JavaScript revolutions

What Is The Javascript?

It’s the most popular programming language in the world

Page 5: The JavaScript revolutions

Its A Language Of Web :)

Page 6: The JavaScript revolutions

JavaScript has grown and changed with the growth of the World Wide Web

Possibly more than any other programming language.

Page 7: The JavaScript revolutions

HISTORY

Page 8: The JavaScript revolutions

First Draft Written in10 days

in May of 1995

Page 9: The JavaScript revolutions

Code Name Is:Mucha

Page 10: The JavaScript revolutions

Develop by Brendan Eich at NetscapeNetscape try to develop VB like language

Page 11: The JavaScript revolutions
Page 12: The JavaScript revolutions

JAVASCRIPT FEATURES

• Imperative and structured

• Dynamic

• Functional

• Prototype-based

Page 13: The JavaScript revolutions

What Can I Do?With JavaScript

Page 14: The JavaScript revolutions

JavaScriptInterpreter

Object(mobile, server and …)

Native Api

//codes here

Code Machine

Page 15: The JavaScript revolutions

SERVER SIDE APPS:

• Realtime Apps(chat, push notification, visualisation, game engine and …)

• Mobile App Backend

• Social Engine

• CRUD Apps

Page 16: The JavaScript revolutions

NATIVE LIKE MOBILE APP

• cordova.js

• phonegap

• titanium

Page 17: The JavaScript revolutions

MICROCONTROLLERS

Page 18: The JavaScript revolutions

• Espruino

• Tessel

Page 19: The JavaScript revolutions
Page 20: The JavaScript revolutions

var tessel = require('tessel');var servo = require('servo-pca9685') .use(tessel.port['A']); var position = 0;setInterval(function () { servo.move(1, position); position = position == 0 ? 1 : 0;}, 500);

Page 21: The JavaScript revolutions
Page 22: The JavaScript revolutions

A SUGGESTIONvar car = require('Car');

car.on('changeSpeed', function(e) {if(e.speed > 120) {this.readingLight.turnOn()

}});

Page 23: The JavaScript revolutions

Any Questions?