Upgrade to Pro — share decks privately, control downloads, hide ads and more …

JavaScript through ages

Basia Madej
October 08, 2014

JavaScript through ages

JavaScript, Modern frameworks & Angular.js

Basia Madej

October 08, 2014
Tweet

More Decks by Basia Madej

Other Decks in Technology

Transcript

  1. • in the browser • scripting • lightweight • fast

    • powerful • not that difficult • multi-paradigm
  2. JavaScript - general • based on C syntax • (almost)

    everything is an Object • Prototypes, not Classes
  3. 3 parts of client-side JS • syntax (ECMAScript 262 standard)

    • access to Document Object Model (document) • access to Browser Object Model (window) ◦ location, history, screen, navigator, alert/confirm/prompt, timing
  4. Actual bad things • global variables • block syntax, no

    block scope • eval(“1+1”) • phony Arrays • typeOf, NaN • poor bitwise operators
  5. jQuery • more friendly than vanilla JavaScript • for animations

    • for stuff that look nice • plenty of plugins • for UX/UI people and designers • for small projects
  6. • for Single Page Applications • developed by Google &

    community • https://angularjs.org/
  7. Cool things about Angular • directives • two-way data bindings

    • Model-View-Whatever • jQLite & AngularUI • history/routes