Laug Mootools And Common Js

Post on 15-Jan-2015

1.523 views 1 download

Tags:

description

 

Transcript of Laug Mootools And Common Js

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

PyCowhttp://github.com/p2k/PyCow

PyCowhttp://github.com/p2k/PyCow

workaround

Solution

Base Model

Extends for server side

Extends for front-enddatabase

filesystem DOM

back-end front-end

data

validation

common methods

Examplehttp://tinyurl.com/28fbodl

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/