Skip to content

Commit

Permalink
describe differences from the book
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcz committed Mar 10, 2010
1 parent 40c28c3 commit 552df27
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README
@@ -1,9 +1,12 @@
This project contains the depot application as described in the Agile Development with Rails book from the
Pragmatic Programmers (http://pragprog.com/titles/rails3/agile-web-development-with-rails-third-edition).

It has been modified to use HAML (http://haml-lang.com/) & SASS (http://sass-lang.com/) for HTML & CSS generation.
Departures from the book:

In addition the user, product and store controllers have been modified to use the POST-REDIRECT-GET web application
design pattern (http://en.wikipedia.org/wiki/Post/Redirect/Get) as an exercise to see what it takes to make
active-resource controllers behave nicely with browsers.
1. All model objects use a UUID as their primary key, rather than the standard Rails autogenerated numeric key.

2. Uses HAML (http://haml-lang.com/) and SASS (http://sass-lang.com/) for HTML & CSS generation.

3. The user, product and store controllers have been modified to use the POST-REDIRECT-GET web application
design pattern (http://en.wikipedia.org/wiki/Post/Redirect/Get) as an exercise to see what it takes to make
active-resource controllers (and other rails controllers) behave nicely with browsers' back & refresh buttons.

0 comments on commit 552df27

Please sign in to comment.