PS. I may be missing something but (4) Factory works in conjuction with (2), not as an alternative
I my mind, (2) would involve creating an instance of the subclass directly through Bod::Social::Twitter->new whereas (4) would rely on the factory class to create the subclass with Bod::Social::Factory->new(network => 'Twitter')
I think that (3) and (4) are probably the same thing but with just different terminology...aren't they?
In reply to Re^2: Designing multiple related modules
by Bod
in thread Designing multiple related modules
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |