Pure MVC 1.7 released for the AS3 Platform
The latest version of the PureMVC framework distribution package for ActionScript 3 Platform is 1.7. The package is in ZIP format contains the AS3 source code, API documentation, and SWC library for use with the Flex, Flash or AIR platforms.The change is transparent, that is to say, it requires no code changes and will not affect the behavior of your application, except to fix a reported bug. For information on the changes in this version, see the version.text file inside the download, as well as this forum thread.In addition to the bug fix, (for which a new unit test was created), the Facade class and IFacade interface both received a removeCommand method. It simply passes through the request to the Controller. In practice removeCommand is rarely used, but for the sake of balance in it was added so that if you want to use it you don’t need to get the Controller singleton to do so.And in the Controller’s registerCommand method, there was a potential for a Command being registered to a previously registered Notification, the new Command could be executed twice. This was taken care of, so that the Observer is only created if there is no existing Command registered for the notification. The behavior is the same as before in that the newly registered Command is executed, only once as you would expect.
Similar Posts
comments
leave a reply