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  PureMVC Manifold / MultiCore Version / How to use Multicore, in what kind of project on: March 04, 2009, 03:35:41
Hi,
i need some examples of when to use the MultiCore PureMVC.
i studied the code and understand it, but still i need examples for in what kind of project i should use it.

10x in advanced,
Nisim
2  PureMVC Manifold / Standard Version / Notification, "type" property ? on: March 03, 2009, 02:10:56
why do we need the "type" property in the Notification object ?
i need some examples for see the use of it ?

10x,
Nisim
3  PureMVC Manifold / Standard Version / registerCommand at Controller class on: March 03, 2009, 12:40:23
why do we have the "view.registerObserver(" in the registerCommand function?
what is suppose to do. i pass the code and i can't understand why is that.
please someone can explain me.

10x,
Nisim
4  Announcements and General Discussion / General Discussion / how to work with Proxy and big data amount ? on: October 02, 2008, 07:07:43
hello,

i have a Proxy question. i have one function on the server that give me most of the data in JSON. i don't want 1 proxy to have the all data in one object. right now i can't cut it to some server functions.
how can i get the data and separate it to some proxies and not to only one ? should i use a delegate ? and if so, how it come to this picture here ?

10x,
Nisim
5  Announcements and General Discussion / General Discussion / what is the differences between Proxy & Delegate ? on: October 02, 2008, 06:27:48
hello,

first of all i want to indicate that i am almost finish to study the PureMVC and the simplicity is great and not take a lot of code and compiled space. so thank you Cliff!

now to the question. we have the Proxy "layer" that get the data from the server and send notification to the app for getting the new data.
what is the deference's between Proxy & Delegate ? i know that Delegate need to be the middle layer between the Service layer and the Data Model layer, and this is what the proxy do - go to the server with the Service layer and get notification from the Service layer for "result" from the server, arrange the data to app objects and notify the app on the new data.

i need some help here to fully grasp this things.

10x,
Nisim Joseph
6  Announcements and General Discussion / General Discussion / How to create sequential (queue) commands ? on: September 29, 2008, 05:45:03
i have another question about the architecture.
right now we have the way to get MacroCommand and this will fire all the SimpleCommand's in it as parallel execution and not as Sequential (queue, one over and then the next will fire).
i saw in the forum other question like this but no real answer was done on this.
do we have something to do about it in the PureMVC architecture ?

10x,
Nisim Joseph
7  Announcements and General Discussion / General Discussion / where to put the all data object (value objects) ? on: September 29, 2008, 03:22:04
hallo,

i am new to PureMVC and i want to put together all the data in my project using this architecture.
the question is where to put all the system data? or if the puremvc support this thing, where it exist in the architecture ?

my idea is to create another object and we could get it from the IFacade interface and implement in the Facade class so i could get a ModelLocator object that all the system/UI data will be in it.

10x in advanced,
Nisim Joseph
8  Announcements and General Discussion / General Discussion / AS3 implement a better Singleton object on: September 28, 2008, 01:04:10
the way the Singleton object is implemented in the PureMVC at action script is little hard to work with, why? because it revile only at runtime and not in compile time.
the right way is this:
the class SingletonProtected can be created or even seen only by the Singleton class because it exist only for that class, so no other class in the system can create the Singleton class object.
we get the error at compile time and not at runtime for any try of creation except in this class.


package
{
   public class Singleton
   {
      public function Singleton(sp:SingletonProtected)
      {
      }
      
      public static get instance():Singleton
      {
         if (_instance == null)
         {
            _instance = new Singleton(new SingletonProtected());
         }
         return _instance;
      }
      
      private static var _instance:Singleton = null;

   }
}
class SingletonProtected{}


Pages: [1]