The concept of "fat models" suggests that business logic should be pushed back closer to the business objects (i.e. put business logic in the model), and leave controllers to manage flow.
The authentication component doesn't deal with business logic, it deals with program flow (whether or not something is accessible, and what happens if it is or isn't).
On Tue, Aug 28, 2012 at 3:43 AM, sanjay.pal <sanjaypal1983@gmail.com> wrote:
Hi all,View this message in context: http://cakephp.1045679.n5.nabble.com/Form-validation-and-business-logic-tp5710722.html
As per my knowledge, Business Logic is the part of Model in MVC
architecture.
Please help me with my doubts of form validation, is form validation a part
of business logic?
if yes, then why we put this in Controller?
if no, then what is actually a business logic in a authentication module.
Please guys...
Thanks a ton in advance...
--
Sent from the CakePHP mailing list archive at Nabble.com.
--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
No comments:
Post a Comment