During those coding moments when you just know that the creativity and the logic are all flowing unimpeded, coding at the speed of thought, it can be exhilarating! Yet six months later someone will have to maintain that code or add new features. If that code was like a beat poet’s inspired yet unintelligible stream-of-consciousness blather, then you have failed in your quest and have merely written funky-smelling code that (hopefully) at least meets delivery specification.
In an ideal world, you or anyone else should be able to re-enter this codebase at any time and ramp back up to that unimpeded development groove quickly and confidently. To do this, you need the help of patterns and discipline.
PureMVC provides you with a manageable set of time-proven patterns for solving common development problems quickly and effectively. Together, they form a lightweight ActionScript framework that can be used to build manageable applications of any complexity.
Although PureMVC can’t provide you with discipline, the responsibilities and relationships of all the actors in the framework are self-documenting. Since the same patterns and actors are used, nearly all PureMVC applications look the same in structure, leaving only the details of the application’s business logic to be understood. This allows anyone with a basic understanding of PureMVC and your business domain to come up to speed quickly on your application (even if you weren’t the most disciplined documenter).