This chapter demonstrated distinct differences between the PHP and the ASP systems, driven chiefly by the fact that PHP uses functions to provide system capabilities, and ASP uses objects. Please note that the PHP language does support programmer-defined objects. If and when you need to build large applications, you can make use of the object-making features of PHP to define your own objects. However, it is true that PHP provides the critical capabilities through function calls. In particular, PHP has a library of functions just for MySQL. The net effect of this is that most people find PHP simpler to use. Please take the time to notice the similarities between the PHP and ASP approaches. The similarities become more pronounced if you choose to use PHP with a DBMS for which there is not a library of functions.
This chapter represents the culmination of the preceding material. If you worked through the examples, you are now in a good position to plan and build a Web application making use of databases. You can put together the SQL statements you learned about in previous chapters with what you learned in this chapter to build new applications. The next several chapters will cover advanced features of applications, such as queries involving multiple tables, files, and cookies. After that, you can read the exposition on a shopping cart project and a quiz show project, which make use of the advanced features.