Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Show Posts

* | |

  Show Posts
Pages: [1]
1  Announcements and General Discussion / Public Demos, Tools and Applications / Re: *Hot* KapLab's PureMVC debug and monitoring console for AS3/Flex on: January 06, 2009, 04:22:29
Thanks a lot for your support Cliff !
The next version will include also command and notification history, as well as HTTP and other remote services history log and monitoring
Stay tuned !
2  Announcements and General Discussion / Public Demos, Tools and Applications / Re: *Hot* KapLab's PureMVC debug and monitoring console for AS3/Flex on: December 20, 2008, 01:20:27
Hi, sorry 'bout that, I'll have a look at it and hope to fix it rapidly
We provide new fix builds every week when necessary.
Anyway, thanks for posting reports.
However, it would be great if you could post your reports in our forum, in order to keep trace of it and manage bug reports.
It's here : http://lab.kapit.fr/display/forum/PureMVC+Console

You may also directly report a bug into the Jira system; however you'll have to register once more (SSO is on the way, but not still deployed)

Concerning your problem, it's awkward: the message indicates that property "body" does not exist on the PureMVCEventNotification class, which extends Notification that obviously contains body.
So for me, it looks like either a build/compile issue, or maybe a SDK Flex mismatch, something weird.
Could you please tell me more about your exact config:
OS, Flex SDK, FlexBuilder version
Thanks
Julien
PS: Please do your future reports in the forum, I will directly receive the notifications.
3  Announcements and General Discussion / Public Demos, Tools and Applications / *Hot* KapLab's PureMVC debug and monitoring console for AS3/Flex on: December 19, 2008, 08:49:50
If you'd like to observe what happens inside a PureMVC application, at the framework level, to drill-down into its internal classes, and be able to see operations in real-time:
- MVC operations queue (execCommand, sendNotification, registerMediator, etc...)
- The contents of the Proxies, and drill down into display list of their associated views
- The log of the commands
- The log the notifications
All this is coupled with a stacktrace log, that will allow you to find out the exact line of code from which any monitored operation has started.
All this is provided by our KapLab new component: PureMVC Console, available for both singlecore and multicoreversions of PureMVC:

Screenshots:

For even more debugging power with Flex, don't miss the KapInspect debugging console, that gives even more power to the PureMVC Console, by allowing it to send objects for inspection here:
http://lab.kapit.fr/display/kapinspect/Kap+Inspect

Hope it will be as usefull to you as it has been for us.
Merry Christmas and Happy New Year
 :) :) :)
4  Announcements and General Discussion / Getting Started / Re: Does Extends == Inheritance && Implements == Composition? on: September 18, 2007, 03:02:17
In Flex 1.5 and AS2, there was another way to do it, which looks like Aspect Programming.
You just had to declare "dummy" methods in you class, the ones that would implement EventDispatcher behaviour (3 methods I guess)
Then you had to write something like

MyClass
{
constructor
{
   EventDispatcher.initialize(this)
}

and at runtime, your empty methods were "filled-in" with live code from EventDispatcher, and they worked fine.

In AS3, this is not possible (at least I did not find how) directly.
However, it is still possible through the Proxy class, that allows to hook the getProperty and executeMethod behaviour.
Then, it is possible to create a class with dynamic methods (aspects), by adding methods at runtime
Obvious drawback is that you loose class lookup at compile-time, in the IDE
But still, it may be great to use in some cases, like proxy classes or mutating classes ...
kohinoor
5  Announcements and General Discussion / Getting Started / Re: PureMVC for Flex Components ? on: September 18, 2007, 02:46:12
This is actually a good question.
I had the problem recently where I was refactoring a Cairngorm application (actually just the start of an application) with http services
I wanted to create an auto paginated DataGrid made of a flex component (datagrid+paginator) + a mediator + a remote proxy object.
I wanted this datagrid to be an independent and "self-standing" component, able to be dropped as an xmxl tag into another mxml component or application
Moreover, this grid had to be generic in respect to the data type (value objects) that it was connected to (http request returned generic collections of different Vo classes) (done at the decoder level)
Finally, I wanted to specialize the grid into actual VO collections, so that I have the appropried columns and renderers in a final specialized datagrid component.

Finally,
I did something that may break a little the patterns of PureMVC: the component creates itself its mediator (that is generic), initializes it with himself some specfic parameters, and thats all.
What do you think of this technique ?
Thanks for reading this
Kohinoor
Pages: [1]