RE: [flexcoders] Cairngorm commands - best practise

2006-10-14 Thread Evan Gifford
. 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

Re: [flexcoders] Cairngorm commands - best practise

2006-10-11 Thread Tom Chiverton
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

Re: [flexcoders] Cairngorm commands - best practise

2006-10-11 Thread hank williams
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 [EMAIL PROTECTED] 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

Re: [flexcoders] Cairngorm commands - best practise

2006-10-11 Thread Ralf Bokelberg
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] 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

[flexcoders] Cairngorm commands - best practise

2006-10-10 Thread Robin Burrer
Hi there Lets say I want to do a server request. I want to search my database for a particular keyword and return a record set. The user would type in the keyword in a text area and I would then create a SearchDatabaseEvent which then would trigger a SearchDatabaseEventCommand and

Re: [flexcoders] Cairngorm commands - best practise

2006-10-10 Thread hank williams
Funny, I was just dealing with this same question. I did it at the command because it seemed to me that is where all the application logic should go and so any additional processing and data handling that must be done should be done in the command. But I wasnt 100% sure. That was my gut. I

[flexcoders] Cairngorm commands - best practise

2006-10-10 Thread Bjorn Schultheiss
] Cairngorm commands - best practise Hi there Lets say I want to do a server request. I want to search my database for a particular keyword and return a record set. The user would type in the keyword in a text area and I would then create a SearchDatabaseEvent which then would trigger

Re: [flexcoders] Cairngorm commands - best practise

2006-10-10 Thread hank williams
@yahoogroups.comSubject: [flexcoders] Cairngorm commands - best practise Hi there Let's say I want to do a server request. I want to search my database for a particular keyword and return a record set. The user would type in the keyword in a text area and I would then create a SearchDatabaseEvent

RE: [flexcoders] Cairngorm commands - best practise

2006-10-10 Thread Robin Burrer
] On Behalf Of Robin Burrer Sent: Wednesday, 11 October 2006 11:12 AM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Cairngorm commands - best practise Hi there Let's say I want to do a server request. I want to search my database for a particular keyword and return a record set. The user

[flexcoders] Cairngorm commands - best practise

2006-10-10 Thread Bjorn Schultheiss
Schultheiss Senior Flash Developer QDC Technologies From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williamsSent: Wednesday, 11 October 2006 12:36 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairngorm commands - best practise Hmm... I'm not sure, but I