Hello J,
I am new to Design Patterns and currently using ARPX so I know 4 -5
patterns. I am using Application Domain but found that it can't help
me in Shell/Module pattern so I opt for mx.modules package. As you
mentioned Model Locator, please I would like to have a sample if you
can give me. Although I looked at it. Its same like Spring Service in
java. Please give any sample for Model Locator so that I can get
Shell/Module pattern ....



Thanks
--- In [email protected], "JWOpitz" <[EMAIL PROTECTED]> wrote:
>
> Regarding the singleton implementation, if you are using a MVC
> approach, does not the ModelLocator instance provide a central place
> for communicating data back a forth form the views?
> 
> I too am working on a Module based application.  THough I haven't
> encountered any issue so far, I am curious to know that if you have
> various {bindings} found in the various modules, when those modules
> get unloaded and loaded back in, do those binding update automatically?
> 
> I am sure I could make a quick test app to see but thought I would
> throw this out for food for thought.
> 
> Thanks,
> j
> 
> --- In [email protected], "cksachdev" <cksachdev@> wrote:
> >
> > The same I tried. But in ActionScript Project I am unable to import
> > mx.modules.Module class. As you mentioned I should use
> > parentApplication. parentApplication is available in mx.modules.Module
> > class. I am unable to access any properties or methods of this class.
> > 
> > Please help...
> > --- In [email protected], "ben.clinkinbeard"
> > <ben.clinkinbeard@> wrote:
> > >
> > > He just means that you can manually set a ref to the parent app. So
> > > when you load a module do something like this:
> > > 
> > > newModule.parentApp = this;
> > > 
> > > 
> > > 
> > > --- In [email protected], "cksachdev" <cksachdev@> wrote:
> > > >
> > > > Hi Alex,
> > > > Please describe it more clearly. So that all ActionScript
> Projects can
> > > >  use that concept. 
> > > > 
> > > > 
> > > > Thanks
> > > > --- In [email protected], "Alex Harui" <aharui@> wrote:
> > > > >
> > > > > You will have to design your own communication method.  You can
> > use a
> > > > > singleton object or pass references into the instances.
> > > > > 
> > > > >  
> > > > > 
> > > > > ________________________________
> > > > > 
> > > > > From: [email protected]
> > > [mailto:[EMAIL PROTECTED] On
> > > > > Behalf Of cksachdev
> > > > > Sent: Thursday, December 13, 2007 2:43 AM
> > > > > To: [email protected]
> > > > > Subject: [flexcoders] How to use mx.modules.Module class in
> > > ActionScript
> > > > > Project
> > > > > 
> > > > >  
> > > > > 
> > > > > I wanted to use Shell/Module concept in my ActionScript
project. I
> > > > > used mx.modules.ModuleBase Class in my Module. The problem I am
> > facing
> > > > > is When I want to communicate from one module to another
module I
> > > > > don't have parentApplication object as I am not using
> > > > > mx.modules.Module class.
> > > > > And in ModuleBase Class there are very few properties
> available. Any
> > > > > body have the solution for this.
> > > > > 
> > > > > In the import statement I can't see mx.modules.Module class.
I am
> > > > > using Flex 3 Beta. Please suggest some solution so that I can
> > use the
> > > > > Shell/Module concept in my ActionScript project. This concept
> I read
> > > > > on Roger Gonzalez blog (http://blogs.adobe.com/rgonzalez/flex/
> > > > > <http://blogs.adobe.com/rgonzalez/flex/> ).
> > > > >
> > > >
> > >
> >
>


Reply via email to