Created
September 10, 2010 04:21
-
-
Save ruanwz/573088 to your computer and use it in GitHub Desktop.
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
Sinatra is designed to need friends | |
no presets | |
pure ruby | |
rack-lover | |
Rack is the best friend | |
Rack::Session::Cookie | |
Rack::CommonLogger | |
Rack::MethodOverride | |
rack-contrib | |
Rack::Profiler | |
Rack::JSON-P | |
Rack::Recaptcha | |
Rack::MailExceptions | |
Rack::Cache | |
Rack::URLMap seperate apps by path or host | |
Directory Structure | |
rails way | |
multi apps way | |
Some common tasks need these friends | |
CRUD: shotgun,haml,sequel | |
Unit Test: Rack::MockRequest, Rspec|Test::Unit|Shoulda | |
Authentication: Warden, Rack::OpenID, gems:warden-openid, warden-oauth | |
Ajax: jQuery | |
No respond_to, only case ... when ... using params[] | |
Two web services may help: heroku, disqus | |
Heroku: Minimal effort to deploy app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment