GTUG JS will save us all

1,168 views

Published on

Presentation about the serverside Javascript trend and opportunity. Presented at GTUG, the Portuguese Technical Users Group.

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

No Downloads
Views
Total views
1,168
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
14
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

GTUG JS will save us all

  1. 1. Javascript will save us all Back to the Future ring F e atu KS RB UC S TAMario Valente - 2010
  2. 2. http://meyerweb.com/eric/thoughts/2008/10/22/ javascript-will-save-us-all/
  3. 3. Serverside Javascript Hope & Opportunity ring F e atu KS RB UC S TAMario Valente 2008
  4. 4. http://softwareas.com/server-side-javascript-hope-and- opportunity
  5. 5. Javascript will save us all Back to the Future ring F e atu KS RB UC S TAMario Valente - 2010
  6. 6. 2005 P*
  7. 7. 3-tierPresentation (HTML) Logic (?) Data (SQL)
  8. 8. MVC
  9. 9. 2008 Codebits
  10. 10. http://softwareas.com/server-side-javascript-hope-and-opportunity The real gap is in server-side frameworks and hosting. Theres no killer app Javascript server, a la what Rails did to Ruby If they can come up with a solid virtualisation environment for Javascript, they may be on to a big winner. They could be the BEA or JBoss of 2015
  11. 11. Agenda● WTF (15 min)● RTFM (15 min)● ZOMG (15 min)● FAIL/FTW (15 min)
  12. 12. WTF● Architecture● Design Patterns● Models● 3-tier● MVC● Separation of concerns● KISS/DRY
  13. 13. WTF?!
  14. 14. WTF?!
  15. 15. WTF?!
  16. 16. WTF?!
  17. 17. WTF...?
  18. 18. RTFMJavascript will save us all ● JS on the client ● JS on the server ● JS on the DB ● Functional goodness ● JSON all the way down ● REST all the way down
  19. 19. RTFM Javascript on the server● Pure(SpiderMonkey,V8,Squirrelfish)● Rhino/JVM (Jaxer, AppJet, 10gen) Javascript on the DB● CouchDB (JS views)● Other OO/XML/doc oriented DBs
  20. 20. RTFMPure (Spidermonkey)● jslibs● jsext● jsdb● No standards!● Killer app/Rails●Opportunity/JBoss2015
  21. 21. ZOMG!Server side Javascript Web Framework● jslibs● jsext● jsdb NodeJS?● No standards!● Killer app/Rails●Opportunity/JBoss2015
  22. 22. ZOMG!Server side Javascript Web Framework● Standard API (file I/O,etc)● JS based JSON doc DB● JS appserver● Pure HTML templating
  23. 23. JSW ZTF O?! M G ! JS/JSON/REST all the way down!!
  24. 24. ZOMG!Server side Javascript Web Framework● jslibs● jsext● jsdb NodeJS?● No standards!● Killer app/Rails●Opportunity/JBoss2015
  25. 25. Intr od uZOMG! ST AR ci n g A Future JS Web BU CK Framework S MACIEIRA (HTML templating) CIMBALI (API/web/appserver) SICAL (JSON storage)
  26. 26. https://github.com/ry/node/wiki/modules #database (Awesome, Perstore)#web-frameworks-micro, #web-frameworks-full (Pintura) #templating (PURE)
  27. 27. ZOPE- Acquisition vs Prototype OO- Object based URL mapping- Object persistence & versioning
  28. 28. https://github.com/ry/node/wiki/modules #database (Awesome, Perstore)#web-frameworks-micro, #web-frameworks-full (Pintura) #templating (PURE)
  29. 29. ill sa ve sc rip twJa va a ll! us
  30. 30. VS.FIGHT!
  31. 31. THE END FAIL/FTW ?mfvalente@gmail.com

×