AngularJS UTOSC

1,241
-1

Published on

Published in: Technology, Education

AngularJS UTOSC

  1. 1. WHO AM I?Rob TaylorSoftware Engineer & Technologist• 16 years in the field • Browser Applications • Server Applications • Mobile Applications • Architecture• Training • Trends • New Technologies• Luv learning new things
  2. 2. THE JOURNEY
  3. 3. WHAT HAS HAPPENEDRECENTLY?
  4. 4. A NEW ERA…
  5. 5. WEB APPS ARE GETTINGMORE INTELLIGENT
  6. 6. WHAT’S NEXT?
  7. 7. WEB APPLICATIONS
  8. 8. HTML CHALLENGES Yes, it really is time to move on…Designed around building web sitesDevelopers want • Single page applications • No page refresh • Separation of code • Structure (MVC) • Application design patterns • Service Integration (RESTful Web Services)
  9. 9. WE WANT TO BUILD APPS IN THE BROWSER
  10. 10. WEB APP SOLUTIONS?Emergence of many JavaScript Frameworks • Backbone • Knockout Ooooh. So • Batman many choices! • Sencha Ext • SproutCore • Spine • Sammy • Ember • Cappuccino • and the list goes on…
  11. 11. AND NOW… YAJF (Yet Another JavaScript Framework)? Not really…
  12. 12. MY LITMUS TEST1. Low barrier to entry2. Intuitive API and Syntax3. MVC (Model-View-Controller)4. Code Organization5. Data Binding6. Event Dispatching7. Templates8. Still leverages HTML and CSS (doesn’t try to hide it)9. Single code base for desktop browsers and mobile device10. Team collaboration11. Can be used with other solutions (jQuery, jQuery Mobile, other 3rd party JavaScript libraries and widgets)12. Active community and/or commercial support
  13. 13. MY LITMUS TEST (SIMPLIFIED) Can I build the same application on these devices with the same client code base? Browser Smart Phone Tablet
  14. 14. MY RESULTSI had eventually settled on Backbone.js Shortcomings • Hard to separate view from controller • No data binding • Templates replaced entire sections on eventsWith Knockout.js in a very close second Shortcomings • Data-binding required some setup • MVVM approach vs. MVC approach • Syntax is not as approachable as others frameworks
  15. 15. THEN I FOUND… It passed the my litmus test even though it was in early beta. And now that it is at a 1.0, it has gotten even better!
  16. 16. MY LITMUS TEST Low barrier to entry Intuitive API and Syntax MVC (Model-View-Controller) Code Organization Data Binding Event Dispatching Templates Still leverages HTML and CSS (doesn’t try to hide it) Single code base for desktop browsers and mobile device Team collaboration Can be used with other solutions (jQuery, jQuery Mobile, other 3rd party JavaScript libraries and widgets) Active community and/or commercial supportCould improve
  17. 17. WHAT YOU WILL SEE TODAY  Breakdown of MVC (Model-View-Controller)  Data Binding  Use of templates  Routing  Shared Data  Web service connectivity to a database
  18. 18. QUESTIONS? Rob Taylor roboncode@gmail.com Twitter: @roboncode http://roboncode.com
  19. 19. THANK YOU! Rob Taylor roboncode@gmail.com Twitter: @roboncode http://roboncode.com
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×