Re: [flexcoders] Re: [Flex2] Cairngorm question

2006-07-13 Thread Thomas Rühl -akitogo-

Been there, done that... ;-)

I already spent a few weeks understanding Cairngorm and as of now,
I think it's a great approach and exactly what I've been looking for.

It's was just the backend integration, which made me fail the last two days,
but now it works and Darron's way is simple and easy to understand, so 
why not use it!?

Btw, in the meantime I got the Cairngorm way working.

Cheers, Thomas


  
  Thomas Rühl
  Design, Programming & Concepts
  
  akitogo OHG
  Hanauer Landstrasse 188
  60314 Frankfurt
  
  Telefon +49 (0) 69 800 69 445
  Fax +49 (0) 69 800 69 449
  Mobil   +49 (0) 179 750 75 87
  E-Mail  [EMAIL PROTECTED]
  Web http://www.akitogo.com
  




Ralf Bokelberg wrote:
>
> Hi Thomas,
>
> Cairngorm works quite well as is. Also there is a simple example
> coming with the distribution ( the famous loginExample). I would try
> to get used to the framework before applying patches.
>
> Cheers,
> Ralf.
>
> On 7/13/06, Thomas Rühl -akitogo- <[EMAIL PROTECTED] 
> > wrote:
> >
> > Thanks, Tim! Looks like, that'll help me out here.
> >
> > I'm as well watching the »WebServices & Cairngorm« thread, and I think
> > this is one heck of a solution for the matters Darron draws in his 
> article.
> >
> > Cheers, Thomas
> >
> > 
> >
> > Thomas Rühl
> > Design, Programming & Concepts
> >
> > akitogo OHG
> > Hanauer Landstrasse 188
> > 60314 Frankfurt
> >
> > Telefon +49 (0) 69 800 69 445
> > Fax +49 (0) 69 800 69 449
> > Mobil +49 (0) 179 750 75 87
> > E-Mail [EMAIL PROTECTED] 
> > Web http://www.akitogo.com 
> >
> > 
> >
> >
> >
> > Tim Hoff wrote:
> > >
> > > Hi Thomas,
> > >
> > > Darron Schall's blog; "Why I don't use Cairngorm's Responder
> > >  >," shows
> > > a couple of ways that this can be accomplished.
> > >
> > > -TH
> > >
> > > --- In flexcoders@yahoogroups.com 
> , Thomas Rühl -akitogo-
> > > <[EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > > Sorry, but I'm still having questions...
> > > > Following the Cairngorm architecture, I created a LoginDelegate 
> class.
> > > > It should call the service and the originating LoginCommand got its
> > > > onFault() and onResult() methods and therefore implementes the
> > > Responder
> > > > interface.
> > > >
> > > > However, defining this in the LoginDelegate...
> > > > public function authenticateUser():void
> > > > {
> > > > var call:AsyncToken = service.authenticateUser();
> > > > call.addResponder(IResponder(this.responder.onFault()));
> > > > call.addResponder(IResponder(this.responder.onResult()));
> > > > }
> > > >
> > > > results in both, calling the onFault and onResult methods... 
> why? How
> > > > can I cope with that?
> > > >
> > > > Cheers, Thomas
> > > >
> > > > 
> > > >
> > > > Thomas Rühl
> > > > Design, Programming & Concepts
> > > >
> > > > akitogo OHG
> > > > Hanauer Landstrasse 188
> > > > 60314 Frankfurt
> > > >
> > > > Telefon +49 (0) 69 800 69 445
> > > > Fax +49 (0) 69 800 69 449
> > > > Mobil +49 (0) 179 750 75 87
> > > > E-Mail [EMAIL PROTECTED]
> > > > Web http://www.akitogo.com 
> > > >
> > > > 
> > > >
> > > >
> > > >
> > > > JesterXL wrote:
> > > > >
> > > > > You don't need a Delegate. Before, functions were called in the
> > > scope of
> > > > > the calling object, but now they are called in the scope of where
> > > they
> > > > > are
> > > > > defined.
> > > > >
> > > > > Thus, this:
> > > > >
> > > > > myButton.addEventListener("click", Delegate.create(this, 
> onClick));
> > > > >
> > > > > now becomes:
> > > > >
> > > > > myButton.addEventListener("click", onClick);
> > > > >
> > > > > No more need!
> > > > >
> > > > > - Original Message -
> > > > > From: "Thomas Rühl -akitogo-" [EMAIL PROTECTED]
> > > > > >
> > > > > To: flexcoders@yahoogroups.com 
>  
> >
> > > > > Sent: Wednesday, July 12, 2006 9:05 AM
> > > > > Subject: [flexcoders] [Flex2] Cairngorm question
> > > > >
> > > > > Hi,
> > > > > I'm just walking through Steven's article about Cairngorm on 
> the Adobe
> > > > > site again and I wonder where the mx.utils.Delegate class can be
> > > found.
> > > > > Has it been renamed or replaced in some way? How can I create a
> > > Delegate
> > > > > now?
> > > > >
> > > > > Cheers, Thomas
> > > > >
> > > > > 
> > > > >
> > > > > Thomas Rühl
> > > > > Design, Programming & Concepts
> > > > >
> > > > > akitogo OHG
> > > > > Hanauer Landstrasse 188
> > > > > 60314 Fran

Re: [flexcoders] Re: [Flex2] Cairngorm question

2006-07-13 Thread Ralf Bokelberg
Hi Thomas,

Cairngorm works quite well as is. Also there is a simple example
coming with the distribution ( the famous loginExample). I would try
to get used to the framework before applying patches.

Cheers,
Ralf.


On 7/13/06, Thomas Rühl -akitogo- <[EMAIL PROTECTED]> wrote:
>
> Thanks, Tim! Looks like, that'll help me out here.
>
> I'm as well watching the »WebServices & Cairngorm« thread, and I think
> this is one heck of a solution for the matters Darron draws in his article.
>
> Cheers, Thomas
>
> 
>
>   Thomas Rühl
>   Design, Programming & Concepts
>
>   akitogo OHG
>   Hanauer Landstrasse 188
>   60314 Frankfurt
>
>   Telefon +49 (0) 69 800 69 445
>   Fax +49 (0) 69 800 69 449
>   Mobil   +49 (0) 179 750 75 87
>   E-Mail  [EMAIL PROTECTED]
>   Web http://www.akitogo.com
>
> 
>
>
>
> Tim Hoff wrote:
> >
> > Hi Thomas,
> >
> > Darron Schall's blog; "Why I don't use Cairngorm's Responder
> > ," shows
> > a couple of ways that this can be accomplished.
> >
> > -TH
> >
> > --- In flexcoders@yahoogroups.com, Thomas Rühl -akitogo-
> > <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > Sorry, but I'm still having questions...
> > > Following the Cairngorm architecture, I created a LoginDelegate class.
> > > It should call the service and the originating LoginCommand got its
> > > onFault() and onResult() methods and therefore implementes the
> > Responder
> > > interface.
> > >
> > > However, defining this in the LoginDelegate...
> > > public function authenticateUser():void
> > > {
> > > var call:AsyncToken = service.authenticateUser();
> > > call.addResponder(IResponder(this.responder.onFault()));
> > > call.addResponder(IResponder(this.responder.onResult()));
> > > }
> > >
> > > results in both, calling the onFault and onResult methods... why? How
> > > can I cope with that?
> > >
> > > Cheers, Thomas
> > >
> > > 
> > >
> > > Thomas Rühl
> > > Design, Programming & Concepts
> > >
> > > akitogo OHG
> > > Hanauer Landstrasse 188
> > > 60314 Frankfurt
> > >
> > > Telefon +49 (0) 69 800 69 445
> > > Fax +49 (0) 69 800 69 449
> > > Mobil +49 (0) 179 750 75 87
> > > E-Mail [EMAIL PROTECTED]
> > > Web http://www.akitogo.com
> > >
> > > 
> > >
> > >
> > >
> > > JesterXL wrote:
> > > >
> > > > You don't need a Delegate. Before, functions were called in the
> > scope of
> > > > the calling object, but now they are called in the scope of where
> > they
> > > > are
> > > > defined.
> > > >
> > > > Thus, this:
> > > >
> > > > myButton.addEventListener("click", Delegate.create(this, onClick));
> > > >
> > > > now becomes:
> > > >
> > > > myButton.addEventListener("click", onClick);
> > > >
> > > > No more need!
> > > >
> > > > - Original Message -
> > > > From: "Thomas Rühl -akitogo-" [EMAIL PROTECTED]
> > > > >
> > > > To: flexcoders@yahoogroups.com >
> > > > Sent: Wednesday, July 12, 2006 9:05 AM
> > > > Subject: [flexcoders] [Flex2] Cairngorm question
> > > >
> > > > Hi,
> > > > I'm just walking through Steven's article about Cairngorm on the Adobe
> > > > site again and I wonder where the mx.utils.Delegate class can be
> > found.
> > > > Has it been renamed or replaced in some way? How can I create a
> > Delegate
> > > > now?
> > > >
> > > > Cheers, Thomas
> > > >
> > > > 
> > > >
> > > > Thomas Rühl
> > > > Design, Programming & Concepts
> > > >
> > > > akitogo OHG
> > > > Hanauer Landstrasse 188
> > > > 60314 Frankfurt
> > > >
> > > > Telefon +49 (0) 69 800 69 445
> > > > Fax +49 (0) 69 800 69 449
> > > > Mobil +49 (0) 179 750 75 87
> > > > E-Mail [EMAIL PROTECTED] 
> > > > Web http://www.akitogo.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 <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany


 Yahoo! Groups Sponsor ~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
---

Re: [flexcoders] Re: [Flex2] Cairngorm question

2006-07-13 Thread Thomas Rühl -akitogo-

Thanks, Tim! Looks like, that'll help me out here.

I'm as well watching the »WebServices & Cairngorm« thread, and I think
this is one heck of a solution for the matters Darron draws in his article.

Cheers, Thomas


  
  Thomas Rühl
  Design, Programming & Concepts
  
  akitogo OHG
  Hanauer Landstrasse 188
  60314 Frankfurt
  
  Telefon +49 (0) 69 800 69 445
  Fax +49 (0) 69 800 69 449
  Mobil   +49 (0) 179 750 75 87
  E-Mail  [EMAIL PROTECTED]
  Web http://www.akitogo.com
  




Tim Hoff wrote:
>
> Hi Thomas,
>
> Darron Schall's blog; "Why I don't use Cairngorm's Responder 
> ," shows 
> a couple of ways that this can be accomplished.
>
> -TH
>
> --- In flexcoders@yahoogroups.com, Thomas Rühl -akitogo- 
> <[EMAIL PROTECTED]> wrote:
> >
> >
> > Sorry, but I'm still having questions...
> > Following the Cairngorm architecture, I created a LoginDelegate class.
> > It should call the service and the originating LoginCommand got its
> > onFault() and onResult() methods and therefore implementes the 
> Responder
> > interface.
> >
> > However, defining this in the LoginDelegate...
> > public function authenticateUser():void
> > {
> > var call:AsyncToken = service.authenticateUser();
> > call.addResponder(IResponder(this.responder.onFault()));
> > call.addResponder(IResponder(this.responder.onResult()));
> > }
> >
> > results in both, calling the onFault and onResult methods... why? How
> > can I cope with that?
> >
> > Cheers, Thomas
> >
> > 
> >
> > Thomas Rühl
> > Design, Programming & Concepts
> >
> > akitogo OHG
> > Hanauer Landstrasse 188
> > 60314 Frankfurt
> >
> > Telefon +49 (0) 69 800 69 445
> > Fax +49 (0) 69 800 69 449
> > Mobil +49 (0) 179 750 75 87
> > E-Mail [EMAIL PROTECTED]
> > Web http://www.akitogo.com
> >
> > 
> >
> >
> >
> > JesterXL wrote:
> > >
> > > You don't need a Delegate. Before, functions were called in the 
> scope of
> > > the calling object, but now they are called in the scope of where 
> they
> > > are
> > > defined.
> > >
> > > Thus, this:
> > >
> > > myButton.addEventListener("click", Delegate.create(this, onClick));
> > >
> > > now becomes:
> > >
> > > myButton.addEventListener("click", onClick);
> > >
> > > No more need!
> > >
> > > - Original Message -
> > > From: "Thomas Rühl -akitogo-" [EMAIL PROTECTED]
> > > >
> > > To: flexcoders@yahoogroups.com >
> > > Sent: Wednesday, July 12, 2006 9:05 AM
> > > Subject: [flexcoders] [Flex2] Cairngorm question
> > >
> > > Hi,
> > > I'm just walking through Steven's article about Cairngorm on the Adobe
> > > site again and I wonder where the mx.utils.Delegate class can be 
> found.
> > > Has it been renamed or replaced in some way? How can I create a 
> Delegate
> > > now?
> > >
> > > Cheers, Thomas
> > >
> > > 
> > >
> > > Thomas Rühl
> > > Design, Programming & Concepts
> > >
> > > akitogo OHG
> > > Hanauer Landstrasse 188
> > > 60314 Frankfurt
> > >
> > > Telefon +49 (0) 69 800 69 445
> > > Fax +49 (0) 69 800 69 449
> > > Mobil +49 (0) 179 750 75 87
> > > E-Mail [EMAIL PROTECTED] 
> > > Web http://www.akitogo.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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: [Flex2] Cairngorm question

2006-07-13 Thread Tim Hoff
Yes Tom,

But, the core is covered in the article.

cheers,
Tim

--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> 
wrote:
>
> On Wednesday 12 July 2006 14:05, Thomas Rühl -akitogo- wrote:
> > Hi,
> > I'm just walking through Steven's article about Cairngorm on the 
Adobe
> > site 
> 
> Unless something has changed, the DevNet article is for Cairngorm 
0.something, 
> and their are a few subtle differences (like this) compaired to 
Flex 2.
> Might be best to grab the latest demos from Labs.
> 
> -- 
> Tom Chiverton
> 
> 
> 
> 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.
>






 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: [Flex2] Cairngorm question

2006-07-12 Thread Tim Hoff



Hi Thomas,
Darron Schall's blog; "Why I don't use Cairngorm's Responder," shows a couple of ways that this can be accomplished.
-TH--- In flexcoders@yahoogroups.com, Thomas Rühl -akitogo- <[EMAIL PROTECTED]> wrote:>> > Sorry, but I'm still having questions...> Following the Cairngorm architecture, I created a LoginDelegate class. > It should call the service and the originating LoginCommand got its > onFault() and onResult() methods and therefore implementes the Responder > interface.> > However, defining this in the LoginDelegate...> public function authenticateUser():void> {> var call:AsyncToken = service.authenticateUser();> call.addResponder(IResponder(this.responder.onFault()));> call.addResponder(IResponder(this.responder.onResult()));> }> > results in both, calling the onFault and onResult methods... why? How > can I cope with that?> > Cheers, Thomas> > > > Thomas Rühl> Design, Programming & Concepts> > akitogo OHG> Hanauer Landstrasse 188> 60314 Frankfurt> > Telefon +49 (0) 69 800 69 445> Fax +49 (0) 69 800 69 449> Mobil +49 (0) 179 750 75 87> E-Mail [EMAIL PROTECTED]> Web http://www.akitogo.com> > > > > > JesterXL wrote:> >> > You don't need a Delegate. Before, functions were called in the scope of> > the calling object, but now they are called in the scope of where they > > are> > defined.> >> > Thus, this:> >> > myButton.addEventListener("click", Delegate.create(this, onClick));> >> > now becomes:> >> > myButton.addEventListener("click", onClick);> >> > No more need!> >> > - Original Message -> > From: "Thomas Rühl -akitogo-" [EMAIL PROTECTED] > > >> > To: flexcoders@yahoogroups.com >> > Sent: Wednesday, July 12, 2006 9:05 AM> > Subject: [flexcoders] [Flex2] Cairngorm question> >> > Hi,> > I'm just walking through Steven's article about Cairngorm on the Adobe> > site again and I wonder where the mx.utils.Delegate class can be found.> > Has it been renamed or replaced in some way? How can I create a Delegate> > now?> >> > Cheers, Thomas> >> > > >> > Thomas Rühl> > Design, Programming & Concepts> >> > akitogo OHG> > Hanauer Landstrasse 188> > 60314 Frankfurt> >> > Telefon +49 (0) 69 800 69 445> > Fax +49 (0) 69 800 69 449> > Mobil +49 (0) 179 750 75 87> > E-Mail [EMAIL PROTECTED] > > Web http://www.akitogo.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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___