Back to list
Views:   0
Replies:  0
Archived
,
Reply 1
Hi Dan
Thanks for your answer. It seems the service layer is now the facade to the application. That sounds good - however I have another question. Is it good to access the DAL directly from the service layer or through the business layer? In .NET 2.0 PIA the service layer acted just as a very passive layer by just sending the request to business layer (through business facades) whereas in 4.0 PIA it is directly calling the DAL.

What is the preferred approach - accessing DAL directly through Service layer or through Business layer?

Regards
Sanjay 
 
Sanjay K Singh, Sep 27, 2010
Reply 2
Actually the Facade is very much present in Design Pattern Framework.   The Service class, which represents the Service Layer is the main Facade in the application. It really is a great example of the Facade Pattern in action.

As you said, the Facade is an important pattern.
Dan McMillan, Sep 23, 2010
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