Task C - Catalog Display - 40

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

12/06/2023, 17:39 8.

Task C: Catalog Display | Agile Web Development with Rails 7

https://learning.oreilly.com/library/view/agile-web-development/9798888650288/f_0050.xhtml#chp.catalog.display 1/3
12/06/2023, 17:39 8. Task C: Catalog Display | Agile Web Development with Rails 7

We cover: Chapter 8
Writing our own views
Using layouts to decorate
pages
Integrating CSS
Task C: Catalog
Using helpers
Writing functional tests Display
 

All in all, it’s been a successful set of iterations. We gathered the initial re-
quirements from our customer, documented a basic flow, worked out a
first pass at the data we’ll need, and put together the management page
for the Depot application’s products. It hasn’t taken many lines of code,
and we even have a small but growing test suite.

Thus emboldened, it’s on to our next task. We chatted about priorities


with our customer, and she said she’d like to start seeing what the appli-
cation looks like from the buyer’s point of view. Our next task is to create
a catalog display.

This also makes a lot of sense from our point of view. Once we have the
products safely tucked into the database, it should be fairly straightfor-
ward to display them. It also gives us a basis from which to develop the
shopping cart portion of the code later.

We should also be able to draw on the work we just did in the product
management task. The catalog display is really just a glorified product
listing.

Finally, we’ll also need to complement our unit tests for the model with
some functional tests for the controller.

https://learning.oreilly.com/library/view/agile-web-development/9798888650288/f_0050.xhtml#chp.catalog.display 2/3
12/06/2023, 17:39 8. Task C: Catalog Display | Agile Web Development with Rails 7

https://learning.oreilly.com/library/view/agile-web-development/9798888650288/f_0050.xhtml#chp.catalog.display 3/3

You might also like