We are upgrading from 3 to 4.1.

I am trying to figure out the best way to create and invoke cfc methods.

The options seem to be - ignore fb4 stuff and do this myself within fuses.

Use fusebox.init.cfm to instantiate where required. Then use <invoke>
in circuits.xml.

Use <class> in fusebox.xml together with <instantiate> and <invoke> in
circuits.xml.

I like this last one because if my cfc's move to another folder I can
just change the fusebox.xml.  However I'm concerned that I have lost
control of locking if I wanted to place my object in a persistent
scope.

I've also had the idea of sort of combining the use of <class> with
the fusebox.init.cfm file and using the application.fusebox.classes
structure to do my instantiating - i.e. getting the benefit of this
central variable, but keeping more control of the creating of objects.

Any thoughts or advice on that lot!

Mike

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:12:6672
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/12
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:12
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.12
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to