Just think about cairngorm or mate framework. On Thu, Mar 5, 2009 at 11:33 PM, Kay Kay <[email protected]> wrote:
> > Hi All, > > I am in process of creating a web-site based on MVC arch having web- > services for data input. > I want to seperate web-service call from .mxml (View layer) and have > it invoked thru controller. > For this I am planning to delegate control to controller.as from .mxml > file, and controller will invoke web-service, keeping UI layer clean. > > My query is: > 1) Will the control return back immediately back to caller (UI layer) > immediately after web-service invocation from controller? and seperate > thread process will handle response from web-service? > 2) Or the flow will be procedural ie control will return to invoking > function in controller ONLY once response is recieved from web-service > and I can apply business logic on the data recieved and finish the > function before control returns to UI layer for data binding > 3) If seperate thread is invoked to handle the response, should I have > some kind of call back functionality from controller to MXML to > intimate the UI layer that data required for UI binding is avaiable? - > what is best practice > > I havent worked with web-service and Flex, hence any pointer to > documents will be highly appreciated. > > Thanks. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

