What is a good way to organize a PHP website application?

Andrea picture Andrea · Feb 16, 2010 · Viewed 7.5k times · Source

When doing large projects my code seems to get all over the place. How do you guys organize your code?

Answer

Dolph picture Dolph · Feb 16, 2010

You should be using a design pattern; consider starting with MVC.

Strictly following a design pattern will improve the readability of your code base immensely (among other benefits).