Hi Chris,

I think the work on "Helpers for sending client-side event data to server-side 
code" could really make the posted question (and other, 
implementation-specific questions like it) a purely academic one.

Seems like to me (just brainstorming), an ideal approach for the helpers thing 
would be something that would allow me to write code that, in the simplest 
case, looks like:

proto._myHandlerFunc = function(e)
{
  debug('got: ' + e.responseString);
};

QxCommunicationsManager.addEventListener("serverResponse",self._myHandlerFunc);

this.dispatchEvent(new 
ServerRequestEvent(myPayloadString,'ServerResponseEvent'));

xml-out-xml-in could look like:

proto._myHandlerFunc = function(e)
{
  debug('got: ' + e.responseDOM.firstChild.tagname());  // pseudo-code
};

QxCommunicationsManager.addEventListener("serverResponseDOM",self._myHandlerFunc);

this.dispatchEvent(new DOMServerRequestEvent(myDOM,'DOMServerResponseEvent'));

How that all gets done on the backend is really more of a 
performance/stability issue from my perspective.

With all that said, however, I'd be interested in seeing some pseudo code 
showing plugin vs. client.  I'm not sure I understand what the plugin model 
would involve.

Regards,

--Fred

On Monday 16 January 2006 10:37 pm, Chris Ricks wrote:
> * Would the community prefer that these classes are clients of
> QxHttpTransport (effectively, wrapping QxHttpTransport for requests) or
> plugins to QxHttpTransport (effectively, being called when certain
> events occur)

-- 
==========================================================
Fred R. McDavid, III
  540-248-0838
    [EMAIL PROTECTED]
      BitDaddy Systems, Inc
       * Complex System Design, Management, and Hosting
==========================================================


-------------------------------------------------------
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

Reply via email to