Professional CodeIgniter

(singke) #1

Chapter 5: Building a Shopping Cart


Although CodeIgniter doesn ’ t come with any native Ajax support built-in, there are plenty of
Ajax - capable frameworks available. This chapter featured the use of Scriptaculous and
Prototype, but you could easily go with any of the others. CodeIgniter is very flexible this way.

Work on what ’ s easiest for you first. In this chapter, you were guided through the process by
working out the intricacies of the model and controller first, and then moving on to the view, and
then to the CSS to support the HTML in the view. If you feel more comfortable with another
approach, feel free to explore.

Free download pdf