I am in the middle of creating a fairly large flex application, and over time it began to give way to unsupportability.
I use 3 external library projects that are still small enough to remain maintainable and reusable, but the main project seems impossible to organize in an organized way.
Part of the problem is that I have about 30 objects that inherit from one abstract object such as a superclass. All child objects have both a logical component and a ui component that are closely integrated with each other. A superclass object has about 60 common methods and properties, most of which can be overridden in any of the child classes, some of which must be overridden in all child classes.
To add to the complexity, they must communicate with each other, and usually this happens through the container object in which they are located. In addition, the main project must create value objects from them so that they can be sent to the FlourineFX server for storage and additional authentication / authorization logic.
I created much larger projects in languages from old MS BASIC (pre VB), Ada, VB (from 3 to .Net 1), C ++ and C # without this problem. (well, the old VB tended to this problem due to the same close integration between the UI and the logic) So, is there something that I don't see, or are there any best practices that I can implement? (even if it means rewriting entire lines of code)
And yes, it could be an extension for this conversation.
source share