Previous
Next
Contents
Webapps For Beginners
Preface
Using Libraries
Ruby Standard Library
Rubygems
Bundler
Ruby load path
HTML
Embedded Ruby
ERB Templates
Rendering ERB
Bindings
HTTP
Rack
Your first Rack app
The Rack Env
Method and Path
Sinatra
Sinatra versus Rails
Domain specific languages
Your first Sinatra app
Routes
Params
Rendering templates
Layouts
Template files
Using instance variables
Forms
HTML Form Tags
Submitting Data
Accessing Form Data
Storing data
Writing to a file
Storing the name
Listing all names
Using POST
Using Redirects
Sessions
Cookies
Sessions in Sinatra
Validations
Resources
Groups of routes
Faking HTTP verbs
Writing resources
Databases
Tables
SQL
SQLite
Object Relational Mappers
Migrations
Database Structure
Incremental Changes
Rollbacks
Tools
Exercises
Using Rubygems
Using Bundler
Generating HTML with ERB
Mailbox via Sinatra
Sinatra Resource
SQL
Preface
Read this book at your own pace, and do exercises at your own pace.
Previous
Next