1 / 16

Trabalhando com Single Page Application

Trabalhando com Single Page Application . Victor Cavalcante. SPA. Backbone JS. Conectando ao Modelo. Criando Views. Rotas. Victor Cavalcante victor@cavalcante.net www.lambda3.com.br. Bike. ASP.NET MVC. JavaScript. HTML5. CSS. SPA – SINGLE PAGE APPLICATION. Evolução da web.

colum
Télécharger la présentation

Trabalhando com Single Page Application

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Trabalhando com Single Page Application Victor Cavalcante

  2. SPA Backbone JS Conectando ao Modelo Criando Views Rotas

  3. Victor Cavalcante victor@cavalcante.net www.lambda3.com.br Bike ASP.NET MVC JavaScript HTML5 CSS

  4. SPA – SINGLE PAGE APPLICATION

  5. Evolução da web evolutionoftheweb.com

  6. Evolução da web evolutionoftheweb.com

  7. Developer Tools jsFiddle jQuery Underscore CoffeeScript Grunt Teste-Driven Development JS com Produtividade

  8. JavaScript, qual o problema?

  9. Single Page Applications 1 única página Inteligência de apresentação no JS Comunicação via Ajax RESTful Server side magrinho Foco na experiência do usuário

  10. Frameworks SPA Backbone.JS Ember.JS Knockout AngularJS Spine Sproutcore Cappuccino Sammy.js JavaScript MVC Batman.js

  11. Não precisa mais gerar HTML Não precisa mais manter estado Não precisa mais se conectar em todos os serviços que atendem a aplicação Quais suas novas responsabilidades? Responsabilidades do servidor web

  12. Menos C#/Ruby/Java/Python, maisJavascript Menosarrastar e soltar, mais HTML codificado à mão Menospoluição no HTML, mais CSS Menosuso do HTML para design, maisfoconasemântica MaisJavascript, muitomaisjavascript Manifesto da Nova Web

  13. Componentes do Backbone.js Model Sync Collection History Router Events View

  14. Como funciona? Model Events -> <- Events View Collection <- Events Router Events-> DOM

  15. Demo

  16. Fim!

More Related