On 1/14/06, Gabriel Roffman <[EMAIL PROTECTED]> wrote:
> And I've been thinking of using Model-Glue for the view-controller
> specifically for its autowiring (thanks, Sean) as, like I said, I'm in the
> camp of convention over configuartion (of course with the ability to
> override as necessary).  I know there is CF on Wheels which is a Rails
> implementation in CF.  Any suggestions on frameworks that will let me type
> less?

I'm also a fan of the convention over configuration thing in Rails,
which leads me to a question about ModelGlue controllers.  I'd love to
be able to give a config setting of <setting name="controllerMappings"
value="/approot/controllers" /> and have it autodiscover any
controllers I have in there, autowiring any public methods in a
specific format

For example, perhaps saveUser() in userController.cfm automatically
becomes available in event broadcasts as <message name=user.saveUser"
/>.  You could always still specify your controllers individually or
over-ride the existing ones.

-Cameron

--
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell:  678.637.5072
aim:   cameroncf
email: [EMAIL PROTECTED]


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to