Mind-Bender

A quick update - the Bender alpha release *is* imminent, but I got held up on some recursive code that was being obstreperous and I'm having to rethink the way I was handling cfc mappings.

I wanted to set it up so you could instantiate Bender and pass it in all the cfc's you want to map to, or be able to setup a ColdSpring definition with the relevant auto-wiring, but I realised that the flex component is talking directly to the bender component so this wouldn't work.

What I'm doing now is creating BenderService.cfc - a facade that manages the instantiation of Bender. You change the instance code at the top of this cfc to however you want to instantiate bender (EG a CS getBean() call) and the flex component talks to BenderService.cfc, which just passes traffic back and forth to Bender.cfc.

At the moment I'm wrestling with the best way to make it all happen, trying to pass in instantiated components and have them stored - it's getting there but a few finicky details with unnamed arguments etc are causing me grief. More as soon as it comes.

PS. btw any comments on this would be greatly appreciated - any suggestions on how best to set it up, especially from anyone who knows coldspring would be fantastic.

TrackBacks
There are no trackbacks for this entry.

Trackback URL for this entry:
http://www.tobytremayne.com/trackback.cfm?1CF7FB2B-9A9F-82D4-19CAACB75FBEBB16

Comments