![Page 1: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)](https://reader033.vdocuments.net/reader033/viewer/2022042614/5596e87c1a28ab5c0f8b45b8/html5/thumbnails/1.jpg)
Introducing
STARBUCKS A Future SSJSWeb Development
Framework
Serverside Javascript
Hope & Opportunity
M rio Valente Codebits 2008á –
![Page 2: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)](https://reader033.vdocuments.net/reader033/viewer/2022042614/5596e87c1a28ab5c0f8b45b8/html5/thumbnails/2.jpg)
http://softwareas.com/server-side-javascript-hope-and-opportunity
“The real gap is in server-side frameworks and hosting.
There s 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”
“The real gap is in server-side frameworks and hosting.
There s no killer app ’ “ ”Javascript server, a la what
Rails did to Ruby.”
![Page 3: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)](https://reader033.vdocuments.net/reader033/viewer/2022042614/5596e87c1a28ab5c0f8b45b8/html5/thumbnails/3.jpg)
Agenda● WTF (15 min)● RTFM (15 min)● ZOMG (15 min)● FAIL/FTW (15 min)
![Page 4: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)](https://reader033.vdocuments.net/reader033/viewer/2022042614/5596e87c1a28ab5c0f8b45b8/html5/thumbnails/4.jpg)
WTF● Architecture ● Design Patterns● Models● 3-tier● MVC● Separation of concerns● KISS/DRY
![Page 5: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)](https://reader033.vdocuments.net/reader033/viewer/2022042614/5596e87c1a28ab5c0f8b45b8/html5/thumbnails/5.jpg)
WTF?!
![Page 6: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)](https://reader033.vdocuments.net/reader033/viewer/2022042614/5596e87c1a28ab5c0f8b45b8/html5/thumbnails/6.jpg)
WTF?!
![Page 7: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)](https://reader033.vdocuments.net/reader033/viewer/2022042614/5596e87c1a28ab5c0f8b45b8/html5/thumbnails/7.jpg)
WTF?!
![Page 8: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)](https://reader033.vdocuments.net/reader033/viewer/2022042614/5596e87c1a28ab5c0f8b45b8/html5/thumbnails/8.jpg)
WTF?!
![Page 9: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)](https://reader033.vdocuments.net/reader033/viewer/2022042614/5596e87c1a28ab5c0f8b45b8/html5/thumbnails/9.jpg)
WTF...?
![Page 10: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)](https://reader033.vdocuments.net/reader033/viewer/2022042614/5596e87c1a28ab5c0f8b45b8/html5/thumbnails/10.jpg)
RTFM“Javascript 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
![Page 11: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)](https://reader033.vdocuments.net/reader033/viewer/2022042614/5596e87c1a28ab5c0f8b45b8/html5/thumbnails/11.jpg)
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
![Page 12: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)](https://reader033.vdocuments.net/reader033/viewer/2022042614/5596e87c1a28ab5c0f8b45b8/html5/thumbnails/12.jpg)
RTFMPure (Spidermonkey)
● jslibs ● jsext● jsdb● No standards!● Killer app/Rails●Opportunity/JBoss2015
![Page 13: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)](https://reader033.vdocuments.net/reader033/viewer/2022042614/5596e87c1a28ab5c0f8b45b8/html5/thumbnails/13.jpg)
RTFM
Javascript on the server
![Page 14: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)](https://reader033.vdocuments.net/reader033/viewer/2022042614/5596e87c1a28ab5c0f8b45b8/html5/thumbnails/14.jpg)
ZOMG!Server side Javascript
Web Framework
● Standard API (file I/O,etc)● JS based JSON doc DB● JS appserver● Pure HTML templating
![Page 15: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)](https://reader033.vdocuments.net/reader033/viewer/2022042614/5596e87c1a28ab5c0f8b45b8/html5/thumbnails/15.jpg)
ZOMG!
JS/JSON/REST all the way down!!
WTF?!
JS
![Page 16: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)](https://reader033.vdocuments.net/reader033/viewer/2022042614/5596e87c1a28ab5c0f8b45b8/html5/thumbnails/16.jpg)
ZOMG!A Future JS Web Framework
IntroducingSTARBUCKSBRANCA (HTML templating)
CIMBALINO (API/web/appserver)
BICA (JSON storage)