Link Details

Link 132724 thumbnail
User 283078 avatar

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.
  • 7
  • 0
  • 3122
  • 270

Comments

Add your comment
User 275423 avatar

lifewithryan replied ago:

0 votes Vote down Vote up Reply

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

User 152955 avatar

Gregg Bolinger replied ago:

0 votes Vote down Vote up Reply

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.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (7)



Voters Against This Link (0)