Re: What is the best practice for adding persistence to an MVC model?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/10/27 David Otton <phpmail@xxxxxxxxxxxxxxxxxxxxxxx>:

> If you go with the first approach, you're writing code that you and
> anyone who comes after you can write useful tests for. The others, and
> you're denying maintenance programmers a useful tool.

I should have lead with this: the wikipedia article on Dependency injection

http://en.wikipedia.org/wiki/Dependency_injection

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux