Skip to content

Commit

Permalink
description, update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Morrison committed Sep 15, 2011
1 parent 4a6878f commit 633df00
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions slides/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
* and reiterate a few times, probably.
* especially before "moving parts" and "walk through a request"

---
# Backbone.js and Rails:

These days, some web apps have more code on the client than on the server.
Learn how Backbone.js is put together, how to use it with Rails, and how to
make building JavaScript-heavy apps a pleasure.

---

# My Goal
Expand Down Expand Up @@ -54,12 +61,12 @@ notes: Motivate and discuss client-side MVC. Introduce Backbone.js Discuss Ra

---
# show an example
* book store, amazon like?
* trajectory

---

# walk through a request
* GET /#books/5
* GET /accounts/thoughtbot/projects/opensource/stories#84245
* browser http request to rails
* rails router, controller, model, view
* response
Expand All @@ -69,9 +76,9 @@ notes: Motivate and discuss client-side MVC. Introduce Backbone.js Discuss Ra
* browser fetches the javascripts
* initialize backbone
** bootstrap collections
** instantiate router
** instantiate router (Stories or Discussions)
** .start()
* send hash '#books/5' to backbone router
* send hash '#84245' to backbone router
* router routes, dispatches to action
* action
* view(modelOrCollection)
Expand Down Expand Up @@ -111,6 +118,7 @@ notes: Motivate and discuss client-side MVC. Introduce Backbone.js Discuss Ra
---
# Further reading

* todo app, simple to get started
* non-rails backends: remote JSON APIs, localstorage, websocket sync, XML
* offline apps. html5 offline app manifest? any plugins?
* websockets
Expand Down

0 comments on commit 633df00

Please sign in to comment.