CHAPTER 4Store Administration

This chapter will walk you through the first part of the Shoplet application. It will be a fairly detailed look at most of the code necessary, and as such will give you a good overview of what's required to create a Rails application from scratch.

The Shoplet application is a basic web shop. It lets customers look through different products in an inventory, partitioned by type and categorized. Customers can add products to their shopping cart and later check out, and order the products in question. Payment is by billing address, because implementing the handling for a payment gateway is out of this chapter's scope.

The second part of the Shoplet application is the administrative user interface. This part is protected ...

Get Practical JRuby on Rails Web 2.0 Projects: Bringing Ruby on Rails to Java™ Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.