Flash/Flex port of Deferred?

View: New views
4 Messages — Rating Filter:   Alert me  

Flash/Flex port of Deferred?

by Leo Soto M. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi all,

Does anybody know if there is an ActionScript port of MochiKit.Deferred?

I'd love the API and I'd like to use it on Flex (basically for
RemoteObject interaction). I'm willing to port the code, but hopefully
someone did it before.

OTOH, If nobody has done it yet, maybe there is a good reason which I
may have missed...

Thanks,
--
Leo Soto M.
http://blog.leosoto.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "MochiKit" group.
To post to this group, send email to mochikit@...
To unsubscribe from this group, send email to mochikit-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Flash/Flex port of Deferred?

by Bob Ippolito :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I've done it before, for AS2 a long time ago (it was the predecessor
of the JS implementation). Porting should just be cut + paste,
MochiKit's Deferred doesn't do anything outside of the ECMAScript
profile that Flash supports.

On Mon, Jun 23, 2008 at 7:12 AM, Leo Soto M. <leo.soto@...> wrote:

>
> Hi all,
>
> Does anybody know if there is an ActionScript port of MochiKit.Deferred?
>
> I'd love the API and I'd like to use it on Flex (basically for
> RemoteObject interaction). I'm willing to port the code, but hopefully
> someone did it before.
>
> OTOH, If nobody has done it yet, maybe there is a good reason which I
> may have missed...
>
> Thanks,
> --
> Leo Soto M.
> http://blog.leosoto.com
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "MochiKit" group.
To post to this group, send email to mochikit@...
To unsubscribe from this group, send email to mochikit-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Flash/Flex port of Deferred?

by Leo Soto M. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Mon, Jun 23, 2008 at 11:00 AM, Bob Ippolito <bob@...> wrote:
> I've done it before, for AS2 a long time ago (it was the predecessor
> of the JS implementation). Porting should just be cut + paste,
> MochiKit's Deferred doesn't do anything outside of the ECMAScript
> profile that Flash supports.

Yeah, but under AS3 it gives us a lot of warnings, so I think we will
try to adapt it to the more "Javish" style which AS3 encourages :(
[and which would be consistent with the how the pieces of the software
where I'm trying to include MochiKit.Async are written]

Anyway, thanks for your help Bob, and specially for the great library
that MochiKit is!

--
Leo Soto M.
http://blog.leosoto.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "MochiKit" group.
To post to this group, send email to mochikit@...
To unsubscribe from this group, send email to mochikit-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Flash/Flex port of Deferred?

by Tsutomu Koyachi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In japanese AS3 community, 2 "chain" library(each library are not same author,
but same library name:-) are imprimented for asyncronouse job queue inspired
by Deferred.

http://subtech.g.hatena.ne.jp/secondlife/20080127/1201359890
http://void.heteml.jp/blog/archives/2008/01/chain.html
(each pages are written in japanese, so use google translate if you interested)

Espacially, the library chain@... is based on JSDeferred.
JSDeferred can use aynchronous functions with no library dependancy like
Mochikit.Base.*.
http://coderepos.org/share/wiki/JSDeferred


2008/6/24 Leo Soto M. <leo.soto@...>:

On Mon, Jun 23, 2008 at 11:00 AM, Bob Ippolito <bob@...> wrote:
> I've done it before, for AS2 a long time ago (it was the predecessor
> of the JS implementation). Porting should just be cut + paste,
> MochiKit's Deferred doesn't do anything outside of the ECMAScript
> profile that Flash supports.

Yeah, but under AS3 it gives us a lot of warnings, so I think we will
try to adapt it to the more "Javish" style which AS3 encourages :(
[and which would be consistent with the how the pieces of the software
where I'm trying to include MochiKit.Async are written]

Anyway, thanks for your help Bob, and specially for the great library
that MochiKit is!

--

    $

    --~--~---------~--~----~------------~-------~--~----~
    You received this message because you are subscribed to the Google Groups "MochiKit" group.
    To post to this group, send email to mochikit@...
    To unsubscribe from this group, send email to mochikit-unsubscribe@...
    For more options, visit this group at http://groups.google.com/group/mochikit?hl=en
    -~----------~----~----~----~------~----~------~--~---

    LightInTheBox - Buy quality products at wholesale price