Site Structure
Much like your code structure and documentation (covered in Chapter 1, Advanced PHP Programming), another overarching issue when developing larger Web applications is that of site structure: how the files are organ ized and stored on the server. Proper site structure is intended to improve security and administration of a site, as well as promote scalability, portability, and ease of modifications.
While site structure does not qualify as a mission-critical issue, I've seen “professional” Web developers throw everything into one folder—HTML, images, and all—resulting in a directory that contained more than 600 items! I can't imagine how frustrating it would be to manage such a project. Developing and following an organization scheme ...
Get PHP Advanced for the World Wide Web: Visual QuickPro Guide 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.