Voices on PureMVC: An interview with Cliff Hall
Cliff Hall, the founder of the PureMVC project, has recently opened a Blog called “Voices on PureMVC” and has started a “Voices Podcast”, too.
At the first episode we’ve talked about some PureMVC demos I’ve created as well as about the experiences using PureMVC in my professional work. It was a lot of fun!
P.S. Cliff, thanks for the great interview! I’m very proud to be a voice of PureMVC
Hi,
Very interesting interview.
Totaly agree that PureMVC makes it easy to create any project.
Your slideshow is also cool.
Hello Jens,
just out of interest and studying hard on puremvc as a novice, I looked at the sourcecode of your nice slideshow. When inspecting the Commands part of your slideshow, namely `LoadContentXMLCommand` i saw something that could maybe be a weak part of pureMVC and meybe you can shed some light on this:
If a Command receicves a INotification in its execute function, what if this note contains a lot of variables in it’s body ? It would be hard to have code completion on this because the variables in the body are not part of a class. That way typo’s could slip in easely, not to mention the missing types on code completion.
In your execute(note) code I saw for example something like this:
var x = note.contentXMLPath;
var xx = note.cacheXML;
var xxx = note.standalone;
Do you wait till compiletime to check on this error-prone vars or how is this solvable in pure-mvc?
Kind regards,
Latcho
Hey Latcho,
I wonder how you can check the source code of the WS-Slideshow, because it’s NOT open source. It seems a decompiler such as Sothinks SWF Decompiler did a great job for you.
Anyway, if you send a Notification within PureMVC, the type of its body is just a Object. It’s up to you to use a type-safe and custom object to handle it without any issues.
Again, its not a nice way to decompile code and asking a question about it. Think it over, man!
-Jens