|
Hi all,
Just picking up Reactor for the first time. Very cool stuff.
I am working on a Flex/CF/Tartan/Reactor project and looking at using Reactor’s TO’s as my value objects. Basically I’m aiming to load a database record, get a TO for it and return the TO(VO) via a remote service to Flex. Can I double check that calling _getTO() in the following manner is consistent with what people are doing ie., wont break in the future, is legal (not sure of the leading underscore in the method name), any gotchas?
viewRecord = reactor.createRecord("View") viewRecord.setName(name); viewRecord.load(); viewTO = viewRecord._getTO(); arguments.event.setArg("view",viewTO);
Another issue I am thinking on is that I will need multiple reactor factories. I have several sub applications which share the same CF application key but have different dsn etc. I imagine that the reactor factory caches objects which will force me to have a factory for each. Correct?
Thanks in advance and keep up the good work!
Angus
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
- [Reactor for CF] reactor TO's ajohnson
- Re: [Reactor for CF] reactor TO's Tom Chiverton
- RE: [Reactor for CF] reactor TO's Doug Hughes
- Re: [Reactor for CF] reactor TO's Tom Chiverton
- RE: [Reactor for CF] reactor TO's João Fernandes

