Back to list
Views:   0
Replies:  0

Reply 1
These rules are encoded in the Service Layer.

In the first example, when saving the order, you 1) save the order, and then 2) evaluate all the rules and update the user's record. These actions should be bracketed by a Transaction, which is also done in the Service Layer.

Second example also takes place in the Service Layer. When requesting approval for a mortgage you have a method on the Service Layer that evaluates all the conditions and renders a final answer back to the user.

Hope this helps.
Tim Sawyer, Jul 12, 2012

Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas.      Vsn 1.3.0