By diagnostix
via askaboutphp.com
Published: Nov 11 2008 / 11:08
Using CI's ability to create my own custom libraries, I was able to create my own custom 'Model' which extends from the core 'Model' object. How this simple architecture has cleaned up my code is simply remarkable.
Tweet
SaveShareSend
Tags: frameworks, methodology, php
Comments
lifewithryan replied ago:
Its been a while since I've gotten to use code igniter but always knew that this would be a good thing to do. I've since had to learn another framework and it has taken me away for CI for a bit. However, when I get to come back to it again, I'll probably be extending the CI Model and do my own thing :)
Gregg Bolinger replied ago:
I do more or less the same thing with my DAO's using JPA/Hibernate. Good to see this kind of pattern can cross languages.
Voters For This Link (7)
Voters Against This Link (0)