Thanks for the suggestion but unfortunately I did see Sean's post.  With all the hype around Flex these days I too am looking at it's impact down the road, hence the post. Oh well I'll keep looking and thinking and hopefully figure out a 'KISS' solution.

Thanks.

Nando wrote:
Hmmm ... Flex front end. Sean Corfield just posted something the other day about the importance of a service layer here:

http://corfield.org/blog/index.cfm/do/blog.entry/entry/Mach_II_Some_Advice

I've been looking into Flex rather intensively in the past few weeks. I can see how his advice would apply to any framework. He mentions ModelGlue also in his post. MVC/OO Fusebox would be in the same boat. Just mentioning it in case you haven't seen it.

Jason Daiger wrote:
I have an form input intensive application that I would like to encapsulate the validation rules into a CFC.  This application is used and 'tweaked' for 40+ different clients each year using XML configuration files to store things such as field labels, field required lists & security rights . If the client has a business rule the configuration file can't handle, then the validation code for the form must be changed.  It's really a 90/10 rule where only 10 percent of the clients require such a change but we must design the system to support that 10%. Therefore I'm looking for a way to easily alter a validation CFC.  Seems easy enough but I use strict typing, e.g. com.attendeeinteractive.aievolution.v100.Person, and want to continue this practice.  I've thought about a  Factory object that would accept an optional project code and then return the proper CFC to the caller.  However, this seems like my Factory object will eventually get bogged down with lots coding changes and ultimately result in a big switch statement.  That solution just does not seem like a good one to me.  Any other suggestions out there?

As an FYI, we are currently using Fusebox 5 and have put this form validation code in a CFM file w/in a circuit.  So changing the validation rules is easy. Copy the 'offending' circuit out to a custom directory, altering the FB 5 XML file to point to the new circuit, edit the CFM file and we're done.  Works great for now but down the road if I want to add a new front end, such as Flex, it's not going to work b/w it's a framework specific solution.  So I would like to put the validation rules into a CFC to give me the option later of adding a new front end without editing the server side business rules.  That's my goal and any help or suggestions on reaching that goal would be appreciated.

-Jason



----------------------------------------------------------
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]

-- 
Jason Daiger
URL: www.jdaiger.com
EML: [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