Sorry for the double post, I'm just so excited with everything that's going
on.

If I have a Contact CFC that can have multiple phone #'s, emails, bank
accounts, addresses, credit cards, echecks, profiles, etc., etc., etc.
Should I be injecting ALL of those dependent objects into Contact at init()
even though very often only 1 of the 15 gets used? Is this a good time to
inject the factory itself, instead of each dependent cfc, so that the
dependent objects are created on demand rather than at init()? Should there
perhaps not even be a dependency defined here and every objects gets called
separately on its own?

I appreciate ANY thoughts or opinions you may have about this setup.

Cheers,
Baz



Reply via email to