I was going to reply just to mention I have a "not as cool" way of using Zope with Ajax at my site now too.
Seems every rock I turn over, I find 3 others worth investigating. Lots of cool stuff going on out there. I put up my own demo, but it's not nearly the prefered way of doing things by most people. I myself, prefer DTML over ZPT, so my demo is based on that. I also am using one of the larger client frameworks available, Dojo Toolkit. The js file is around 130k if I remember. The smaller ones are great and do the job, but I wanted something larger and more widely used like Dojo to build off of.
I know eventually I'll look at the JSON stuff too. Sound interesting.
On 10/11/05, Balazs Ree <[EMAIL PROTECTED]> wrote:
On Mon, 10 Oct 2005 23:28:03 +0800 Bakhtiar A Hamid wrote:
> we have zope (dtml/script/zsql-method) that do specific calls that spits
> out results via xmlrpc.
> on the browser side, we have all these ajax libs - openrico, dojo,
> mochikits, azax, DataRequestor, jsolait, tim morgan's mini, etc
> we just need to connect the dots. the ajax lib + our java functions/etc
> will call dtml/script/sql-method via xmlrpc(builtin) or jasonrpc(with the
> jsonrpc product) and page will be updated inline(?)
> not much voodo involved. everything is there already.
> a simple demo is at http://myzope.kedai.com.my/blogs/kedai/demo/; a script
> python that just spits out DateTime().pCommon(), and the other, a script
> python tah calls html file randomly. replace that with anythin we want.
> zope rox! but i guess we all know that
Thanks, this was a nice briefing.
I like the demos, and as a single additional comment I would add that for
json-rpc I myself too made some (although more crude looking) simple
demos, that do not have a live server but that are installable: so that
you can start playing with it on your own server and modify any client or
server scripts, if you install the demo + jsonserver2 into Zope as two
Guide for the demos:
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -
1st Byte Solutions
_______________________________________________ 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 )