On 5/24/06, Pascal Peregrina <[EMAIL PROTECTED]> wrote:
By Zope objects I meant:

You've got a page template for example, and you include such an "AJAX enabled 
object", basically rendering an HTML fragment, and the resulting page will include 
the page template code + the fragment (similar to a macro call), but will also include 
the needed javascript code to handle the asynchronous communication.

That is a macro call. There is no difference. It just that the macro
includes the HTML needed to suck in the JS library you use.

Then another thing would be something like a PythonScript object (so you define 
python code and return python structures) and get it rendered as javascript to 
be included in somepage for processing the data returned by an asynchronous 
XML-RPC call to Zope within the browser.

Thare has been discussions and efforts to make a library where you can
write python code and get Ajax out, yes. It is very non-trivial. :)

Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to