CHAPTER 5

image

Application Structure

There once was a young man from Lyme

Who couldn’t get his limericks to rhyme

When asked “Why not?”

It was said that he thought

They were probably too long and badly structured and not at all very funny.

Anonymous

This chapter and the next are mostly concerned with PHP topics. Generally, this chapter covers structural issues: the interface between MySQL and PHP, how HTML pages and the PHP programs that produce them should be organized, and how to maintain sessions so that otherwise independent PHP programs can form an application. The next chapter goes into more detailed subjects.

As you know, my purpose isn’t ...

Get Expert PHP and MySQL: Application Design and Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.