> >        AOP can be used to 'inject' BL code into domain
> classes without
> altering them. This could lead to more code-reuse as you can
> >re-use a set of domain classes for various projects where
> the GUI and
> >the
> BL code changed but not the domain classes. If you had
> >written the BL code inside the domain classes, you would
> otherwise have
> >to
> re-create them for the project with different BL code.
> >
> >                FB
>
> Sounds like you subscribe to the NTeir style of development there.
> ...

        No on the contrary. If you want to do true DDD, and you want to re-use 
your entities but in a different context / app, you
will run into the problem of having to alter the BL code inside the entities. 
With AOP you can avoid that. That was my point. So
1/ntier development style.

        Sigh.

                FB

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to