javascript and oop

13
JavaScript + OOP Dustin Tauer Easel Solutions

Upload: easelsolutions

Post on 10-May-2015

537 views

Category:

Technology


0 download

DESCRIPTION

Brief presentation that accompanied a code demonstration on Object Oriented Programming and JavaScript

TRANSCRIPT

Page 1: JavaScript and OOP

JavaScript + OOP

Dustin TauerEasel Solutions

Page 2: JavaScript and OOP

Dustin Tauer

Developer (11 years)Instructor (7 years)Web, Desktop, Mobile, eLearning

[email protected]@dtauer

Page 3: JavaScript and OOP

Easel Solutions

• Training– Adobe/Microsoft Partner

• Customized Training– Coaching

• Consulting– Finding solutions

• Adobe Connect Reseller

easelsolutions.comblog.easelsolutions.com@easelsolutions

Page 4: JavaScript and OOP

OOP + JavaScript

• OOP Techniques– Scope, Classes, Public/Private, Inheritance

• A little bit on frameworks– RequireJS– BackboneJS– Etc.

• Recommendations– Tooling is key– Frameworks are preference

Page 5: JavaScript and OOP

JavaScript

1996 JavaScri

pt

2005AJAX

Is that it?

Page 6: JavaScript and OOP

.NET Timeline

2002

v1.0

2005

v2.0

2006

v3.0

2010

v4.0

2012

v4.5

Page 7: JavaScript and OOP

JavaScript (ugh)

var total = 100;total += "A String";crazy = total + 200;console.log(crazy);

Page 8: JavaScript and OOP

Why??????

Page 9: JavaScript and OOP

Let’s “force” JavaScript into OOPDemo

Page 10: JavaScript and OOP

Frameworks and Tooling are Key

Page 11: JavaScript and OOP

Frameworks

• There are far too many to list– TodoMVC is a good resource– http://todomvc.com/

• RequireJS is manditory– Manages your files/modules– http://requirejs.org/

Page 12: JavaScript and OOP

Tools

• Above all, get yourself some code hinting and snippets– Aptana (http://www.aptana.com/)– Sublime Text (http://www.sublimetext.com/)– Brackets (https://github.com/adobe/brackets)

Page 13: JavaScript and OOP

Thanks!

Dustin TauerEasel Solutionst :: @dtauere :: [email protected]