KEMBAR78
Confoo - Javascript Server Side : How to start | PPTX
The javascript server side : how to start ?Confoo 2011 – Quentin ADAM @waxzce
Who I am ?Quentin ADAM@waxzce on twitter or githubCEO atClever Cloud
JavascriptWhere ? When ? Why ?
What are wedoingwithJavascripttoday ?Application serverDatabaseRIABrowser
HistoryAt the begining, Brendan Eich, created Live Script (1995) at Netscape for server usage. It is the Netscape Server procuct.The Javascript name is a maketing change by Sun and Netscape.
The polyglotte situationClientServerPhpJavaPerlRubyScalaGroovy….
About polyglots and langages
Share some code between client and serverUnity of tools and environementAgileHave the same Model No «  translations » of objects
Some Strength for modern and social appsEvent drivenNoSQL & JsonUse some datas with unknow format
One lang, someengines
A standard (or not) & Many implementations (or not)Engine = Tools making compilation to bytecode + conversion to bynary instruction= virtual machine javascript{trace, spider, jäger…}MonkeyV8M$applenitroRhino
A standard (or not) & Many implementations (or not){trace, spider, jäger…}MonkeyV8M$applenitroRhinoNarcissus (zaphod)
engine JS ≠ Browser
No    DOMNo jqueryNo mootoolsNo dojo…Except server versions
A web serverRESTfull
One of bigest change of ssjs :event driven web response, async0_0Don’t panic, some schema next slide
without
With
Whatweneed ?
SometoolsNames
Ajax Push EngineDesign for real time webStable and strongprojectMootoolsframeworkMysql supporthttp://www.ape-project.org/
How to ?
Mongo DBDocument orienteddatabaseStore data as BjsonWorkwith a lot of platform
MapreduceA new way for geting data working on a lot of noSQL DB
Node.js : The Star
How to ?Entry point file
frameworksnodeSinatra like : expressRails like : Geddy!! -> tools are not readyRuby & node.js
CommonJSUnity for JS platform of usual APIrequire()http://www.commonjs.org/
How to begin ?And be happy with new tools
Create a githubaccountAll ssJsprojects are on githubFrameworks, modstooExamplesYou needitanyway
Have a real OSYou need real command lineYou need compilation toolsYou needitanywayUNIXTips : use ZSH withyour git
Test node.jswith cloud9Online IDE for node.jsNothing to installWorkwithgithub
Make an open table for YQLSQL likelang for web APIWorkingwithssjs Rhino backendYou needonly a server storingyour table
Play withmongoDB or couchDBEasy to installUsefullSimple to use withssjsplatform
Install APEtest it
Include Rhino in your java projectsInclude in the JDKUsefull for scriptingUsefullworking on unsafe dataAddevent layer withAtmoshpere or Akka
Writesomekickassapp
The checklistWhat I need ?Can I split the application ?What about mysysadminskills ?Is the appcritical ?Think about yourproblemswiththeses solutions
Thx

Confoo - Javascript Server Side : How to start