Professional CodeIgniter

(singke) #1

Chapter 2: Agile Methodologies and Approaches


38


Figure 2-8

“ That looks fine for now, ” Claudia says. “ Perhaps we should list categories first, with their own
headings, without thumbnails and descriptions. ” She thinks some more, and then shakes her head.
“ Let ’ s leave it for now. Shall we tackle the ‘ buy now ’ and checkout areas? ”

You hesitate momentarily because you really want to show her the product backlog you started, but
Claudia is really caught up in the spirit of things, and you hate to break the flow. So you adapt your
approach and spout out some ideas you have on the “ buy now ” pages.

“ I think that when they click the ‘ buy now ’ link for a product, the underlying web site should simply
add their information to a Shopping Cart, ” you say.

“ Yes, that ’ s like a lot of web sites you see today, ” Claudia agrees. “ Just show them a quick note that
confirms they ’ ve added a product to their cart. ”

“ I also think we should show them a little icon of a shopping cart or a link they can click to view their
Shopping Cart, ” you continue. “ We can add the link to the top navigation bar, only showing it if
the Shopping Cart has items in it. ”

You don ’ t tell Claudia, but you plan on using a cookie to keep track of Shopping Cart items. You know
that CodeIgniter has powerful functions for creating, editing, and deleting cookies. All you would need
to do is keep track of the individual IDs associated with a product and maybe some other choices, like
size or color.

“ If we ’ re doing that, then I would suggest we change the ‘ buy now ’ links to say ‘ add to cart ’ to keep the
confusion to a minimum, ” Claudia says, and then smiles to herself because you ’ ve already updated
various mockups, including the product detail, shown in Figure 2 - 9.
Free download pdf