Re: [Flashcoders] got an app development question, about Model

2005-12-19 Thread Rich Rodecker
i was checking out the latest files in the repository for ARP and I saw
ModelLocator up there.  Looks like you would be able to get/store different
models within the ModelLocator...so should I be creating a seperate "model"
class and attaching the data to that instead of directory to ModelLocator?
that seems wierd.

On 10/21/05, JesterXL <[EMAIL PROTECTED]> wrote:
>
> I stole it from Cairngorm; it's not in ARP by default.
>
> class ModelLocator
> {
> public static var my_data:Array;
> }
>
> That's the gist of it.  Since you can bind to static variables in Flex 1.5
> ,
> it works great.  Not sure what they are going to do in 2; probably allow
> binding to statics in a later build I hope.
>
> - Original Message -
> From: "Rich Rodecker" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" < flashcoders@chattyfig.figleaf.com>
> Sent: Friday, October 21, 2005 11:00 PM
> Subject: Re: [Flashcoders] got an app development question, about Model
>
>
> thats essentially what i have done in the past...but "ModelLocator" is
> a new one on me.
>
> On 10/21/05, JesterXL <[EMAIL PROTECTED]> wrote:
> > ModelLocator.my_result = MyRemoting_result;
> >
> > - Original Message -
> > From: "Rich Rodecker" <[EMAIL PROTECTED]>
> > To: "Flashcoders mailing list" < flashcoders@chattyfig.figleaf.com>
> > Sent: Friday, October 21, 2005 8:11 PM
> > Subject: [Flashcoders] got an app development question, about Model
> >
> >
> > Got a question about the Model in a flash app, I'd like to see how other
> > people handle the it. When working with a database (I'm using arp and
> > remoting), do you have save the data you've already retrieved from a
> > previous method call (say for example, that you've already requested and
> > returned into for a particular project) locally, or do you always
> connect
> > directly to the DB to retrieve the info?
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] got an app development question, about Model

2005-10-21 Thread JesterXL
I stole it from Cairngorm; it's not in ARP by default.

class ModelLocator
{
public static var my_data:Array;
}

That's the gist of it.  Since you can bind to static variables in Flex 1.5, 
it works great.  Not sure what they are going to do in 2; probably allow 
binding to statics in a later build I hope.

- Original Message - 
From: "Rich Rodecker" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Friday, October 21, 2005 11:00 PM
Subject: Re: [Flashcoders] got an app development question, about Model


thats essentially what i have done in the past...but "ModelLocator" is
a new one on me.

On 10/21/05, JesterXL <[EMAIL PROTECTED]> wrote:
> ModelLocator.my_result = MyRemoting_result;
>
> - Original Message -
> From: "Rich Rodecker" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" 
> Sent: Friday, October 21, 2005 8:11 PM
> Subject: [Flashcoders] got an app development question, about Model
>
>
> Got a question about the Model in a flash app, I'd like to see how other
> people handle the it. When working with a database (I'm using arp and
> remoting), do you have save the data you've already retrieved from a
> previous method call (say for example, that you've already requested and
> returned into for a particular project) locally, or do you always connect
> directly to the DB to retrieve the info?
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] got an app development question, about Model

2005-10-21 Thread Rich Rodecker
thats essentially what i have done in the past...but "ModelLocator" is
a new one on me.

On 10/21/05, JesterXL <[EMAIL PROTECTED]> wrote:
> ModelLocator.my_result = MyRemoting_result;
>
> - Original Message -
> From: "Rich Rodecker" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" 
> Sent: Friday, October 21, 2005 8:11 PM
> Subject: [Flashcoders] got an app development question, about Model
>
>
> Got a question about the Model in a flash app, I'd like to see how other
> people handle the it. When working with a database (I'm using arp and
> remoting), do you have save the data you've already retrieved from a
> previous method call (say for example, that you've already requested and
> returned into for a particular project) locally, or do you always connect
> directly to the DB to retrieve the info?
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] got an app development question, about Model

2005-10-21 Thread JesterXL
ModelLocator.my_result = MyRemoting_result;

- Original Message - 
From: "Rich Rodecker" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Friday, October 21, 2005 8:11 PM
Subject: [Flashcoders] got an app development question, about Model


Got a question about the Model in a flash app, I'd like to see how other
people handle the it. When working with a database (I'm using arp and
remoting), do you have save the data you've already retrieved from a
previous method call (say for example, that you've already requested and
returned into for a particular project) locally, or do you always connect
directly to the DB to retrieve the info?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] got an app development question, about Model

2005-10-21 Thread Rich Rodecker
Got a question about the Model in a flash app, I'd like to see how other
people handle the it. When working with a database (I'm using arp and
remoting), do you have save the data you've already retrieved from a
previous method call (say for example, that you've already requested and
returned into for a particular project) locally, or do you always connect
directly to the DB to retrieve the info?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders