Hi guys,
Today i started my new "adventure" with PureMVC Multicore + Pipes, i just start reading some articles about pipes and see how the Pipes Demo works and try to understand it.
My first goal with Multicore and Pipes is recode my
User Manager Demo that was made in PureMVC Standard, because for me that is the best way to learn and understand it.
My main goal is learn how i can work with PureMVC with an External Library with Independent Modules that the Application don't need to know and vice-versa.
So when i started, i got some questions about architecture. The application will the equal to this
"User Manager Demo", the difference it will have Multicore Pipes and will have an External Flex Library that will contain the Login and User Manager Modules.
So my questions are, what is the best practice to make this modules totally indepedents of the Application? And what is the best file structure and architecture for it?
My first thought about file structure was something like this:
-APP
-Common Files
-Controller
-Model > VO
-View > Components
-Flex Library
-Modules
-Login
-Controller
-Model > VO
-View > Components
-UserManager
-Controller
-Model > VO
-View > Components
But maybe i will have some common files to be shared with Application and Modules, and other question came. Where is the best place to put common files that sometimes are specific for an application and how to share them with Modules and Application?
Suggests and ideas are welcome.
Thanks,
Daniel Gomes