Re: Insult my code!
| From: | Eric Bauman | Date: | Wed, 07 Oct 2009 11:06:37 +0000 |
| Subject: | Re: Insult my code! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-298721@lists.php.net to get a copy of this message | ||
On 7/10/2009 7:25 PM, David Otton wrote:
2009/10/7 Eric Bauman<baumane@livejournal.dk>:Thank-you for responding. Out of curiosity, why is this a bad idea? Is it also bad for views & controllers? Cheers, EricAny 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.