[ 2 posts ]

Luke Smith

YUI Contributor

  • Username: lsmith
  • Joined: Thu Aug 28, 2008 7:50 am
  • Posts: 510
  • Location: Sunnyvale
  • Twitter: ls_n
  • GitHub: lsmith
  • Gists: lsmith
  • IRC: ls_n
  • YUI Developer
  • Offline
  • Profile

Good ideas here

Post Posted: Tue Mar 15, 2011 9:04 am
+1-
Thanks for building this. It's actually similar to an idea I had a couple years back, called Transaction, with a mind to standardize all async operations in the library core to a common interface. This interface (what you have as AsyncCommand) would then be reliable for queuing via AsyncQueue. It started as a proposal from work being done on IO back in the very early versions, but came in too close to code freeze and was tabled.

It may yet see the light of day, as I'm doing some exploratory work on IO right now. FWIW, I'm also the author of AsyncQueue (it's moved away from its original simple elegance IMO, and I want to see it restored).

The other great idea here is the batching of operations reporting a single complete event. I've wanted a generic event grouping mechanism in the library for some time, but haven't gotten around to adding it. It's good to see that I'm not the only one thinking about this.

Keep up the good work.

Steven Olmsted

YUI Contributor

  • Username: solmsted
  • Joined: Wed Apr 14, 2010 1:47 pm
  • Posts: 82
  • Location: Richmond, VA
  • GitHub: solmsted
  • Gists: solmsted
  • IRC: solmsted
  • Offline
  • Profile

Re: Good ideas here

Post Posted: Thu Mar 17, 2011 6:52 am
+0-
Thank you! It is good to know I have done something well. I originally wrote this for the startAll functionality; there were a couple projects that started to get ugly checking for what requests returned in what order. At that time, I don''t think AsyncQueue had a spot on the YUI 3 front page, but I found it in the API docs. When I realized I could use the same queue for both types of functionality, the rest just fell into place. Now I use this all the time.
  [ 2 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum