Has anyone had any experience (or performance issues) with the use of nested CFCs?
For example:
I have a user component. That User component can have any number of profiles, so the User Component contains an array of Profile Components. Each profile can have two addresses (say a billing address and a shipping address), so the Profile component contains 2 address components. Etc.. etc..
This might be a representation in ASCII glory:
User
|
|--UserProfiles (Array of Profiles)
| |
| |---Billing Address (Address component)
| |-- Shipping Address (Address component)
|
|--Mailing Address (Address component)
This example goes 3 levels deep. The full model, has CFCs nested up to 5 levels deep. Most of the data is loaded when a user logs in and stored in the session scope, and then can all be accessed via "session.user.whatever"
The application appears to be equally slow on both CFMX and BlueDragon, although I haven't done any serious performance testing.
Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer
AIM: Reboog711 | Phone: 1-203-379-0773
--
My Books: <http://www.instantcoldfusion.com>
My Recording Studio: <http://www.fcfstudios.com>
My Energetic Acoustic Rock Band: <http://www.farcryfly.com>
--
When did Reality Become TV
