Overview
This user guide will be presented in a tutorial way rather than in a list of screen and features description.
The application that we use is the famous "CafeTownsend" Cairngorm demo application (found here), ported to PureMVC, and in which we added some commands to have a better demonstration of the console.
PureMVC home site can be found here with a lot of documentation and some examples.
We will study how this simple application works with the help of the console, hence discovering at the same time its screens and features.
The main features of PureMVCConsole are listed below:
- List of all PureMVC operations and events
- List and inspection of the Proxies
- List and discovery of the Mediators
- Real-time commands list
- Real-time notifications list
- Inspection of relevant objects
- Stacktraces on all events and important operations
- Connexion with KapInspect through popup menu
To follow the tutorial, you will have to lauch the demo application here
Start the console
When we start the demo application the console will load directly. This has been added, as in normal cases you will start the console with a keyboard shortcut, which is by default:
- Ctrl+Alt+F6
- Ctrl+Alt+Click
Notice that this last shortcut will launch at the same time all KapIT consoles embedded within your application (typically KapInspect). They may overlap as they are initially centered on the screen.
The first shortcut is exclusively used by PureMVCConsole, and may be specified using the "shortcut" attribute of PureMVCConsolestartup class.
In the demo application, we used the "PureMVCConsole.getInstance().showPopup()" static method to display the popup after application loading is complete.
 | tip
You do not need to open the console in order to start registering events. Events will be registered in custom PureMVC classes, until the PureMVCConsole is instanciated and recorded events transmitted to the console.
Obviously, if you want to watch the various flows and events update in real time, you will have to keep the console opened. |
Next >> Event flow