Home > pragprog-depot-prg

pragprog-depot-prg

Pragprog-depot-prg is a project mainly written in Ruby, it's free.

Depot example application from the Pragmatic Programmers adapted to use post-redirect-get page flows.

This project contains the depot application as described in the Agile Development with Rails book from the Pragmatic Programmers.

Departures from the book:

  1. All model objects use a UUID as their primary key, rather than the standard Rails autogenerated numeric key.

  2. Uses HAML and SASS for HTML & CSS generation.

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

  4. Uses RSpec and Cucumber for testing.