Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought

Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Author Topic: PureMVC Portability -- Parallel Codebases  (Read 6011 times)
Posts: 3

View Profile Email
« on: December 10, 2009, 05:13:06 »

Hi all,

My company is building a Flex application that we may need to port to other platforms:

Silverlight (likely)
Mobile (maybe -- iPhone: Objective-C , Android: Java, etc.)
Desktop (maybe -- AIR, .NET, etc.)
TV sets (maybe eventually)

PureMVC is platform-independent and has already been ported over to most of the platforms that are mentioned above. How valuable is this portability? Will it really make our lives significantly easier when it comes to porting and developing/maintaining multiple applications? Also, are there examples of PureMVC applications that have been developed for one platform and then ported over to another while still using PureMVC? 

Global Moderator
Hero Member
Posts: 2871

View Profile WWW Email
« Reply #1 on: December 19, 2009, 10:12:36 »

The ports have been kept as close to the reference as possible, but of course there will be slight differences in implementations from language to language. But the patterns are simple and the simplest language constructs are advocated for implementation.

The key benefit to using it in more than one place is that the basic actors and their roles, responsibilities and collaborations remain the same. When you architect your application, you are using the same patterns across platforms.

Consider the alternative of having three teams architect the app in three different ways for three different platforms, each using the 'hot' framework for that platform (or no framework, or a homebrew).

The maintenance legacy is horrible because you can't transfer any knowledge between the teams. The time and effort needed to design, develop and deploy a new feature to all three apps is significantly higher than if all three apps share the same overall architecture.

Pages: [1]