[Developers] wiggleback

Shawn Simister narphorium at gmail.com
Mon May 25 21:51:02 UTC 2009


Nice work Jack. I really like the YUI Datatable integration. In fact, I 
might borrow some of those features for my own Acre apps.  I built a 
similar app a while back called On This Day 
<http://onthisday.freebaseapps.com> which was a much simpler version of 
what you've built. It never really amounted to anything but I did 
discover an optimization that let me issue one query per century rather 
than one query per year.  Basically, I just added 100 customized date 
filters to the MQL query which ends up being less overhead than 100 
separate HTTP requests. For example:

[{
  "id" : null,
  "name" : null,
  "type" : "/people/person",
  "date_of_birth" : null,
  "filter:date_of_birth|=" : 
["2008-05-25","2007-05-25",...,"1910-05-25","1909-05-25"]
}]

Hope that helps.

Shawn

Jack Alves wrote:
> Hi,
>
> As some of you know I am a total hack but I managed to do a major 
> revision of an old app I wrote. It's www.wiggleback.com 
> <http://www.wiggleback.com>. The previous app was History of a Day 
> written with MJT. The new app is written in javascript and uses jquery 
> and the Yahoo Datatable. The datatable supports paging and greatly 
> improved performance. So the user sees data quickly while searches 
> continue. The app has to search the specified day for every year. I 
> new feature trickling through metaweb development is the ability to 
> query dates like "*-05-25". I get data for all years because I want to 
> give the user filters on existing data. Another new feature is a 
> display of data in the form of 3x4 cards. I've printed them on card 
> stock and cut them to give someone for their birthday. How lovely to 
> get a pack of incredibly obscure things that happened on your birthday.
>
> There are lots of ideas for enhancements. For starters, I need to get 
> dates in mediator types. I also want to display a photo collage. Oh, 
> and I need to get it working properly on IE. The last time I checked 
> nothing displayed until all queries returned. Let me know if you have 
> any suggestions or want to help.
>
> jack
> ------------------------------------------------------------------------
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20090525/b3f595f4/attachment.htm 


More information about the Developers mailing list