Welcome Guest, Not a member yet? Register   Sign In
Custom PHP with Codeigniter
#1

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).
Reply
#2

CodeIgniter is PHP... The posibilities an limitless.
Reply
#3

CodeIgniter is a php Framework. .
be sure that you understand the definition of that word.
Best VPS Hosting : Digital Ocean
Reply
#4

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.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB