Bender Expansion

I have just concluded a magnificent conversation with the brilliant Mark Mandel of Transfer fame - we spent about 25 minutes each trying to convince each other of pretty much exactly the same thing :)

The upshot is that while I've been focused just on getting direct communication between flex and transfer, Mark has been asking questions about looser coupling to CF models - for example Bender being able to pass transfer objects to other gateway cfcs (or retrieve data FROM other cfcs) instead of talking directly to transfer. What I think I'll do once I have the basics working, is set it up so that Bender can act either as a direct translation layer to Transfer, or as a proxy to other model cfcs in a coldfusion applications, via the mapping of transfer objects to cfcs and methods in an xml file.

This way Bender will allow you to setup a mapping that says, "When I try to save a Page object, send it to the PageManager's save() method" instead of Transfer.save() directly. this will allow for further business logic without breaking existing models. The simplicity of simply throwing actionscript model data directly at transfer will still be there, and would be the default operation if no mappings are setup, but this will allow for much more flexible usage. Again - comments very welcome, I see lots of readers but no suggestions! :p

Thanks again Mark for the advice.

TrackBacks
There are no trackbacks for this entry.

Trackback URL for this entry:
http://www.tobytremayne.com/trackback.cfm?D54741D1-A3BD-5FFD-EE6A8C0AC06D6FD4

Comments
Mark Mandel's Gravatar Sounds like it's going to be really cool!

Do you want to show off some sample code of how it will work?

That usually gets some comments.
# Posted By Mark Mandel | 4/9/07 2:07 AM
Toby Tremayne's Gravatar yeah i'll have some code up shortly, just working on some stupid bug I've got in the flex side of things - mostly likely noob mistake :)
# Posted By Toby Tremayne | 4/9/07 6:44 AM
Kurt Wiersma's Gravatar I for one am very excited about this project. This will be an advantage Transfer has over Reactor. I also really like this change to be able to call a service cfc instead of the Transfer API directly. That is exactly what I would want to do.
# Posted By Kurt Wiersma | 4/9/07 8:19 AM
Toby Tremayne's Gravatar Thanks Kurt - glad to know it's of interest!
# Posted By Toby Tremayne | 4/9/07 3:58 PM
Dan Wilson's Gravatar Hi Toby,

A few of us in CFFlex were talking about Bender and the potential architecture. Perhaps it was late where you are, but people are definitely interested. I put up a quick post here:
http://www.nodans.com/index.cfm/2007/4/9/Is-Bender...
please correct any inaccuracies as you see fit.
There is some good interest in the bender concept.
# Posted By Dan Wilson | 4/10/07 5:48 AM
Adrock's Gravatar What functionality with Bender add that isn't already addressed by ColdSpring?
# Posted By Adrock | 4/10/07 6:54 AM
Toby Tremayne's Gravatar Hi guys - check out the "Bender Explained" blog post, hopefully will clear a few things up.
# Posted By Toby Tremayne | 4/10/07 8:07 PM
Toby Tremayne's Gravatar Hi Dan - thanks for the post :) I can't seem to post a comment on that blog post I'm afraid.
# Posted By Toby Tremayne | 4/10/07 9:00 PM