• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Starting with CodeIgniter setup: suggestions & best practices

#27
[eluser]dmorin[/eluser]
Your description of models is very similar to what an ORM is which isn't exactly what models are supposed to be, but that's ok. You're using libraries for things that I would put in the model. The real idea that I wanted to point out originally is that business logic does not belong in the controller which both of our solutions achieve! Unfortunately, this isn't represented in your original post where you say logic should be in the controller. Maybe that could be updated?

From wikipedia:
Quote:The controller receives input and initiates a response by making calls on model objects.


Messages In This Thread
Starting with CodeIgniter setup: suggestions & best practices - by El Forum - 04-19-2010, 10:14 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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