Welcome Guest, Not a member yet? Register   Sign In
NOOB questions for NOOB
#1

[eluser]Unknown[/eluser]
Hi I'm sure this has all be asked before but I need to put this in my own words to understand it. I'm actually pretty new to PHP and OOP, what I have seen from CI looks great.

1) Do you need to extend CI_Model even if you don't need to inherit the CI_Model methods?
2) Therefore you load or include regular oop methods and use CI for the controller and view aspect?
2) Where then do you put your non CI models that are just regular classes or logic?
3) Is $toyota = new car() the same as $this->load('car')?
3) Is instantiation the same as traditional OOP and does this matter?
4) How to you name files? car_view, car_model


Thanks




Theme © iAndrew 2016 - Forum software by © MyBB