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 ... 6 7 [8] 9 10 11
106  Announcements and General Discussion / General Discussion / Re: Shell Global Content Sharing in a Multi Core/Pipes application on: August 16, 2009, 03:53:16
>Just have to test it... because for the moment my Modules are larger than
>my main Shell (It should be the opposite)

No you probably already have a good design here. In a real app the Shell must be smallest than any module it loads.

Shell must only grow in size when you are using Flex Builder to optimize module code. Flex Builder optimize module sizes by putting all modules common code in the Shell. So the less logic you have in the Shell, the better it is in my opinion.

>Have i to put my common Vo, shared components and so on in a library ?
You're right, but be careful not to use to many common VO's if you send it through Pipes, they can contains unwanted references and create some garbage collection problems.

Something else related to your first message, note that you better have to use specific configuration for each module when possible. I consider that it may be possible to run any module alone, without the core at anytime as much as possible to guarantee a good implementation.
107  Announcements and General Discussion / Public Demos, Tools and Applications / Flash only «Modules with PureMVC pipes» demo on: August 09, 2009, 04:55:32
As some people asked me, I just created a Flash only demo from my first Flex «modules with PureMVC pipes» demo I've posted here.

We now have a Flash only PureMVC multicore example that loads externals modules and use PureMVC Pipes.

My blog post : Flash only «Modules with PureMVC pipes» demo
108  PureMVC Manifold / MultiCore Version / Re: pipeworks - where are the module swf? on: August 02, 2009, 11:17:51
You have to configure it in Flex Builder. It needs to remove all references to the concrete implementation of the module from the application and set the module class as a Module in the project>properties>modules menu.
109  PureMVC Manifold / MultiCore Version / Re: pipeworks - where are the module swf? on: August 02, 2009, 03:39:41
You can find a basic example of an application using a real module loaded as SWF here : http://www.websector.de/blog/2008/06/21/a-basic-puremvc-multicore-as3-example-using-pipes-utility-and-modules/
110  Announcements and General Discussion / General Discussion / Re: Call a Command Every Frame on: July 14, 2009, 02:38:00
Here I think that all this work would better have to be done by only one mediator. You don't need a proxy to store the mouse position data, it's only a view concern, except if your mouse position is sent on a network for a multiplayer game or something else. And even in this case, you'll have the mouse position first "stored" by a mediator.

Try not to use the main mediator for this, create a BoxMediator or something specific. And then you're mediator can subscribe to the ENTER_FRAME event of the box Sprite/MovieClip. I don't think that you need a command for that, but as Cliff previously said, it all depends on your needs.
111  Announcements and General Discussion / Architecture / Re: How to document a PureMVC application design on: July 13, 2009, 05:30:35
It's a good topic. I often think that an application built with PureMVC or any MVC framework could benefits a specific documentation design that explains how it work in a more comprehensive way.

I also first adopted PureMVC because of its clear and sufficient documentation. It's a big advantage in project management when project have to go from the hand of a developer (team) to another often in the life of the product. I think it's a good thing to continue the work Cliff has done while well documenting our own applications.

: InfamousNic
Do you use sequence diagrams or use cases to document commands?
In my project management, I document first with UML, I separate use cases and create the sequence diagram for each. It's more than often that a command exists for a specific use case. I think that it's a good practice to think it this way.

I'm an Agile adept, so I think in term of "the less documentation we have, the more Agile we can be when the project needs to be refactored or modified". It's why I think I will never use UML class diagrams to describe a project. But if you think you need it, the code can be easily reverse engineered using the appropriate tool (Entreprise Architect can reverse AS2,AS3). I prefer export an ASDoc with a rich inline documentation (javadoc comments) or to use the "View source" generated by Flex as here on PureMVC.org.

But to be honest, as you I want to find a way to better document the core design of my application with some drawing that tend to separate View, Model, Controller, WebService, LocalStorage etc... To represent in only one design a whole PureMVC core.

112  Announcements and General Discussion / Getting Started / Re: Can view components load images? on: July 12, 2009, 10:29:09
hesten> I mean to use the mediator to initiate loading, receive complete event and add the image to the display list in the mediated view. You don't need this when the view is able by itself to load the image (when an image component is used in Flex or when you have your own component).
113  Announcements and General Discussion / Getting Started / Re: Can view components load images? on: July 12, 2009, 05:47:31
When I only have to load a unique image I fully load it in a mediator. When it cames to a list of images, I prefer to use a proxy. But sometimes, when the loading is too dependent of the view state (scrolling, complex user interaction), I suppose that to manage all the loading in a well designed mediator is sufficient.
114  Announcements and General Discussion / Public Demos, Tools and Applications / Re: Module to Module communication (Flex/Multicore PureMVC/Pipes) on: July 09, 2009, 12:10:43
: mariusht
It's a perfect demo for beginners.

Agreed. You need it when it comes to learn how to let modules communicate between them.
115  PureMVC Manifold / MultiCore Version / Re: Using Pipes with a different approach - Clarification on: July 06, 2009, 08:12:45
I'm glad that you could find a solution to all of your problems, I had expected to answer you in the evening, but only with little time.

Good luck with pipes. ;)
116  PureMVC Manifold / MultiCore Version / Re: Using Pipes with a different approach - Clarification on: July 04, 2009, 04:21:23
does anyone have an example of using pipe using a different approach other than shellToModule , moduleToshell ...

If you want a different approach to handle module to module communication, you can check mine : http://www.tekool.net/blog/2009/06/14/puremvc_flex_modules_and_pipes/
117  Announcements and General Discussion / Public Demos, Tools and Applications / Re: Flex modules with PureMVC pipes simple demo on: June 19, 2009, 05:18:53
Many thanks Jason , I will investigate on this off-topic problem. :)
118  Announcements and General Discussion / Public Demos, Tools and Applications / Re: Flex modules with PureMVC pipes simple demo on: June 19, 2009, 10:28:40
Thanks Ondina. The ModuleJunctionMediator was the key thing in my work. I hope it can easily be integrated in an existing architecture without disrupting IOC. I think I will try to integrate with as an example with Spring ActionScript to learn to use this framework.

Jason, thank you for your return. Could you tell me which Firefox version do you use and if it happens on the home pagen the demo page or the blog post ? It happens to me in the past on blog posts with GoogleMap embeds + Firebug activated. It would be nice if you can tell me that you have Firebug activated or not when the crash happens.
119  Announcements and General Discussion / Public Demos, Tools and Applications / Flex modules with PureMVC pipes simple demo on: June 15, 2009, 12:49:56
Here another demo to illustrate the use of PureMVC Pipes utility  : http://www.tekool.net/blog/2009/06/14/puremvc_flex_modules_and_pipes/

This demo mainly focus on loading Flex modules as SWF files and how to let modules communicate among them.
120  PureMVC Manifold / Standard Version / Re: Register Mediator on: May 29, 2009, 03:11:20
No it is not ok because the PureMVC paradigm is that views must don't know their mediators. By doing this, your view knows its mediator. You better have to use the startup command as in the EmployeeAdmin Startup command ( http://puremvc.org/pages/demos/AS3/Demo_AS3_Flex_EmployeeAdmin/srcview/source/org/puremvc/as3/demos/flex/employeeadmin/controller/StartupCommand.as.html ). It's only one line of code and it's quite more logical.
Pages: 1 ... 6 7 [8] 9 10 11