my experience so far has been that Flex not only replaces the views, but also a lot of the controllers and it has it's own models. Accordingly, the architecture of my apps has been to create a both a backend and a frontend.
The backend can either be RESTful services or full blown web services. I'll usually start with this layer first, testing them out with xml output to make sure things work as planned. Then, once you've got a good portion of the backend done, I'll start working the frontend. This is the most tricky for me to do in html since I've been doing apps with no seperation for ages. One thing I've tried is create a new project for the front end and then pretend the backend is a remote web server. Once you've created your html interface, the Flex interface should be a lot easier to create since you've already created the remote calls once in the html interface. On 9/3/07, Robert Rawlins - Think Blue <[EMAIL PROTECTED]> wrote: > Hello People, > > > > I'm the throws of planning a rebuild on one of my applications, which will > be pretty much from the ground up. One of the prospects for the application > is to have a FLEX front end, in addition to a standard XHTML based UI. I > know next to nothing about flex at the moment and plan to work on my skills > whilst I progress the project along. > > > > The thing that troubles me at the moment is planning for that integration > from a ColdFusion point of view. I will be developing the app with an MVC > design, what steps should I be taking to ensure that a FLEX UI can be > implemented simply over the top at a later date? Does it require any special > requisites of my Controller or Model? Or can I leave those as standard and > simply replace the view layer with the FLEX base? > > > > I suppose this question really stems from a lack of knowledge of FLEX and > the way in which it interacts with the ColdFusion app, I mean, can FLEX > handle and deal with standard data types like structures, arrays and > queries? Or should I be looking to output all data as XML? Perhaps in a > separate controller/proxy layer, so both the XHTML and FLEX are working from > a different set of controller API's once outputting standard CF data types > and the other publishing xml? > > > > Thanks chaps, I know it's a bit of an open ended question but I wasn't to > try and get a feel for things and perhaps learn a little from your personal > experience of how this stuff works, I really am very keen to push FLEX > forward in my applications. > > > > Rob > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287658 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

