|
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?
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] |
- [CFCDev] Encapsulating what changes Jason Daiger
- RE: [CFCDev] Encapsulating what changes Peter Bell
- Re: [CFCDev] Encapsulating what changes Nando
- Re: [CFCDev] Encapsulating what changes Jason Daiger
- Re: [CFCDev] Encapsulating what changes Scott Whittaker
- [CFCDev] Verity Search Engine Joshua Scott
- Re: [CFCDev] Verity Search Engine Will Tomlinson
