-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: RedSunBeer
Message 2 in Discussion

A facade is a class that provides a means for a 'client' to access a set of business 
operations. We normally maintain a set of related buisness objects in an assembly or 
dll. To access these objects a facade a used. The facade exposes its methods and 
properties a client. It then has the intelligence built inside it to call the required 
business objects to carry out a set of specific tasks.   The relationship is similar 
to a interface and a class where the interface exposes only those properties and 
methods that a client would require from the class. The client is unaware of other 
methods in the class if they access it via the interface. The class methods may 
communicate with each other to execute a clients request without the client being 
aware of this fact.   For example the client would simply call a method to insert data 
into a db and pass the values to the facade. Inside the facade the values are sent to 
different business objects which insert the values to the repective database tables. 
So the client is unaware of which business objects are being used only the facade 
knows this.    This means we can design our client applications to simply send data to 
the facade. So any changes to the business classes would mean changes to the facade 
only and not the client. ie the facade would need to be altered if a new business 
class is added without the client being affected.  

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to