Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Factory pattern
Message
From
15/04/2011 08:58:55
Walter Meester
HoogkarspelNetherlands
 
 
To
10/04/2011 22:05:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01506688
Message ID:
01507456
Views:
140
I beg to differ here. The factory is a perfect layer between CREATEOBJECT() and the actual return of an object. That means the factory could have the logic to what exact object is returned.

So for example if I do
oObject = oFactory.Makeobject("ReportEngine")
Its the factory that decides whether MS word, Excell, Cyrstal Reports, VFP Reports or anything else is used as report engine.
Previous
Reply
Map
View

Click here to load this message in the networking platform