rattkin
Joined: 10 May 2011 Posts: 154 Location: Poznan, PL
|
Posted: Tue May 29, 2012 1:02 pm Post subject: CommandCenter - a wrapper on Task Framework |
|
|
After getting Jens's answer on http://www.spicefactory.org/forum/viewtopic.php?t=3542 , I've decided I will build a small wrapper over Parsley functionality to give me the functionality I need.
It's a class I called CommandCenter and it simplifies programmatic command management and execution, additionally giving you the callback support after each command.
Hope this can be useful for someone. It would be great if something like this could be incorporated into core Parsley eventually, but I would imagine that such design is not in line with how Parsley is built. You can still get those classes and use them separately.
Obviously this could be implemented in other ways, with different names, etc., etc. It's just simple functionality I needed, but given the fact it's so simple and working with powerful Parsley, you can change/extend it the way you like it.
More information on GitHub.
https://github.com/sebastian-zarzycki/flex-parsley-commandcenter |
|