Haim Michael
October 9th, 2013

All logos, trade marks and brand names used in this presentation belong
to the respective owners.
Watch the lecture at http://youtu.be/VYLL5xWc1Jc

JS

LifeMichael.com

JavaScript Jump Start
●

Introduction to JavaScript

●

Development Tools

●

Object Oriented Programming

●

Functional Programming

●

JavaScript Libraries

●

Learning Resources

●

Questions & Answers

LifeMichael.com

Table of Content
●

JavaScript is a scripting language running on the web
browser or on the server. It was originally developed by
Netscape and became available in 1995.

●

ECMA Script, defined by ECMA-262, is the standard
JavaScript language. ECMA Script defines the very
basic parts of the language

LifeMichael.com

Introduction to JavaScript
●

We can embed the code we write in JavaScript into the
HTML page using the <script> element.
<script type="text/javascript">
function do_something()
{
alert(“Good Morning!”);
}
</script>

LifeMichael.com

Introduction to JavaScript
●

We can alternatively have our code in a separated file
linked with our HTML page.
<script type=”text/javascript” src=”mycode.js”>
</script>

LifeMichael.com

Introduction to JavaScript
●

We can use a simple text editor. We can alternatively
use an IDE.

LifeMichael.com

Development Tools
●

JavaScript doesn't allow us to define classes. Each object
is a collection of properties (key value pairs).
var ob = new Object();
ob.name = "david";
ob.id = 132123;
ob.printDetails = function(){
document.write("id="+this.id+" name="+this.name);
};
ob.printDetails();
var other = {name:"david",id:123123);

LifeMichael.com

Object Oriented Programming
●

JavaScript allows us to assign functions into variables.

●

JavaScript allows us to pass the functions as
arguments.

●

JavaScript allows us to define anonymous functions and
supports closure.
var f = function(){
//do something...
}

LifeMichael.com

Functional Programming
●

The true power of JavaScript is the huge number of
available JavaScript libraries we can use in our code.

http://www.abelski.com/moodle/course/category.php?id=17

LifeMichael.com

JavaScript Libraries
●

You can find a huge range of online courses available for
free personal use at
http://abelski.lifemichael.com

●

Mozilla Developer Network
https://developer.mozilla.org/en-US/

●

Google JavaScript Style Guide
https://code.google.com/p/google-styleguide/

●

Facebook JavaScript Developers Group
https://www.facebook.com/groups/407961892610345/

LifeMichael.com

Learning Resources
●

Two courses you might find interesting include
Software Engineering in PHP
more info
Android 4.4 Java Applications Development
more info
HTML5 Cross Platform Mobile Applications
more info

●

If you enjoyed my lecture please leave me a comment
at http://speakerpedia.com/speakers/life-michael.
Thanks for your time!
Haim.

LifeMichael.com

Questions & Answers