I know AR promotes validation within the model.  If you don't use AR, do you usually still put validation in your models or directly in the Business services or create a separate validation service.  Just curous

 
On 6/12/06, hammett <[EMAIL PROTECTED]> wrote:
Clarifying:

- with or without AR I create a DA layer.
- I usually work with models. If I'm using AR then AR entities are my
models. I just don't like invoking FindAll, or Create on the
presentation layer, instead I use a service layer that is aware of
business rules and its implications, so if later I have to add some
logic say, everytime a Customer is created, I just need to change one
place
- The only time I've used a dataset was to process some reports, where
the columns and aggregated columns were somewhat dinamically, and
more, the report was generated by a windows service to be viewed
later. For that situation only, DS was perfect. :-)

On 6/12/06, Craig Neuwirt <[EMAIL PROTECTED]> wrote:
>
> One last ? on this thread.  If you know you are not going to use AR, would
> you still create your Domain Model as AR Entities, or just pass POCO (or a
> DataSet) to your DA Layer.
>
> thanks for your feedback
>
>
> On 6/12/06, hammett < [EMAIL PROTECTED]> wrote:
> >
> Yep.
>
> On 6/12/06, Craig Neuwirt <[EMAIL PROTECTED]> wrote:
> > Gotcha!,  but you do pass the AR objects to your DA layer interface.
>
> --
> Cheers,
> hammett
> http://hammett.castleproject.org/
>
>
> _______________________________________________
>
> CastleProject-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/castleproject-users
>
>
>
>
> _______________________________________________
> CastleProject-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/castleproject-users
>
>
>


--
Cheers,
hammett
http://hammett.castleproject.org/


_______________________________________________
CastleProject-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/castleproject-users

_______________________________________________
CastleProject-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/castleproject-users

Reply via email to