-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Erik Myllymaki wrote:

> I want to access numerous methods/functions on a zope server via
> Javascript. Zope has xml "built-in" right?

Zope is about publishing *Python objects*;  any available XML support
which is focused on that (e.g., you can export objects from the ZODB as
XML pickles;  you can render an object to XML using a ZopePageTemplate,
etc.)

> So must I write my own XML output?

If you call a Zope method over XMLRPC, and return Python primitives
(lists, dicts, strings, ints, etc.), then Python's XMLRPC library will
marshall those objects to the XMLRPC XML dialect for you.  (BTW, the "X"
in "AJAX"" was originally about =XMLRPC, not about arbitrary XML).


Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEPQu4+gerLs4ltQ4RAmnpAJ9icf/BHfyJWMeLuYPKI293PuawUgCeMRbQ
Foojc58g6Vrm/XAu7iJzn9o=
=9TCI
-----END PGP SIGNATURE-----

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to