What Is The Factory ?
alexisb
Joined: 2005-11-24
Posts: 56 |
Posted: Thu, 2006-01-19 00:05 |
Hello, this may be a very basic question but I need to have a better understanding of this: What is the factory? I've read Valiant saying: "you'd have to create a new module which extends the GalleryUser class and registers its implementation with the factory" Am I right to suppose the factory is one table where all the entities are stored? or maybe just the information about the class that implements them? Is this in some way related to factory design patterns? Could you please provide some ideas so I can google about the theory and learn more? Thanks a lot! Alexis Bellido - Ventanazul web solutions |
|
Posts: 32509
i've explained the term here:
http://gallery.menalto.com/node/36885#comment-134279
a sort definition:
http://en.wikipedia.org/wiki/Factory_object
google has surely better articles.
Posts: 56
Hi Valiant, thank you for the kind reply.
I was just re-reading that thread. I've read it lots of times and each time I learn, or better said "I understand", something new.
Cheers.
Alexis Bellido - Ventanazul web solutions
Posts: 56
Hi, just wanted to post a link to a useful series of articles about the factory pattern.
Regards!
Alexis Bellido - Ventanazul web solutions