Application
        server




RIA                 Database




       Browser
Javascript
CSS
                   • Controller
• View




         HTML
         • Model
Engine   Browser
HTTP
           Request
           • Client




                      RESTful


HTTP
Response
• Server
New
           Send the
  HTTP
             HTTP
request
           response
 is here




            Proccess
                the
 Routing
            response
  work
             blocking
              thread
Event
                                 listener
                               handles the
               Request           request
              marked for
               waiting


                                             Response
                                             contruction




        Work
       begins :
      event fired


                                             Event « it’s
                                             done » fired




   New
  HTTP                     Send the
request                      HTTP
 is here                   response
VM
javascript




             Server
 Useful
  API         side
             ready

   http
 request
 handler
http://www.ape-project.org/
http://www.commonjs.org/
Server Side Javascript : how to start ?
Server Side Javascript : how to start ?
Server Side Javascript : how to start ?
Server Side Javascript : how to start ?
Server Side Javascript : how to start ?
Server Side Javascript : how to start ?
Server Side Javascript : how to start ?
Server Side Javascript : how to start ?
Server Side Javascript : how to start ?
Server Side Javascript : how to start ?
Server Side Javascript : how to start ?

Server Side Javascript : how to start ?

  • 4.
    Application server RIA Database Browser
  • 7.
    Javascript CSS • Controller • View HTML • Model
  • 14.
    Engine Browser
  • 16.
    HTTP Request • Client RESTful HTTP Response • Server
  • 18.
    New Send the HTTP HTTP request response is here Proccess the Routing response work blocking thread
  • 19.
    Event listener handles the Request request marked for waiting Response contruction Work begins : event fired Event « it’s done » fired New HTTP Send the request HTTP is here response
  • 20.
    VM javascript Server Useful API side ready http request handler
  • 22.
  • 30.