Just to clarify (mostly for myself), shouldn’t the command execute a method located within ModelLocator which would updated the actual VO instead of directly update the VO from the command?

 

If I understand it correctly, this is the way it was done in the Cairngorm store.

 

 

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ben Lucyk
Sent: Wednesday, October 11, 2006 11:19 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Cairngorm commands - best practise

 

I second this.

 

Ben Lucyk
http://esria.com  
p 1.877.TRY.ESRIA ext 718
c 1.408.489.3913
f  1.877.828.4436

[EMAIL PROTECTED]

 

 

 

 

 

 

 


From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ralf Bokelberg
Sent: Wednesday, October 11, 2006 4:27 AM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] Cairngorm commands - best practise

 

My delegates don't know about the model locator, but my commands do.
So I vote for commands.

Cheers,
Ralf.

On 10/11/06, hank williams <[EMAIL PROTECTED]com> wrote:
> So we have Tom saying do it in the delegate and Bjorn saying do it in
> the command.
>
> Any tie breakers?
>
> Hank
>
> On 10/11/06, Tom Chiverton <tom.chiverton@halliwells.com> wrote:
> > On Wednesday 11 October 2006 02:12, Robin Burrer wrote:
> > > However I also want to send the userID when I do my server request.
> > > Should the SearchDatabaseCommand get the userID from the model or from
> >
> > I reasoned that passing any parameters not connected with what to do was no
> > business of the Command, and had the service delegate look up the additional
> > parameters from the model:
> > public function search(r:String,c:String,o:String,d:String,h:String):void {
> > var call:Object = serviceInstance.search(model.sessionToken,r,c,o,d,h);
> > call.resultHandler = responder.onResult;
> > call.faultHandler = responder.onFault;
> > }
> >
> > --
> > Tom Chiverton
> > Helping to efficiently transform magnetic systems
> >
> > ****************************************************
> >
> > This email is sent for and on behalf of Halliwells LLP.
> >
> > Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society.
> >
> > CONFIDENTIALITY
> >
> > This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008.
> >
> > For more information about Halliwells LLP visit www.halliwells.com.
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
>

--
Ralf Bokelberg <ralf.bokelberg@gmail.com>
Flex & Flash Consultant based in Cologne/Germany

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.2/471 - Release Date: 10/10/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.2/471 - Release Date: 10/10/2006

Reply via email to