Hi,

I've checked in the sandbox code [1]. There is also a ready-to-deploy WAR for 
those who don't want to build it [2]. (Currently, it's pretty bloated ~9MB! 
There are several JARs bundled that are not necessary at runtime.)  

It's producing valid JSON although this JSON is far from being perfect for 
JavaScript. We probably have to build and tune it manually instead of 
generating it from the XML schema. 


Cheers,

Florian

[1] 
https://svn.apache.org/repos/asf/incubator/chemistry/opencmis-browser-binding/trunk
[2] 
http://people.apache.org/~fmui/opencmis-browser-binding/opencmis-browser-binding.war


-----Original Message-----
From: Florian Müller [mailto:[email protected]] 
Sent: Dienstag, 29. Juni 2010 15:33
To: [email protected]
Subject: CMIS Browser Binding

Hi,

There is currently a discussion starting in the CMIS Technical Committee to add 
a third binding called "browser binding". The idea is to provide the CMIS data 
in a way that it is easily consumable in a web browser. This time, the design 
of this binding should be accompanied by an implementation to make sure that 
the design actually works.

I have played a bit. I've implemented a stub for such a binding as an extension 
of the OpenCMIS server framework. At the moment it exposes the repository  
infos, type definitions, CMIS objects and folder children in a JSON format, 
which follows the CMIS XML schema. That's probably not the structure we will 
end up with, but it's a starting point. It bundles to InMemory repository for 
testing.
The implementation is pretty light-weight. It just consist of 4 short classes. 
Most of the infrastructure is already in OpenCMIS.

I would like to open a sandbox project in Chemistry for this, parallel to 
OpenCMIS. It would depend on OpenCMIS but would not interfere with OpenCMIS.

WDYT?


Cheers,

Florian

Reply via email to