Portability PureMVC helps you when porting or overriding in another language.
I canโt count the number of platforms and languages โโin which I wrote the code that are now extinct, and for which, even if I still had the source code, it would be mostly useless and should be rewritten from scratch today, since the code is usually was 100%.
But all application code should not be highly platform dependent. Viewing components and services (the boundaries of your application) will certainly be, but your application logic, which is sandwiched between the borders, does not have to be.
The scope of PureMVC is really quite narrow; just to help you split your code into three levels that are forbidden by the MVC meta-template. There is no reason this code should be tied to your platform in order to be optimal.
When the time comes for the transition, you will understand that the participants in the structure and their roles, responsibilities and cooperation remain the same. This will allow you to understand the syntactic differences of the language, recreate the components and services of the presentation. At least you don't have to completely redesign.
And for the case of redefinition in another language, imagine that you are trying to capture a significant part of the mobile market using your application. The market is so broken that you have to implement the same program on two or more Windows Mobile, iPhone, Flash and Java. We are sure that you will probably have separate teams responsible for the applications, but why do they have a completely different architecture? With PureMVC, you can have a single architecture for all versions of your application.
- = Cliff>
Cliff hall
source share