[Zope] Re: JSON for Ajax applications

2005-09-24 Thread Balazs Ree
Fri, 23 Sep 2005 12:27:34 +0200 keltezéssel Jean-Marc Orliaguet azt
írta:

 Max M wrote:
 
 I don't know how many has seen this, but it's pretty cool.

 JSON (JavaScript Object Notation) is a lightweight data-interchange
 format.

 http://www.crockford.com/JSON/index.html

 It is used for Ajax applications to transfer data instead of xml. It
 uses repr() versions of standard python objects like dicts, lists,
 string, numbers etc. to transfer data.

 It is really simple to generate for Python programmers, so it is very
 simple to use in Zope too.

 this is used at 100% and more in cpsskins for Zope3 (cf. z3lab.org). You
 might also have a look at Jim Washington's 'jsonserver' for Zope3 and its
 implementation for Zope2 http://zif.hill-street.net/jsonserver


I would add that I made up the Zope2 server implementation, sorry I did
not announce it on the list. Works perfectly for Zope and Plone. It is
currently tested only with Zope 2.7, did not try it on 2.8.

You can read more about the Zope2 implementation and download it at: 

http://www.zope.org/Members/ree/jsonserver2

I also added some simplistic but fully functional examples that help you
start with it.

I would encourage everyone using it for Zope/Plone. In case of bugs or
suggestions, please mail directly to me.

I also plan to make some minor update to catch up with newest version of
jsolait, as soon as I have some free time. Also I would like to add some
yet simple but more real-life examples that would also include usage with
Zope, Plone and Archetypes. If you have any good idea for this, please
also write to me.

Thanks,

-- 
Bala'zs REE' jabber + email: [EMAIL PROTECTED]
 ICQ: 75955071   AIM + skype: reebalazs


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


[Zope] Re: JSON for Ajax applications

2005-09-23 Thread Max M

Jean-Marc Orliaguet wrote:

Max M wrote:



JSON (JavaScript Object Notation) is a lightweight data-interchange
format.


this is used at 100% and more in cpsskins for Zope3 (cf. z3lab.org). You
might also have a look at Jim Washington's 'jsonserver' for Zope3 and
its implementation for Zope2 http://zif.hill-street.net/jsonserver



I read the posts about jsonserver, but somehow it didn't register on my 
radar.


I read it as Johnson-server so i dismissed it, thinking it was some 
kind of personal project :-/


But it looks increasingly sexy ...


--

hilsen/regards Max M, Denmark

http://www.mxm.dk/
IT's Mad Science

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