Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter - Doctrine ORM Tutorial : A way of enhancing CI
#11

[eluser]Burak Guzel[/eluser]
[quote author="wiredesignz" date="1258439879"]You've done a huge amount of work here and I'm sure it's greatly appreciated by the community.

I'm beginning to believe that it's not such a good idea to use any data objects in the controller directly.

Doing this then requires all of your application business logic to be in the controller also when it should really be in your models.

The model should encapsulate the Doctrine objects rather than being replaced by them. Even your diagram (in Part 1) shows business logic being in models but your code examples don't.[/quote]

Can you be more specific? I am open to suggestions.


Messages In This Thread
CodeIgniter - Doctrine ORM Tutorial : A way of enhancing CI - by El Forum - 11-16-2009, 06:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB