The presentation is                          about to start...Saturday, May 14, 2011
JavaScriptMVC                            Pedro PimentelSaturday, May 14, 2011
What I do                   ThoughtWorks                   Ruby                  @zukunftsalick                  ShySaturd...
Who are youSaturday, May 14, 2011
Who are you                         Uses Javascript as your main dev languageSaturday, May 14, 2011
Who are you                         Uses Javascript as your main dev language                         Above average Javasc...
Who are you                         Uses Javascript as your main dev language                         Above average Javasc...
Who are you                         Uses Javascript as your main dev language                         Above average Javasc...
Agenda                         •   Needs for a framework                         •   Tested ones                         •...
NeedSaturday, May 14, 2011
(Saturday, May 14, 2011
StructureSaturday, May 14, 2011
We observe a patternSaturday, May 14, 2011
We observe a pattern                    We create abstractions and generalizationsSaturday, May 14, 2011
We observe a pattern                    We create abstractions and generalizations                    We turn those abstra...
We observe a pattern                    We create abstractions and generalizations                    We turn those abstra...
We observe a pattern                    We create abstractions and generalizations                    We turn those abstra...
Once upon a time ...                “The architects used all technologies of the heavens                 and earth they ha...
Once upon a time ...                “The architects used all technologies of the heavens                 and earth they ha...
Once upon a time ...                “The architects used all technologies of the heavens                 and earth they ha...
Once upon a time ...                “The architects used all technologies of the heavens                 and earth they ha...
Once upon a time ...                “The architects used all technologies of the heavens                 and earth they ha...
Once upon a time ...                “The architects used all technologies of the heavens                 and earth they ha...
And then they                           RESTedSaturday, May 14, 2011
)Saturday, May 14, 2011
Ruby                            ~40 people                              28 devs                         > 10 data sourcesS...
Pivot TableSaturday, May 14, 2011
Saturday, May 14, 2011
Saturday, May 14, 2011
Saturday, May 14, 2011
Saturday, May 14, 2011
Saturday, May 14, 2011
Saturday, May 14, 2011
Saturday, May 14, 2011
FuncUnitSaturday, May 14, 2011
StealJSSaturday, May 14, 2011
jQueryMXSaturday, May 14, 2011
DocumentJSSaturday, May 14, 2011
Similarities with RailsSaturday, May 14, 2011
JavascriptMVC    js steal/generate/app app_name    js steal/generate/controller App_name.Controllers.Name    js steal/gene...
JavascriptMVC    RailsSaturday, May 14, 2011
JavascriptMVC                     Rails           EJS <h2><%= foo %></h2>         ERB            JAML h2(data.foo)        ...
JavaScriptMVC is not RailsSaturday, May 14, 2011
shu   ha   riSaturday, May 14, 2011
...Saturday, May 14, 2011
?Saturday, May 14, 2011
Thank you!                           @zukunftsalickSaturday, May 14, 2011
Upcoming SlideShare
Loading in …5
×

Introduction to JavaScriptMVC

4,562 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

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

No notes for slide

