I would warmly suggest you this page http://www.phptherightway.com. There you can read about all above mentioned topics ;-)
New version 1.8 is out now!
usefull article. thank you :-)
Hey :-) I am not that so good with JAVA. But a Value Object represents itself a fix set of data and is similar to a Java enum. A Value Object doesn't have any identity, it is entirely identified by its value and is immutable. A real world example would be Color.RED, Color.BLUE, SEX.FEMALE etc.
You can use also a more elegant way. You can tell php unit at the phpunit.xml to convert errors to exceptions.
...
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
...
</code>
read here http://phpunit.de/manual/3.7/en/appendixes.configuration.html
nice
OK. This tip is useful if you develop in a test-driven manner :-)
Achievements
591 Karma
55,397 Total ProTip Views

Walrus

Nephila Komaci

Nephila Komaci 3

Forked

Yes, that is true. But onlly in MySQL. Thank you :-)