gtug js will save us all
DESCRIPTION
Presentation about the serverside Javascript trend and opportunity. Presented at GTUG, the Portuguese Technical Users Group.TRANSCRIPT
Featuring
STARBUCKS
Javascript will save us all
Back to the Future
Mario Valente - 2010
http://meyerweb.com/eric/thoughts/2008/10/22/javascript-will-save-us-all/
Featuring
STARBUCKS
Serverside Javascript
Hope & Opportunity
Mario Valente 2008
Featuring
STARBUCKS
Javascript will save us all
Back to the Future
Mario Valente - 2010
2005 P*
Presentation (HTML)
Logic (?)Logic (?)
Data (SQL)Data (SQL)
3-tier3-tier
MVCMVC
2008 Codebits
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
http://softwareas.com/server-side-javascript-hope-and-opportunity
The real gap is in server-side The real gap is in server-side frameworks and hosting. frameworks and hosting.
There's no killer app There's no killer app Javascript server, a la whatJavascript server, a la what
Rails did to RubyRails did to Ruby
Agenda● WTF (15 min)● RTFM (15 min)● ZOMG (15 min)● FAIL/FTW (15 min)
WTF● Architecture ● Design Patterns● Models● 3-tier● MVC● Separation of concerns● KISS/DRY
WTF?!
WTF?!
WTF?!
WTF?!
WTF...?
RTFMJavascript wi l l save us al l
● JS on the client ● JS on the server● JS on the DB● Functional goodness● JSON all the way down● REST all the way down
RTFMJavascript 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
RTFMPure (Spidermonkey)
● jslibs ● jsext● jsdb● No standards!● Killer app/Rails●Opportunity/JBoss2015
ZOMG!Server side Javascript
Web Framework● jslibs ● jsext● jsdb● No standards!● Killer app/Rails●Opportunity/JBoss2015
NodeJS?
ZOMG!Server side Javascript
Web Framework
● Standard API (file I/O,etc)● JS based JSON doc DB● JS appserver● Pure HTML templating
ZOMG!
JS/JSON/REST al l the way JS/JSON/REST al l the way down!!down!!
WTF?!
JS
ZOMG!Server side Javascript
Web Framework● jslibs ● jsext● jsdb● No standards!● Killer app/Rails●Opportunity/JBoss2015
NodeJS?
ZOMG!A Future JS Web
Framework
IntroducingSTARBUCKS
MACIEIRA (HTML templating)
CIMBALI (API/web/appserver)
SICAL (JSON storage)
https://github.com/ry/node/wiki/moduleshttps://github.com/ry/node/wiki/modules
#database#database(Awesome, Perstore)(Awesome, Perstore)
#web-frameworks-micro, #web-frameworks-full#web-frameworks-micro, #web-frameworks-full(Pintura)(Pintura)
#templating#templating(PURE)(PURE)
ZOPE- Acquisition vs Prototype OO- Object based URL mapping- Object persistence & versioning
https://github.com/ry/node/wiki/moduleshttps://github.com/ry/node/wiki/modules
#database#database(Awesome, Perstore)(Awesome, Perstore)
#web-frameworks-micro, #web-frameworks-full#web-frameworks-micro, #web-frameworks-full(Pintura)(Pintura)
#templating#templating(PURE)(PURE)
Javascript will save
Javascript will save
us all!us all!
VS.VS.
FIGHT!FIGHT!
THE END
FAIL/FTW [email protected]