Hey,

> Tutorial is very nice. I must say that qooxdoo documentation is
> excellent so far.
Thats good to hear, thanks.

> I'm actually learning unify (http://unify.github.com/unify/), but since it's 
> built on qooxdoo, learning qooxdoo first felt like a good thing to do.

Thats a good choice in deed. But don't dig too deep into the way qooxdoo builds 
its application. Unify has a bit other approach than we have.

> I just followed the tutorial. Here is what I have in Application.js:
> 
>      // Twitter service
>      var service = new qooxdoo_twitter.TwitterService();
> 
>      // reload handling
>      main.addListener("reload", function() {
>        service.fetchTweets();
>      }, this);
> 
> And in TwitterService.js:
> 
>  ...
>  members :
>  {
>    fetchTweets : function() {
>      if (this.__store == null) {
>        var url = "http://search.twitter.com/search.json...@qooxdoo";;
>        this.__store = new qx.data.store.Jsonp(url, null, "callback");
>        this.__store.bind("model", this, "tweets");
>      } else {
>        this.__store.reload();
>      }
>    },
>    ...

This looks right for me. But I bet you use the qooxdoo fork of unify, right? 
Sadly, this fork is not completely compatible with qooxdoo. They changed some 
stuff as in this case, removed the bind method. :(

> I noticed that, but the JSON store doesn't have a 'bind' method
> either, nor does Object. Where is it ?
It comes from a Mixin called MBinding, check out the qooxdoo api viewer to see 
it: http://demo.qooxdoo.org/current/apiviewer/#qx.core.Object~bind

> Thanks for the help :)

Your welcome. ;)
Martin


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to