Introduction to JavaScriptMVC

  1. 1. The presentation is about to start...Saturday, May 14, 2011
  2. 2. JavaScriptMVC Pedro PimentelSaturday, May 14, 2011
  3. 3. What I do ThoughtWorks Ruby @zukunftsalick ShySaturday, May 14, 2011
  4. 4. Who are youSaturday, May 14, 2011
  5. 5. Who are you Uses Javascript as your main dev languageSaturday, May 14, 2011
  6. 6. Who are you Uses Javascript as your main dev language Above average Javascript devsSaturday, May 14, 2011
  7. 7. Who are you Uses Javascript as your main dev language Above average Javascript devs Average Javascript devsSaturday, May 14, 2011
  8. 8. Who are you Uses Javascript as your main dev language Above average Javascript devs Average Javascript devs Doesn’t know JavascriptSaturday, May 14, 2011
  9. 9. Agenda • Needs for a framework • Tested ones • JMVC itself • Show me some code!Saturday, May 14, 2011
  10. 10. NeedSaturday, May 14, 2011
  11. 11. (Saturday, May 14, 2011
  12. 12. StructureSaturday, May 14, 2011
  13. 13. We observe a patternSaturday, May 14, 2011
  14. 14. We observe a pattern We create abstractions and generalizationsSaturday, May 14, 2011
  15. 15. We observe a pattern We create abstractions and generalizations We turn those abstractions into a frameworkSaturday, May 14, 2011
  16. 16. We observe a pattern We create abstractions and generalizations We turn those abstractions into a framework The framework becomes a golden hammerSaturday, May 14, 2011
  17. 17. We observe a pattern We create abstractions and generalizations We turn those abstractions into a framework The framework becomes a golden hammer People start subverting the frameworkSaturday, May 14, 2011
  18. 18. Once upon a time ... “The architects used all technologies of the heavens and earth they hadn’t got round to the first time. “Saturday, May 14, 2011
  19. 19. Once upon a time ... “The architects used all technologies of the heavens and earth they hadn’t got round to the first time. “ The simple new() was replaced by a FactorySaturday, May 14, 2011
  20. 20. Once upon a time ... “The architects used all technologies of the heavens and earth they hadn’t got round to the first time. “ The simple new() was replaced by a Factory Which was replaced by Dependency InjectionSaturday, May 14, 2011
  21. 21. Once upon a time ... “The architects used all technologies of the heavens and earth they hadn’t got round to the first time. “ The simple new() was replaced by a Factory Which was replaced by Dependency Injection Which was replaced by an IOC containerSaturday, May 14, 2011
  22. 22. Once upon a time ... “The architects used all technologies of the heavens and earth they hadn’t got round to the first time. “ The simple new() was replaced by a Factory Which was replaced by Dependency Injection Which was replaced by an IOC container Which was improved by XML configurationSaturday, May 14, 2011
  23. 23. Once upon a time ... “The architects used all technologies of the heavens and earth they hadn’t got round to the first time. “ The simple new() was replaced by a Factory Which was replaced by Dependency Injection Which was replaced by an IOC container Which was improved by XML configuration Which was supplemented by @annotationsSaturday, May 14, 2011
  24. 24. And then they RESTedSaturday, May 14, 2011
  25. 25. )Saturday, May 14, 2011
  26. 26. Ruby ~40 people 28 devs > 10 data sourcesSaturday, May 14, 2011
  27. 27. Pivot TableSaturday, May 14, 2011
  28. 28. Saturday, May 14, 2011
  29. 29. Saturday, May 14, 2011
  30. 30. Saturday, May 14, 2011
  31. 31. Saturday, May 14, 2011
  32. 32. Saturday, May 14, 2011
  33. 33. Saturday, May 14, 2011
  34. 34. Saturday, May 14, 2011
  35. 35. FuncUnitSaturday, May 14, 2011
  36. 36. StealJSSaturday, May 14, 2011
  37. 37. jQueryMXSaturday, May 14, 2011
  38. 38. DocumentJSSaturday, May 14, 2011
  39. 39. Similarities with RailsSaturday, May 14, 2011
  40. 40. JavascriptMVC js steal/generate/app app_name js steal/generate/controller App_name.Controllers.Name js steal/generate/model App_name.Models.Name js steal/getjs url_from_git_or_svn Rails rails new app_name rails generate controller Name rails generate model Name rails plugin install name_or_git_svn_urlSaturday, May 14, 2011
  41. 41. JavascriptMVC RailsSaturday, May 14, 2011
  42. 42. JavascriptMVC Rails EJS <h2><%= foo %></h2> ERB JAML h2(data.foo) Micro <h2>{% foo %}</h2> jQuery.Tmpl <h2>${foo}</h2>Saturday, May 14, 2011
  43. 43. JavaScriptMVC is not RailsSaturday, May 14, 2011
  44. 44. shu ha riSaturday, May 14, 2011
  45. 45. ...Saturday, May 14, 2011
  46. 46. ?Saturday, May 14, 2011
  47. 47. Thank you! @zukunftsalickSaturday, May 14, 2011

×