CodeIgniter Forums

Full Version: Custom PHP with Codeigniter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm a one day old new recruit to Codeigniter and i acknowledge that every day is a learning day so i'll be grateful for any help you may provide.

I have a php application that i want to port to Codeigniter. Would i need to start learning CI or would the same code work. For some part of it anyway, would it be possible to use the source code on individual pages. I understand the templating system in CI as well as the MVC (not very conversant in this, but i have been leaning all i can).
CodeIgniter is PHP... The posibilities an limitless.
CodeIgniter is a php Framework. .
be sure that you understand the definition of that word.
If you are looking to keep completed parts of your project along with codeigniter, you could probably do it by modifying your .htaccess file and making sure calls to those standalone .php pages bypass CodeIgniter's index.php.

But you probably don't want to do this.

I am assuming that your existing php code exists in php pages.  Codeigniter views are php pages so technically you could just make dummy controllers that do nothing more than $this->load->view('my_old_php_page.php');

Of course if these old pages access a database it would be pretty sloppy and the first thing you are going to want to do is move that database code into models.