Skip to content

Commit

Permalink
Adding why_sinatra section & working on other sections
Browse files Browse the repository at this point in the history
  • Loading branch information
jc00ke committed Mar 2, 2010
1 parent f0ca70b commit 1453714
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 12 deletions.
3 changes: 2 additions & 1 deletion about_me/about_me.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 7 additions & 3 deletions middleware/middleware.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
Binary file added middleware/rack-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions more_sinatra/more_sinatra.md
Original file line number Diff line number Diff line change
@@ -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...)

3 changes: 2 additions & 1 deletion showoff.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
{ "section" : "sinatra" },
{ "section" : "haml" },
{ "section" : "more_sinatra" },
{ "section" : "middleware" }
{ "section" : "middleware" },
{ "section" : "why_sinatra" }
]
5 changes: 5 additions & 0 deletions sinatra/sinatra.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
!SLIDE
# Sinatra #
## Created by the great Blake Mizerany ##
@bmizerany

!SLIDE commandline incremental
# Install that badboy #

Expand Down
20 changes: 20 additions & 0 deletions why_sinatra/why_sinatra.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1453714

Please sign in to comment.