5
votes
1answer
83 views

Hard-to-test 3 Tier Architecture

I'm having trouble testing some code. It's laid out in such a way that the business logic relies on the persistence layer. Some classes require that an object be saved to a database. Some classes ...
4
votes
1answer
121 views

Simple class to represent progress

Progress class was written using TDD. Interface of this class (pseudo-code): ...
4
votes
2answers
80 views

Review of java interface for constructing brain model

I have built a partial human brain model and the following is an example of how I use all the classes. I was wondering if anyone could critique my implementation strategies because I feel like the ...
1
vote
2answers
405 views

PHP class library

I am a PHP newbie, gone through a couple starter tutorials which went ok, so I thought I'd try creating a more complex project to get some experience. It is a NetBeans PHP project where I try to ...