SlideShare a Scribd company logo
JavaScript

WHO, WHAT, WHEN, WHERE, WHY
About Me

 Authored tamufeed.js     GoMobile Tech Team
                           Responsive Web Design
what
what


JavaScript is a lightweight, interpreted, object-
oriented language with first-class functions.
the server side

 1994 Netscape Enterprise Server
 1996 Microsoft IIS 3.0
 Today: Node.js
the client side

Adobe Flash, Google Chrome, Nexus 7, Firefox, Opera,
Safari, iPad, Kindle PaperWhite, Windows 8, Internet
Explorer 9, Windows Phone
The Language & Its Libraries

 Like Java and .NET, JavaScript has its go-to libraries
 Libraries! extend the present, polyfill the past, and
 pioneer the future
Links

 MDN https://developer.mozilla.org/en-
    US/docs/JavaScript
   MDN, Learn https://developer.mozilla.org/en-
    US/learn/
   W3
    http://www.w3.org/community/webed/wiki/Main_
    Page#JavaScript_core_skills
   Future http://www.webPlatform.org
   http://pineapple.io/resources/tagged/javascript?typ
    e=tutorials&sort=all_time
what it’s not

 vbscript
 python


 CoffeeScript


 Google Dart
 Microsoft TypeScript
when
when

 1995 Netscape 2.0
 1996 IE 3.0
 1997 Ecma-262
 1999 Ecma-262 Ed.3
 2009 Ecma-262 Ed.5
 2011 Ecma-262 Ed.5.1
when


 When do you JavaScript?
where
where


 HTML5 Texas http://html5tx.com
 @jsconf http://jsconf.com
 http://texasJavaScript.com
 http://austinJavaScript.com


Follow the individuals
Who’s Who?

 Douglas Crockford Y! http://www.crockford.com
 Brendan Eich N. @BrendanEich
    http://BrendanEich.com
   John Resig jQ @jeresig http://ejohn.org
   Nicholas Zakas Y! @slicknet http://www.nczonline.net
   Stoyan Stefanov Y! @stoyanstefanov
    http://www.phpied.com
   Rebecca Murphy B! @rmurphey http://rMurphey.com
   Addy Osmani G. @addyosmani http://addyosmani.com
why
why

 Pervasive: It’s everywhere
 Performance: Browser Wars for the win
 Mutable: JS lets you do stuff
 Community: Welcome to brogrammer culture
 Mashups
 Cross Platform: Apps for Windows 8, to iPhone, to
  Android
 Circumvent Your CMS
 Responsive Web Design
how

BEST PRACTICES
some best practices
best practices

 Use meaningful variable names
 Write narrative code
best practices

 Use object literals
 And JSON notation
 whenever possible
best practices

 Don’t pollute the global namespace.
best practices

Unobtrusive JavaScript

 Code is decoupled from markup; only binding of
 behavior to DOM is the CSS selector.

 Styles are decoupled from code (antipatterns:
 Twitter Badge JS, Titanium 2)
best practices

 Use strict mode.
 Stick to The Good Parts
best practices

 the module pattern
best practices

 Isolate & minimize DOM access
best practices

 Patterns
best practices

 Enhance progressively and degrade gracefully.
best practices

Prefer JS libs
 over HTML5 API
 over ES5.1
best practices

 Compress (e.g. YUI Compressor)
 Concatenate to avoid network latency & HTTP
  overhead
 Synchronous JavaScripts blocks the browser, so load
  last on the page
best practices

 Know your JS engines when testing.
JavaScript: the who, what, when, where, why, & how

More Related Content

PDF
JavaScript History
ODP
History of JavaScript
PDF
Jump start php environment
PDF
The State of PHP 2014 - Portsmouth Linux User Group (6th June 2014)
PDF
Five ways to be a happier JavaScript developer
PDF
C4ainaction-Introduction to the Pyramid Web Framework
PDF
[DevDay2018] Javascript on the Rise - By Trang Tran, Co-founder & Manager at ...
PPTX
Python for web development
JavaScript History
History of JavaScript
Jump start php environment
The State of PHP 2014 - Portsmouth Linux User Group (6th June 2014)
Five ways to be a happier JavaScript developer
C4ainaction-Introduction to the Pyramid Web Framework
[DevDay2018] Javascript on the Rise - By Trang Tran, Co-founder & Manager at ...
Python for web development

