It's Primetime: A Javascript Story

2,207 views
2,114 views

Published on

It’s pretty fair to say that JavaScript is not a fad; it is by far
the most widespread programming language out there and also the most available runtime we have, ranging from toasters to the web, and even to the backend development through Node.js. Its probably also fair to say that we should really embrace it and start treating it like a first class citizen of our day to day work. In this talk, Einar will take you on a tour of how you can work with JavaScript with similar patterns you’re already used to from the rest of your server code. Writing tests or specifications that proves your code is also important, Einar will show how to get started with this and how you can achieve more testable JavaScript by applying patterns like MVVM (Model View ViewModel) using KnockoutJS

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,207
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • jQueryCoupling
  • TypeScriptCoffeeScript
  • Douglas Crawford / Yahoo - YUI
  • Douglas Crawford / Yahoo - YUI
  • Douglas Crawford / Yahoo - YUI
  • It's Primetime: A Javascript Story

    1. 1. Its Primetime: a JavaScript story Power point template by Colin Eberhardt
    2. 2. AgendaModulesMVVMDecoupling in the clientTesting JavaScript
    3. 3. Who am I Einar Ingebrigtsen @einari einar@dolittle.com http_//www.dolittle.com http://blog.dolittle.com http://www.ingebrigtsen.info
    4. 4. Confession time..I am a recovering JavaScript hater
    5. 5. Houston we have a….There are only two problems with JavaScript
    6. 6. Java &Script
    7. 7. … actually, there is a third problem… DDD DOM Driven Development
    8. 8. … and kinda, a fourth problem as well..People thinking that we need to fix JavaScript
    9. 9. … it all begins with $
    10. 10. … it all begins with $Polluted CSS selectorsPassive viewsHard to testHeavy couplingCouples JavaScript (business logic) to DOM
    11. 11. MVVMBased on Presentation Model by Martin Fowler http://martinfowler.com/eaaDev/PresentationModel.htmlCommonly used in the XAML stack WPF Silverlight WP7 WP8 Windows RT / Store Apps
    12. 12. MVVM Model Get from server ViewObserves Observable ViewModel
    13. 13. DecoupleMake many small applicationsCompose together
    14. 14. EventAggregator ViewModel ViewModel
    15. 15. JavaScript: The Good Parts
    16. 16. SummaryKnockoutJShttp://knockoutjs.comRequireJShttp://requirejs.orgForsetihttp://github.com/dolittle/forsetiBifrosthttp://bifrost.dolittle.comPlease rate the talk athttp://tinyurl.com/JavaScriptStory http://blog.dolittle.com http://bifrost.dolittle.com
    17. 17. Thanks for your attention

    ×