Laug Mootools And Common Js

1,982 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,982
On SlideShare
0
From Embeds
0
Number of Embeds
96
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Laug Mootools And Common Js

  1. 1. Server Side JavaScript and MooTools London Ajax User Group 2010-09-14
  2. 2. Installation • Build your own MooTools 1.3 • require(‘MooTools’).apply(GLOBAL)
  3. 3. Hello world!
  4. 4. CommonJS is awesome • nothing blocks (even IO has callbacks) • fast • scalable • it’s JavaScript • it’s flourishing (runs on webOS iOS?)
  5. 5. Common problem
  6. 6. Common problem
  7. 7. Common problem
  8. 8. PyCow http://github.com/p2k/PyCow
  9. 9. PyCow http://github.com/p2k/PyCow workaround
  10. 10. Solution
  11. 11. back-end front-end Base Model data validation common methods Extends for server side Extends for front-end database filesystem DOM
  12. 12. Example http://tinyurl.com/28fbodl
  13. 13. Browsers war again • Node JS • Myna • Ringo • Narwahl • V8CGI • Sling • Rhino • Apengine • Juice • Torino • mod js • ...
  14. 14. Meso • Runner and toolkit that work in several implementations
  15. 15. Deck • server interface • examples include node, ringo, v8cgi
  16. 16. Thank you • Piotr Zalewa @zalun http://piotr.zalewa.info/
  17. 17. Resources • 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

×