serverside javascript - hope and opportunity (introducing starbucks js web framework)

17
Introducing STARBUCKS A Future SSJS Web Development Framework Serverside Javascript Hope & Opportunity M rio Valente Codebits 2008 á

Upload: mario-valente

Post on 04-Jul-2015

2.789 views

Category:

Technology


7 download

TRANSCRIPT

Page 1: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)

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)

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)

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)

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)

WTF?!

Page 6: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)

WTF?!

Page 7: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)

WTF?!

Page 8: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)

WTF?!

Page 9: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)

WTF...?

Page 10: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)

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)

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)

RTFMPure (Spidermonkey)

● jslibs ● jsext● jsdb● No standards!● Killer app/Rails●Opportunity/JBoss2015

Page 13: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)

RTFM

Javascript on the server

Page 14: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)

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)

ZOMG!

JS/JSON/REST all the way down!!

WTF?!

JS

Page 16: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)

ZOMG!A Future JS Web Framework

IntroducingSTARBUCKSBRANCA (HTML templating)

CIMBALINO (API/web/appserver)

BICA (JSON storage)

Page 17: Serverside Javascript - Hope and Opportunity (Introducing Starbucks JS Web Framework)

FIMFAIL/FTW ?

[email protected]