 Just a short time ago, I upgraded my old Sea of Arrows music site to a Flex-based PureMVC MultiCore application. I had grown a bit tired of the old site which was a terrible HTML/Flash thing that had been thrown together in haste. Talk about the shoemaker's kids running around barefoot. So I reasoned that the overhaul could stand as a non-trivial PureMVC / Multicore / Pipes / StateMachine demo and went for it. Once it was up, somehow the idea struck me that I could reuse this mp3 player/visualizer codebase to show presentations in a unique way. Playlists and Tracks would become Presentations and narrated Slides. Rather than record a single half hour audio or video presentation, I could instead create the audio for each slide separately, and since the app supports deeplinking, I could perhaps use them as "Talking FAQ's," linking directly to apropos slides in forum posts and such. The result is now up and running. At PureMVC TV you'll currently find 4 short overview presentations on PureMVC, MultiCore, StateMachine, and finally Getting in the Groove, which documents the approach used to power both Sea of Arrows and PureMVC TV. The common code has been extracted into a new library called MediaTurbine, which both sites are now running. The business of creating a site like either of these has now been reduced to extending a single class, defining the CSS and XML configuration and supplying its media assets. There are a few rough edges, sure. But just try to argue that you can't get immediate and gratifying code reuse with OOP, I dare you! :)
|