• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.