laug mootools and common js
DESCRIPTION
TRANSCRIPT
Server Side JavaScript and MooTools
London Ajax User Group2010-09-14
Installation• Build your own MooTools 1.3
• require(‘MooTools’).apply(GLOBAL)
Hello world!
CommonJS is awesome
• nothing blocks (even IO has callbacks)
• fast
• scalable
• it’s JavaScript
• it’s flourishing (runs on webOS iOS?)
Common problem
Common problem
Common problem
Solution
Base Model
Extends for server side
Extends for front-enddatabase
filesystem DOM
back-end front-end
data
validation
common methods
Browsers war again
• Node JS
• Ringo
• V8CGI
• Rhino
• Juice
• mod js
• Myna
• Narwahl
• Sling
• Apengine
• Torino
• ...
Meso• Runner and toolkit that work in several
implementations
Deck
• server interface
• examples include node, ringo, v8cgi
Thank you
• Piotr Zalewa@zalunhttp://piotr.zalewa.info/
• Example http://tinyurl.com/28fbodl
• http://davidwalsh.name/mootools-nodejs
• http://net.tutsplus.com/tutorials/javascript-ajax/learning-serverside-javascript-with-node-js/
• http://nodejs.org/
• http://github.com/keeto/meso
• http://github.com/keeto/deck
Resources