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

Show Posts

| * |

  Show Posts
Pages: [1]
1  Announcements and General Discussion / Public Demos, Tools and Applications / First Real Project with PureMVC on: September 04, 2008, 10:17:24
Hi guys, today i finished my first real project with PureMVC/Flex/AMFPHP.

The Project in the frontend in raising real estate consultants on a form and a brief description of the real estate and the about the job. In the backend makes all management and allows download and print the curriculum vitae. The application is in Portuguese.

You can see it here: http://www.eucasa.pt/recrutamento

Daniel Gomes
2  Announcements and General Discussion / Architecture / [Multicore] Pipes - Architecture Best Practices with Flex Library on: August 20, 2008, 02:56:09
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:

  -Common Files
  -Model > VO
  -View > Components
-Flex Library
          -Model > VO
          -View > Components
          -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.


Daniel Gomes
3  Announcements and General Discussion / Public Demos, Tools and Applications / User Manager Demo (Puremvc + weborb + php + mysql) on: August 20, 2008, 12:52:22
Hi guys,

Today i finished my first Demo App with Puremvc, it's based on "Login Demo" created by Jens Krause and on "Employee Admin" created by Cliff Hall.

Why i did it?

I'm a new to PureMVC, just started with it 5 days ago. I have a small knowledge about OOP and Design Patterns and i tried make a simple App to understand all this concepts with PureMVC using Remote Services (server-side) and CRUD Operations.

What did i do?

I joined this two applications into a single one, with this features:

    * Login/Logout
    * List, add, update and delete users (except the admin user)
    * Refresh users list button
    * Main.mxml with Deferred instantiation
    * All data comes from database using remote services (weborb|php)
    * Server-Side CRUD operations
    * Tried to make code reuse to my next step is turn this Demo into an Pipe Multicore Demo with modules in a Flex Library Project

Technologies used:

    * Flex 3
    * Puremvc Standart 2.0.4
    * Weborb (php) 3
    * PHP
    * MySQL

Feel free to comment or suggest anything on this Demo ;)

You can see live Demo here.

Hope it helps,

Daniel Gomes
4  PureMVC Manifold / MultiCore Version / Easy Pipes Demo? on: August 18, 2008, 04:53:52
Hi Guys,

I have been testing the Demo Pipes and I am with many difficulties to understand, then I would like to ask if someone could develop a simpler or more easy to understand demo? (something "basic")


Daniel Gomes
5  Announcements and General Discussion / Getting Started / ViewStack: Change view but dont load view components on: August 16, 2008, 12:28:25
Hi guys,

I am having some difficulties loading views components in viewstack.
See the steps:

- MainApp load
- ViewStack default view: A
- I loggin
- ViewStack Changes view to: B
- View B have more two components inside (B.1,B.2)
- When i tried send data for components B.1 and B.2 their are unavaible it sends an error that object is null

So i have doing some search and find maybe it's creationPolicy, the default is auto and i changed for all and the objects are now avaliable.

But my question/difficulty is load the components without the creationPolicy all, becaus now my App just have 2 views and 3 components, but when i have 50 components load all at same time dont make sense and make the server slow and the application, or am i wrong? What is the best practice to do this?


Daniel Gomes
6  PureMVC Manifold / MultiCore Version / The difference between the Modularity and PipeWorks Demos on: August 16, 2008, 04:37:11
Hi guys,

I am starting now with AS3 Multicore, and i'm facing a problem.
I have a flex library that for now contain a Login Module that is attach to my project. When i loggedin in LoginPanel it sends a notification and my question is what is the best away/practice to make it reusable and without Login Module have to know the main project?

I thought maybe Login Module sending a notification that main project can hear and handle but i don't know if it's possible and if it is who to do it.


Daniel Gomes
7  PureMVC Manifold / Standard Version / Having difficulties changing views on: August 13, 2008, 03:01:33
Hey guys, i am newbie to PureMVC and Design Patterns, and i have a few questions to make.

I just started to see some demos, like the login, employee admin, cafetownsend and i am trying to make something like cafetownsend mixed with employee admin but with weborb getting data from database with CRUD operations.

I already have the login working getting the crediantials from database, now i am with some difficulties to figured out how do i change the view when i logged in to the User Management Panel.

my file struture is this:

In other demos i saw that exists an ApplicationMediator, ApplicationProxy, ApplicationCommand but i dont really undertood it yet, but i thought its the way to solve my problem. Because what is make me confuse is change views/components from different mediators and proxys.

Sorry my bad english  :-\

Thanks for your time,

Daniel Gomes
Pages: [1]