Hi All,
I am experienced in java Spring framework but new in AS and Flex development.
As I know, there are a lot of frameworks are available for Flex. For example, Cairngorm and PureMVC.
Since I am learning PureMVC, I would like to take PureMVC as an example to discused. PureMVC is an MVC framework. We can use it to split the Flex application into a few layers. It support Event handling so that different layers can be decoupled. It also manage the lifecycle of the objects(For example, the command objects. Of course, we have to create these object at the beginning by ourselves but PureMVC will take over everything after the creation.)
I just have a look at the Spring Actionscript. Just like the Spring framework that has been implemented in Java, the Spring AS provide IOC(object lifecycle management), EventBus(Event handling), Operation/Command(They look like the concepts in MVC framework).
It seems that the Spring Actionscript overlap with PureMVC so much. However, Spring AS also support Extensions for PureMVC. That means Spring AS does not overlap with PureMVC and they should work with each other.
Now, I am confused and below are my questions:
1. Compare with PureMVC, what is the advantage of Spring AS?
2. What is the advantage of using Spring AS standalong?
3. What is the advantage of using Spring AS with PureMVC?


Reply With Quote
):

