Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 Tip-o-the-day
Message
From
17/07/1998 07:30:45
 
 
To
17/07/1998 03:03:48
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00118474
Message ID:
00118524
Views:
18
>> I also havent found a truly useful realworld use of THIS_ACCESS.

Here's some. Look at the gereric THIS_ACCESS; it returns an object reference, usually THIS. The returned object reference can be any object.

This means that THIS_Access can be used as a broker that decides which object handles the message. This has huge applications. Basically it makes many generic design patterns like Proxy, Broker, Facade, Decorator, Chain Of Responsibility, and most of the creational patterns like Builder, Abstract Factory, and Prototype, very easy to create in VFP
Previous
Reply
Map
View

Click here to load this message in the networking platform