Hi Tim, > I've been looking into the Mach-II framework a bit and I'm just wondering how > client-side technologies fit into the picture. > For example - where does Javascript validation fit in? Is this just considered part > of the 'view' and added to form pages?
That's exactly where JS fits in. JS should be included as part of your view(s) where you need to use it. > Also, how does Mach-ii extend to Flash based interfaces? Clearly, a Flash interface > could communicate via the CFCs within a Mach-II application, but are > there any guidelines as to how the Action Script business logic should be > structured? Are MVC design patterns adopted within complex Flash interfaces or > is the Flash side generally kept 'thin', with the processing all moved over to > ColdFusion? I'd be interested to hear about people's experiences/decisions. I'm not a flash developer by any means, but to my understanding your flash will be as is currently, but you will be "firing events" with submits to the server from flash, these events will be processed in the backend by your mach-ii application, and you will get a result (whether you are returning and list of values in name/value pairs, XML or HTML) that is returned to flash. Check out these forum posts for further information. http://www.fusebox.org/forums/messageview.cfm?catid=26&threadid=2367 http://www.fusebox.org/forums/messageview.cfm?catid=26&threadid=2517 The good thing about the MVC pattern is that as your project expands, its easier to add in the extra functionality, and maintainability is a lot easier. I guess it depends on personal preference whether MVC is for you, but in my experience developing and managing web development, this is probably the best approach I've seen to date. HTH, Steve -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Stephen Bosworth Application Development and Integration Communication and Information Services The University of Newcastle, Australia Phone: 02 4921 6574 Fax: 02 4921 7087 Email: [EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> [EMAIL PROTECTED] 10/12/2003 3:45:13 pm >>> Personally from a Flash Development perspective, I fail to see how MVC is useful in Flash? as Flash sort of becomes the controller in itself. I'm yet to see a good working example of an RIA or any app for that matter built with the MVC pattern in flash. Typically its easier to use a MV system, model talks to view and vice versa, as you have event management to handle allot of the routine calls that a controller may end up using. Dunno, i've heard folks like Branden and Co pitch the whole MVP pattern but it seemed a cumbersome way to do things. Scott Barnes Tim McAuliffe wrote: > Couple of questions for the Mach-II folks out there... > > I've been looking into the Mach-II framework a bit and I'm just wondering how > client-side technologies fit into the picture. > > For example - where does Javascript validation fit in? Is this just considered part > of the 'view' and added to form pages? > > Also, how does Mach-ii extend to Flash based interfaces? Clearly, a Flash interface > could communicate via the CFCs within a Mach-II application, but are there any > guidelines as to how the Action Script business logic should be structured? Are MVC > design patterns adopted within complex Flash interfaces or is the Flash side > generally kept 'thin', with the processing all moved over to ColdFusion? I'd be > interested to hear about people's experiences/decisions. > > Cheers > > Tim > > -- Scott Barnes http://macrofun.pvpers.com --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004 --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
