Welcome Guest, Not a member yet? Register   Sign In
Porting functional code to CI
#1

[eluser]sanguina[/eluser]
I am new to CI and new to MVC frameworks in general.

I am trying to port an existing application which was done the functional way to CI

Here's what I have thought about it:

1) For every database table I will create a fresh model class
2) then take up each php page like login.php, register.php, member.php etc and break it into two components for the view & controller.

Anything else that is important to keep in mind ?

Actually i have a gut feeling that there's more to the controller design than this.

How to decide the number of controllers required?

Another thing one should keep in mind when porting to CI ?




Theme © iAndrew 2016 - Forum software by © MyBB