O'Reilly logo

PHP Advanced for the World Wide Web: Visual QuickPro Guide by Larry Ullman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required