4
M
a
r
c
h
2
0
0
5
Simple Shopping
Someone on the Ruby on Rails Wiki has started a document to help people set up a Shopping Cart in Rails. This starts off in completely the wrong place: database structure. Never mind what we want the shopping cart to do, let’s plunge straight in with a database.
What does this database contain?
- Catalogs
- Items
- Categories
- Orders
- Admins
Gosh, if only life was that simple. Take a look at the database for X-Cart for a comparison. Admittedly it’s a very comprehensive shopping system, but you don’t need to think much about shopping carts to realise that the above structure would be inadequate.

Leave a Reply