[ 5 posts ]

Eric Ferraiuolo

YUI Developer

  • Username: ericf
  • Joined: Mon Jan 12, 2009 8:26 pm
  • Posts: 380
  • Location: Boston, MA
  • Twitter: ericf
  • GitHub: ericf
  • Gists: ericf
  • IRC: eric_f
  • YUI Developer
  • Offline
  • Profile

gallery-yql and it's relationship to gallery-jsonp

Post Posted: Fri Nov 13, 2009 9:32 am
+0-
Dav,

Have you and Luke talked about teaming up on the gallery-yql and gallery-jsonp modules?

Should gallery-yql require gallery-jsonp? Might be good for testing Gallery modules depending on other Gallery modules ;)
Eric Ferraiuolo

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile

Re: gallery-yql and it's relationship to gallery-jsonp

Post Posted: Fri Nov 13, 2009 10:12 am
+0-
I wrote the YQL module before the JSONP was available, however it didn't work for me, so I continued to use the one I wrote in YQL.

Once Luke get's the JSONP issue fixed, I will use it.

There are 3 modules in the Gallery that depend on others, so it does work:

http://yuilibrary.com/gallery/show/badge
http://yuilibrary.com/gallery/show/simple-editor
http://yuilibrary.com/gallery/show/treeview

Eric Ferraiuolo

YUI Developer

  • Username: ericf
  • Joined: Mon Jan 12, 2009 8:26 pm
  • Posts: 380
  • Location: Boston, MA
  • Twitter: ericf
  • GitHub: ericf
  • Gists: ericf
  • IRC: eric_f
  • YUI Developer
  • Offline
  • Profile

Re: gallery-yql and it's relationship to gallery-jsonp

Post Posted: Fri Nov 13, 2009 10:56 am
+0-
Yeah the YQL module's JSONP support seems to have a few more features, like the timeout stuff :-)

I just happened to be looking at Luke's JSONP module and thinking about the future-feature of combo-handled gallery module requests, and thought it would make sense for the YQL to require JSONP. At this point, pre- gallery-combo-requests; it makes sense to keep as is to save the extra HTTP request.

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile
Tags:

Re: gallery-yql and it's relationship to gallery-jsonp

Post Posted: Fri Nov 13, 2009 2:05 pm
+0-
This example shows how to combo gallery modules with the same request as the rest of the library ;)

http://davglass.github.com/gallery/loader/

Luke Smith

YUI Contributor

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

Re: gallery-yql and it's relationship to gallery-jsonp

Post Posted: Sun Feb 07, 2010 10:48 pm
+0-
I just refactored gallery-jsonp with, among other things, this module in mind. I included a poc yql API in http://lsmith.github.com/yui3-gallery/d ... s/yql.html that patterned after your implementation (without the yql class, though).
  [ 5 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