Hi,
what about implemeting a singleton class that encapsulates the qx.io.* ? You 
can access that instance from everywhere.

>>> franck34 <franck....@gmail.com> 8/16/2011 12:09 >>>
Hello,

I've started learning qooxdoo since 3 days now. After playing with widgets,
i'm trying to apply "best practices"

In my application, i'm using lot's of xhr requests.
Every server response must send a json string. If not, there is a fault
server side.
Every client request are always POST, data are optional.
So i'm trying to create a generic class so i can reuse it everywhere in my
app.

But because i've never did that before (i've a beginner using qooxdoo), i'm
a little bit confused (qooxdoo links are welcome) regarding best practives
and how to do that.

Here is my actual code, i'll appreciated anybody helping me to go in the
right way.




Thanks in advance !



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/howto-make-a-simple-xhr-generic-class-tp6690748p6690748.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to