Skip to content
Browse files

+ ‘Use-Rails-for-Your-Next-Client-Side-App.md’

/ ‘Choose-Your-Own-Adventure!.md’
  • Loading branch information...
1 parent 18f6e5a commit 42a731b4fcebf300dfb78635f9a8f4904434b901 @benjaminoakes benjaminoakes committed Sep 8, 2012
Showing with 52 additions and 0 deletions.
  1. +33 −0 Choose-Your-Own-Adventure!.md
  2. +19 −0 Use-Rails-for-Your-Next-Client-Side-App.md
View
33 Choose-Your-Own-Adventure!.md
@@ -5,3 +5,36 @@ From [[WindyCityRails 2012]]
## Notes
From @benjaminoakes:
+
+Picked "Polyglot"
+
+* Friday hugs :)
+* Went through some different languages (Lua, Haskell, Go, Pawn, etc)
+
+Picked "bartending tips"
+
+* Call drinks...
+* The well...
+* Lingo:
+ * "Short/tall"
+ * "Up" martini glass
+ * Neat: short, nothing added
+ * etc
+
+Picked "becoming a stormtrooper"
+
+* Non-profit costuming group
+* Recognized by Lucas
+* Give back to the community
+
+Picked "breakable toys"
+
+* Code toys for you to learn/play with
+* Have fun
+* Take a risk
+* Doing things others have done before is fine
+* His (on https://github.com/martinisoft)
+ * `snitch`: who's on the wifi?
+ * `funnies`: webcomic scraper
+ * `listbotto`: PHP to spatial audio
+ * `scriptular`: local regexp tester for Ruby/JS
View
19 Use-Rails-for-Your-Next-Client-Side-App.md
@@ -0,0 +1,19 @@
+* _Web Sites_ vs _Web Apps_
+* When do take either approach...
+* Apps are more dynamic
+ * More updates
+ * More feedback
+ * If high latency matters, you want this
+ * Web app is "just another client" (if you're already making an iOS or Android app)
+
+* Different approahces for what response looks like
+* In an "app" you can heavily cache the initial HTML response
+ * Cache manifest (`Rack::Offline`)
+ * HTTP Caching... easy in Rails
+ * `Last-Modified`
+ * `ETag` (`stale(foo)`, Rails 4 will have an `etag` method for the controller)
+ * Public cache via `if stale?(foo, public: true)` (uses HTTP semantics but with middleware)
+ * JSON is much easier to cache
+ * `X-Request-Id` -> `request.uuid` (great for logs -- one id across systems, error reporting in the client, etc)
+
+Other various JS, etc (see slides)

0 comments on commit 42a731b

Please sign in to comment.
Something went wrong with that request. Please try again.