Re: [flexcoders] Cairngorm / MVC Best Practice

2007-01-12 Thread Tom Chiverton
On Friday 05 January 2007 16:07, Stembert Olivier (BIL) wrote: the view and the command are better decoupled with the ViewHelper pattern, no? ViewHelper isn't recommended anymore, is it ? -- Tom Chiverton Helping to competently compete 24/7 mindshares

RE: [flexcoders] Cairngorm / MVC Best Practice

2007-01-12 Thread Dimitrios Gianninas
Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Friday, January 12, 2007 4:16 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Cairngorm / MVC Best Practice On Friday 05 January 2007 16:07, Stembert Olivier (BIL) wrote: the view

RE: [flexcoders] Cairngorm / MVC Best Practice

2007-01-12 Thread Stembert Olivier (BIL)
I don't know. Why is it still in the framework? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Friday, January 12, 2007 10:16 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Cairngorm / MVC Best Practice

RE: [flexcoders] Cairngorm / MVC Best Practice

2007-01-05 Thread Dimitrios Gianninas
:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm / MVC Best Practice It's Thursday afternoon, which means my bi-weekly question everything I've just coded and contemplate serious internal changes on the project. This week the insanity relates to Cairngorm or perhaps Model View

Re: [flexcoders] Cairngorm / MVC Best Practice

2007-01-05 Thread Tom Chiverton
On Thursday 04 January 2007 22:03, Jamie O wrote: 2) Is there a way - similar to how a delegate can have a series of functionname_onResult, functionname_onFault - that you can have one command deal with multiple onResult scenarios? We have all our Events take the current object as the first

Re: [flexcoders] Cairngorm / MVC Best Practice

2007-01-05 Thread Martin Wood-Mitrovski
We have all our Events take the current object as the first parameter (i.e. 'this'). The Command then calls savedFromEventHome.onCommandName(result) in onResult. Could that do what you want ? interesting. do these objects then implement some kind of interface to support the

Re: [flexcoders] Cairngorm / MVC Best Practice

2007-01-05 Thread Tom Chiverton
On Friday 05 January 2007 14:51, Martin Wood-Mitrovski wrote: do these objects then implement some kind of interface to support the 'onCommandName(result)' method or do you type it in some other way? No, you could (should ?) write an interface class and import it though, yes. As long as we

RE: [flexcoders] Cairngorm / MVC Best Practice

2007-01-05 Thread Stembert Olivier (BIL)
] Cairngorm / MVC Best Practice On Friday 05 January 2007 14:51, Martin Wood-Mitrovski wrote: do these objects then implement some kind of interface to support the 'onCommandName(result)' method or do you type it in some other way? No, you could (should ?) write an interface class and import it though

Re: [flexcoders] Cairngorm / MVC Best Practice

2007-01-05 Thread Martin Wood-Mitrovski
Tom Chiverton wrote: On Friday 05 January 2007 14:51, Martin Wood-Mitrovski wrote: do these objects then implement some kind of interface to support the 'onCommandName(result)' method or do you type it in some other way? No, you could (should ?) write an interface class and import it though,

[flexcoders] Cairngorm / MVC Best Practice

2007-01-04 Thread Jamie O
It's Thursday afternoon, which means my bi-weekly question everything I've just coded and contemplate serious internal changes on the project. This week the insanity relates to Cairngorm or perhaps Model View Controller design pattern in general, and the best practices of it's implementation.