Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building Single Page Applications

Building Single Page Applications

The talk I gave in April-2013 on MSSWIT conference in Kiev.

Alexander Beletsky

April 25, 2013
Tweet

More Decks by Alexander Beletsky

Other Decks in Programming

Transcript

  1. photo by Constantine Stoyanov

    View full-size slide

  2. API-ORIENTED

    View full-size slide

  3. How to build
    Single Page Applications?

    View full-size slide

  4. ASP.NET MVC / Backbone.js

    View full-size slide

  5. Node.js / Backbone.js

    View full-size slide

  6. … doesn’t really matter, as long
    as 2 functions accomplished

    View full-size slide

  7. OPEN API:
    HTTP GET http://app.com/api/sales/invoices/:id
    HTTP POST http://api.app.com/api/expenses/payments
    HTTP PUT http://api.app.com/api/sales/drafts/:id
    HTTP DELETE http://api.app.com/api/sales/products/:id

    View full-size slide

  8. MASTER HTML:



    View full-size slide

  9. Application Route

    View full-size slide