[Kss-devel] summer of code proposal against Json/Exhibit support for Plone 3.5

Balazs Ree ree at ree.hu
Fri Mar 23 16:07:03 CET 2007


On Fri, 23 Mar 2007 13:12:45 +0100 Joscha Krutzki wrote:

> I would like to reuse the jsonserver Zope3 product to generate a Exhibit
> Json view of objects
> and to make a plone view with Exhibit filtering for objects.
> 
> But you are the one who are making the plone javascript framwork, so I
> need your opinion.
> Are you planing to support json?

I don't have time now at all but I will react to your letter next week.

I am also one author of the jsonserver product, I also followed and 
participated in the discussion of the new jsonrpc working draft's 
proposal on Zope's side. Json and jsonrpc are supported by kss from the 
very beginning. This means that if the jsonserver product is detected the 
transport changes from default xml to the jsonrpc protocol. This is 
different though from what you aim at.

We had different reasons not to spend much time on this issue:

1. We wanted to be as much independent from server side components as 
possible in the framework, and at the moment XML seemeed a more 
widespread web standard than json. (This is actually not entirely true 
any more in my opinion.)

2. It is really totally transparent on the kss application level, what 
transport is used physically: json or xml. So noone really notices the 
difference. We could have the possibility to marshall more complex data 
types with json in the transport (kss commands), but then we would be 
locked to use json from that moment, and loose xml. If we wanted to add 
the handling of complex variables to xml otoh, we would end up 
reimplementing json which is pretty pointless so here is one point where 
json may come back.

I believe recently we removed the json support from kss because it did 
not seem to have any interest to maintain it and it costed too much work.

On the other hand using json on different other levels in kss may make 
lots of sense.
 
> Is it a good thing to integrate a json view of content objects in KSS?
> Is it possible to support the Exhibit library in KSS?

I cannot react to this because I would need much more time to answer. 
Mainly I have to look at Exhibit. So please in case I forget to react, 
let me remember, and let's get back to this soon.

-- 
Balazs Ree



More information about the Kss-devel mailing list