»
S
I
D
E
B
A
R
«
CodeIgniter – Using existing classes with CodeIgniter, any problems with including them directly?
November 6th, 2009 by wood

I am considering using CodeIgniter as the framework for my next web-application. However, I already have a large number of helper classes and data structures defined. I could add them to the application's library but I have to rename a large number of files and classes' name to match the criterion

Can I just directly include files as in working on a normal web application, bypassing load->library()? Or is the library reserved for commonly reused classes?


One Response  
  • michaeljdennis writes:
    November 8th, 2009 at 9:54 pm

    I believe you will have to use load->library() or load->helper() functions. That’s really nice because you can use your classes & helper as if they came with CI. You can even use libraries from the Zend framework. Any particular reason you wouldn’t want to load->library()?


Leave a Reply

»  Substance: PHP Frameworks   »  SiteMap