-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding why_sinatra section & working on other sections
- Loading branch information
Showing
7 changed files
with
43 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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...) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |