CHAPTER 5A Database-Driven Shop

Walking through the last chapter, you'll have gotten a feel for how Rails development is done. You should also understand most of the basics about Rails.

In this chapter we'll expand on that knowledge. First, we'll continue with Shoplet, making it into a complete application that can be used as the base for many diverse purposes. We'll look at how to make the URLs as simple and pleasing as possible for a user by using routes. The chapter will also take a look at how a real payment system would work when using Rails. We'll finish the implementation of Shoplet by adding all the user interface parts. By the end, it will be possible to deploy the application with suitable data and let users browse around and order ...

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 live online training, plus books, videos, and digital content from nearly 200 publishers.