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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access