1. Flex Framework: PureMVC
Mediator:
get a reference of the view component via constructor
add flex event listener to the component
handle interested notifications correspond to the proxy definitionView Component:Proxy:
declare value objects and binding to the controls using mxml
add event handlers to the controls
VO:
declare bindable data structure
keep a reference of the VO, set or get the value of VO
communicate with network to retrieve data and send data
send notifications to update view state after data exchanging Controller:
define macro commands and simple commands, commands will execute when notifications were sent
mediator do not write the VO instance, it will send a notification and the command will execute to invoke the proxy to update the data ApplicationFacade:
register command map and provide function for application initialize
2. Some Articles and Resource
http://www.infoq.com/cn/news/2009/04/doug-mccune-flex-development
http://www.7yue.com/
http://www.loscavio.com/downloads/blog/flex3_css_list/flex3_css_list.htm
http://www.duzengqiang.com/blog/catalog.asp?page=3
http://code.google.com/p/riabook/downloads/list
http://wiki.actionscript3.cn/index.php
http://www.flexers.cn/wordpress/?tag=flash-builder-4
3. IDE and Development Tools
http://www.sapphiresteel.com/Download-Amethyst-Adobe-Flex-IDE
Flash Builder 4(Install Flash ax & plug-in w/ debug version)
Flash Catalyst
Flash Develop
Flex Explorers
浙公网安备 33010602011771号