Is loading libraries within models in CodeIgniter a good idea?

Posted by user281434 on Stack Overflow See other posts from Stack Overflow or by user281434
Published on 2010-03-18T22:18:37Z Indexed on 2010/03/18 22:21 UTC
Read the original article Hit count: 323

Filed under:
|
|

I'm using a customly created MySQL input sanitization library in one of my controllers, which makes a mess, using it in the model would be much easier, but I don't wan't to defy any best-practice principles out there either. So is it a good idea?

© Stack Overflow or respective owner

Related posts about codeigniter

Related posts about php