Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding why_sinatra section & working on other sections

  • Loading branch information...
commit 1453714452e51f1eb8f8d9ee169bbeaa9b77c4f4 1 parent f0ca70b
@jc00ke authored
View
3  about_me/about_me.md
@@ -6,7 +6,8 @@
# I'm Jesse Cooke #
* [@jc00ke](http://twitter.com/jc00ke)
-* [http://jc00ke.com](http://jc00ke.com)
+* [http://jc00ke.com](http://jc00ke.com) (<- nothing there)
+* [http://github.com/jc00ke](http://github.com/jc00ke)
!SLIDE incremental
View
10 middleware/middleware.md
@@ -1,16 +1,20 @@
-!SLIDE
+!SLIDE center
# Did I mention... #
## It's built on Rack ##
-
+![rack logo](rack-logo.png)
[http://rack.rubyforge.org](http://rack.rubyforge.org/)
-So, you get:
+!SLIDE center
+# So, you get #
* middleware
* Rack::Test
+* all other benefits of Rack
!SLIDE center
# Middleware #
Apps that change the request or response.
+
+!SLIDE center
* I::Rack - [from CodeRack competition](http://coderack.org/users/haruki_zaemon/entries/50-irack)
* GsubHelloGoodbye (I just made this up)
View
BIN  middleware/rack-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
14 more_sinatra/more_sinatra.md
@@ -1,11 +1,11 @@
!SLIDE incremental
# Some other things in Sinatra #
-* helpers
-* filters
-* halting
-* passing
-* configuration
-* errors
-* mime types
+* helpers (def w00t...)
+* filters (before & after)
+* halting (stop processing)
+* passing (go find next matching route)
+* configuration (default & environments)
+* errors (not_found, error, CustomError)
+* mime types (json, txt, foo...)
View
3  showoff.json
@@ -4,5 +4,6 @@
{ "section" : "sinatra" },
{ "section" : "haml" },
{ "section" : "more_sinatra" },
- { "section" : "middleware" }
+ { "section" : "middleware" },
+ { "section" : "why_sinatra" }
]
View
5 sinatra/sinatra.md
@@ -1,3 +1,8 @@
+!SLIDE
+# Sinatra #
+## Created by the great Blake Mizerany ##
+@bmizerany
+
!SLIDE commandline incremental
# Install that badboy #
View
20 why_sinatra/why_sinatra.md
@@ -0,0 +1,20 @@
+!SLIDE
+# Why Sinatra? #
+
+!SLIDE
+# Why not? #
+
+!SLIDE
+# Ok, Seriously #
+
+!SLIDE center
+# Rack < Sinatra < Rails #
+What I mean by that is, if your app is more complicated than a Rack app, but you don't need the kitchen sink, check out Sinatra.
+
+!SLIDE center bullets incremental
+# Things Sinatra Excels At #
+* API endpoints
+* Micro-apps
+* Things you only need one file for
+* Getting closer to Rack/HTTP
+* Teaching you something new
Please sign in to comment.
Something went wrong with that request. Please try again.