I've taken on a project where I'm fixing up a project that has been through 10 different developers. The base project is a publically available shopping cart system, that has been heavily modified for the project. I managed to pick up the project after the other developers "took the money and ran", leaving an absolute mess.
The code is not pretty. But, that's not the worst part. The Database is an even bigger mess. From a pure design standpoint, it makes sense. The problem is, every column allows nulls. As a standard practice, I never allow nulls in Databases. Ever. So, at least half of the problems that the customer is having with the system can be traced back to this problem of allowing nulls into the DB.
So, I've gone in and changed most of the null columns to not null, but there are even more issues. Instead of just dealing with empty strings, the original developers did the whole field=null thing.
Frustrating to try and dig out.
Print | posted on Wednesday, January 11, 2006 10:48 PM