Re: Insult my code!

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

 



On 7/10/2009 7:25 PM, David Otton wrote:
2009/10/7 Eric Bauman<baumane@xxxxxxxxxxxxxx>:

Any thoughts would be much appreciated!

One observation. "Model" isn't a synonym for "Database Table" - models
can be anything that encapsulates business logic. Requiring all your
models to inherit from Model is probably a bad idea.

Thank-you for responding.

Out of curiosity, why is this a bad idea? Is it also bad for views & controllers?


Cheers,
Eric

--
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