What's hot (20)

PDF
GraalVMに入門してみた
PPTX
Coding standard let’s do it
PDF
CDD @ FED
PPT
AS3FlexDB
PPTX
About PHP
PDF
Web Fundamentals Crash Course
PDF
13 steps to a faster jekyll website
PPTX
13 steps to a faster jekyll website
PPTX
Getting started with WordPress Development
PPTX
20120621 creating rich, responsive display and editor
PDF
Drupal 7 - More than a Simple CMS
PDF
Technical SEO for WordPress - 2017 edition
PDF
10 Reasons Why I Love Ruby On Rails
PDF
Why WordPress Works
PDF
Django Bath and Bristol Users Group
PPTX
Enkel og effektiv herding av windows
PPTX
Drupal 7: More than a simple CMS
KEY
WordPress for Beginners | WordCamp Birmingham
PPT
Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...
PPTX
Learn node.js by building projects
GraalVMに入門してみた
Coding standard let’s do it
CDD @ FED
AS3FlexDB
About PHP
Web Fundamentals Crash Course
13 steps to a faster jekyll website
13 steps to a faster jekyll website
Getting started with WordPress Development
20120621 creating rich, responsive display and editor
Drupal 7 - More than a Simple CMS
Technical SEO for WordPress - 2017 edition
10 Reasons Why I Love Ruby On Rails
Why WordPress Works
Django Bath and Bristol Users Group
Enkel og effektiv herding av windows
Drupal 7: More than a simple CMS
WordPress for Beginners | WordCamp Birmingham
Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...
Learn node.js by building projects
Ad

Similar to JavaScript: the who, what, when, where, why, & how (20)

PDF
Choosing Javascript Libraries to Adopt for Development
PPTX
Java script
PPTX
JavaScript as Development Platform
PDF
Kann JavaScript elegant sein?
PDF
High quality Front-End
PPTX
WT Module-3.pptx
PPTX
Javascript best practices
PPTX
Going Offline with JS
PPTX
JavaScript: Creative Coding for Browsers
PDF
Overboard.js - where are we going with with jsconfasia / devfestasia
PDF
New Features Coming in Browsers (RIT '09)
PPTX
JS Essence
PPT
JavaScript Misunderstood
KEY
10 Years of JavaScript
PDF
Best practices for JavaScript RIAs
PDF
ODP
Javascript Update May 2013
PPTX
Workshop Intro: FrontEnd General Overview
PPTX
Going offline with JS (DDD Sydney)
PPTX
Javascript 01 (js)
Choosing Javascript Libraries to Adopt for Development
Java script
JavaScript as Development Platform
Kann JavaScript elegant sein?
High quality Front-End
WT Module-3.pptx
Javascript best practices
Going Offline with JS
JavaScript: Creative Coding for Browsers
Overboard.js - where are we going with with jsconfasia / devfestasia
New Features Coming in Browsers (RIT '09)
JS Essence
JavaScript Misunderstood
10 Years of JavaScript
Best practices for JavaScript RIAs
Javascript Update May 2013
Workshop Intro: FrontEnd General Overview
Going offline with JS (DDD Sydney)
Javascript 01 (js)
Ad

Recently uploaded (20)

PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Big Data Technologies - Introduction.pptx
PPTX
A Presentation on Artificial Intelligence
PDF
Machine learning based COVID-19 study performance prediction
PDF
Encapsulation theory and applications.pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Modernizing your data center with Dell and AMD
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Diabetes mellitus diagnosis method based random forest with bat algorithm
The AUB Centre for AI in Media Proposal.docx
Understanding_Digital_Forensics_Presentation.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Big Data Technologies - Introduction.pptx
A Presentation on Artificial Intelligence
Machine learning based COVID-19 study performance prediction
Encapsulation theory and applications.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Modernizing your data center with Dell and AMD
The Rise and Fall of 3GPP – Time for a Sabbatical?
Unlocking AI with Model Context Protocol (MCP)
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
cuic standard and advanced reporting.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows

JavaScript: the who, what, when, where, why, & how