Prev | Current Page 120 | Next

Emilian Balanescu and Cristian Darie

"Beginning PHP and MySQL E-Commerce: From Novice to Professional, Second Edition"

html document in the download.
Summary
It??™s time to put your feet up on your desk and admire your work! In this chapter, you learned
about the benefits of using the right architecture for an application. So far, we have a very
flexible and scalable application, because it doesn??™t have much functionality, and you??™ll feel
the real advantages of using a disciplined way of coding in the next chapters.
In this chapter, you have coded the basic, static part of the presentation tier, implemented
a bit of error-handling code, and created the tshirtshop database, which is the support for the
data tier. In the next chapter, you??™ll start implementing the product catalog and learn a lot about
how to dynamically generate visual content using data stored in the database with the help of
the middle tier and with smart and fast controls and components in the presentation tier.
CHAPTER 3 ?–  STARTING THE TSHIRTSHOP PROJECT 61
Creating the Product Catalog:
Part 1
After learning about the three-tier architecture and implementing a bit of your web site??™s
main page, you??™re ready to start creating the TShirtShop product catalog.
Because the product catalog is composed of many components, you??™ll create it over two
chapters. In this chapter, you??™ll create the first data table, implement access methods in the
middle tier, and learn how to deal with the data tier.


Pages:
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132