Facade Design Pattern
page 3 of 5
by Vishal Kumar Patil
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 18613/ 258

Software examples

Web Service Facade Solution Architecture (Refer to Figure 2 below) provides an example for Facade design pattern.  In this architectural solution, instead of rewriting legacy applications or customizing those with middleware to connect to other applications one by one, this solution helps create a "facade" for the legacy application.  Other applications are easily "plugged into" this facade.  By modeling a legacy application into its basic functions of create, read, update, and delete and then exposing these functions as Web methods, the Web service facade solution allows other applications to access legacy data by making use of common Web services through standardized protocols.  In this way, Facade decouples layers so that they do not depend on each other which can make it easier to develop, to use and to promote code re-use.

Figure 2

 

                                 

 

The JIT (Just in-Time) compilers that we use everyday to process the Dotnet code is a prime example of the facade pattern.  JIT compiler performs several lower level functions before converting MSIL into native code, such as verifying whether Microsoft intermediate language (MSIL) code can access the memory locations, checking MSIL code is correctly generated because incorrect MSIL can lead to a violation of the type safety rules, etc.


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 7 and 1 and type the answer here:

User Comments

Title: Fetching Article For Beginners   
Name: Rajesh Shah
Date: 8/12/2008 6:18:16 AM
Comment:
It's better for beginners as this gives good insights of facade.
Title: Good Article   
Name: Hariom
Date: 8/20/2007 1:01:03 AM
Comment:
It's a good article for the beginners. Please expend it moree if you can.
Title: ugly graphics   
Name: Famous Coward
Date: 1/31/2007 3:26:21 AM
Comment:
Next time, use better color schemes. These hurt my eyes so bad I gave the whole article a skip. =P
Title: Programmer   
Name: Chakri
Date: 12/27/2006 7:37:48 AM
Comment:
The article provides the basic insight of the Facade Design Pattern. Appreciations to the writer.
Title: Could have Extended more on Sofware Example for Facade   
Name: Ponnu
Date: 9/7/2006 6:29:07 AM
Comment:
Hi Vishal,

Really a nice article for begginers, you could have extended more on the Software example though.

Ponnu

Product Spotlight
Product Spotlight 
Learn More
.NET Tools
asp.net shopping cart
asp.net chart control






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2008 ASPAlliance.com  |  Page Processed at 11/21/2008 4:16:44 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search