News for hackers. Stuff that matters.
Re:PHP Sucks, But It Doesn't Matter by markbao on Wednesday May 21, 2008 @10:30AM (#196042)
Solving spaghetti PHP in spaghetti SQL in spaghetti HTML:

1. Learn how MVC works.

2. Write a basic MVC framework.

3. Zip it up, put it aside, and learn Symfony, CodeIgniter, etc.

(Writing your own framework is an incredibly good learning experience.)

Spaghetti code is solved (mostly) by structured organization, ORM, views that simply display data, and the separation of the MVC parts.

There are no comments on this comment yet.