Hi Sebastian!

Sebastian Werner wrote:
Hi all,

we think there were really great discussions on what features a new AJAX layer of qooxdoo should have. I have now started to create a new one, which is based on many ideas of Chris Ricks. Thank you again Chris.

You're all welcome - it was fun. :-)

We have some other ideas added. We want a special request (QxRequest) and response (QxResponse) object to handle the data between the different communication layers in qooxdoo. Also we think to have a queue is great. But we think it is better placed outside the xmlhttp related stuff. We have done this in our new class QxRequestQueue. This class create instances of the class QxTransport which handles the wrapping to the different transport implementations. For example this could be the classical xmlhttp (QxXmlHttpTransport) or iframes (QxIframeTransport).

This concept allows us to add new transport implementations easily if they appear on the horizon.

There are some possibilities of Chris Ricks work missing. Like timeouts for example. This is something I think should be placed in QxRequestQueue, too. QxRequestQueue is somewhat basic currently and does no real queuing.
At present, The QxHttpTransportQueue class will queue requests when given the right parameters (setting the active limit and queue limit appropriately).

Additionally, QxHttpTransport does do timeouts - see the addTimeout method and _pumpTimeouts method.

As I have no more time to work on these classes before the final release of the next version of qooxdoo, this will be also the versions of the release. Afterwards we will continue the work. You are all invited to help. Chris, sorry, I hope I have not dis encouraged you with our plans and decisions. I would really like it, if you could help us, to extend and modify the newly existing stuff to your needs.
No problem. :-)

For any further work, please keep the new code more prototype style and try to omit to send complete full-working classes. We should really discuss the additions and changes in detail before coding them. Thanks.
I'll follow the discussion - with any luck the stuff that I've written should still prove useful.

Best regards,

Chris

Best regards,

Sebastian



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


--
Chris Ricks - BE (Melb)

Lead Software Engineer
IT Operations

Phone: 1300 722 388
Mobile: 0433 276 911
E-mail: [EMAIL PROTECTED]

begin:vcard
fn:Chris Ricks
n:Ricks;Chris
email;internet:[EMAIL PROTECTED]
tel;work:1300 722 388
tel;cell:0433 276 911
x-mozilla-html:FALSE
version:2.1
end:vcard

Reply via email to