开发者

How to integrate flex with existing web app?

I'm having trouble conceptually understanding how to integrate flex components -- forms, charts, data grids, etc. -- with an existing web app. There are certain aspects of the web application where I believe it makes more sense to use flex -- however, I DO NOT want to replace the (html/js/java) web-app with a pure flex based app.

For example, currently the web app displays user data using html tables and java base开发者_Go百科d charts, I'd like to re-implement this "data display" using flex.

  1. Would I have to create a flex "application" for the "data display"?
  2. What if I wanted to re-implement the forms used by the web app to save the data in flex, would I have to create a flex "application", separate from the "data display" flex app?


  1. Would I have to create a flex "application" for the "data display"?

Yes! Anything you want to use flex, you need to create a Flex application.

  1. What if I wanted to re-implement the forms used by the web app to save the data in flex, would I have to create a flex "application", separate from the "data display" flex app?

In theory, all this would be embedded in the same Flex Application.

It sounds to me like you're thinking of flex using the same "page" metaphor that is used in web sites. This is not recommended. Think of a Flex app like a self contained entity.

You wouldn't want a situation where you are loading multiple Flex apps on a page. If that is what you were thinking, you should reconsider. You probably don't want a web site with a new Flex app on every page either. If that's what you're thinking, I believe there are AJX equivalents for most Flex Components. Take a look at those.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