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

[eluser]wiredesignz[/eluser]
I thought that was specific.

Business logic is that logic that makes your application function and is not related to the request, input validation or the response.

The business logic is that which might ensure a user does not register with a username of `Administrator` or that some monetary value when multiplied by some other value does not end up being a negative number etc.

Your models in an MVC context, are supposed to provide this logic. Your data objects should be encapsulated by the model and used in context of the application business logic.


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



Theme © iAndrew 2016 - Forum software by © MyBB