Good MVC framework for AS3
Do you know a decent MVC framework for AS3? I am curre开发者_如何学编程ntly looking into PureMVC but I need some reassurance that it's the best choice.
Do I really need to use a framework? or would it be better for me to implement MVC myself?
I'm assuming by AS3 you mean flex/AS3. Cairngorm is the defacto standard and was written by adobe consulting; Hence, you will find a lot of community support. There are a few others including PureMVC. There is an article on the adobe/flex website which gives a good description of all of them.
i followed MVC Design Pattern in AS3
i.e,
The model represents the information (the data) of the application and the business rules used to manipulate the data
The view corresponds to elements of the user interface such as text, checkbox items, and so forth
The controller manages details involving the communication to the model of user actions such as keystrokes and mouse movements.
if you have any doubts about implemention of MVC you can refer actionscriptworkouts.blogspot.in
Carnigorm and PureMVC are good choices, but my personal opinion is that Robotlegs is far easier to work with.
http://www.robotlegs.org
精彩评论