Search found 2 matches

by DarkSlayer
Wed Jan 24, 2007 2:32 pm
Forum: PHP - Theory and Design
Topic: Question about db code design, file organization, etc
Replies: 3
Views: 877

I do look at TDD as we speak. Also one of the reason to why I ask about organising code and files around since I want to try to minimise overhead every time I get an "good" idea, or try to clean up after a break. If I reuse my classes, I also want to reuse my testing (trying out simpletest...
by DarkSlayer
Wed Jan 24, 2007 7:01 am
Forum: PHP - Theory and Design
Topic: Question about db code design, file organization, etc
Replies: 3
Views: 877

Question about db code design, file organization, etc

Right now I try to create an simple cms with php/mysql, and are struggling with comming up with good practises on how to do stuff. My coding preferences: I like to create classes, and put each class into their own file with the same name. I try not to make my classes to big, and not to small. Im a p...