Improve transformer service
---------------------------

                 Key: NXP-2851
                 URL: http://jira.nuxeo.org/browse/NXP-2851
             Project: Nuxeo Enterprise Platform
          Issue Type: User story
            Reporter: Thierry Delprat
            Assignee: Thierry Delprat
            Priority: Major
             Fix For: 5.2 M4


Dev Story :
=======

New transformers :
-------------------------
There are pleinty of command line tools that can be used to handle 
transformations.
I would to have a easy and possibily cross platform way to integrate these 
third party tools as Nuxeo transformers.

Tranform blobs and Documents :
------------------------------------------
API should expose an API to handle transformation from a DocumentModel.
Event is reading blob from a DocumentModel is not the only use case, this is a 
main use case.

Cache management :
----------------------------
I don't want to handle cache "by hand" at application level. Transformation 
service should deal with that.


Implementation Notes :
==============

New transformers plugins :
----------------------------------
Some addons inlcude dedicated transformers :
 - Any2Html for HTML preview
 - Picture transformers for PictureBook and Tiling
 - Base class for CommandLine based transformers
 - Zip2Text

=> generic transformers should be part of global plugins
 - this will improve the default transformers set
 - this will make configuration more centralized

Cache management :
----------------------------
New Addons working with transformers have to handle caching.
This caching is handled at application level.

=> This would be far mor efficient to have a cache management at transformer 
level
==> This requires some improvement of Transformer API

 - input API should contain needed information to generate a cache key 
 - input API should contain a way to ask for cache invalidation (ie : fresh 
transform)
 - output API should include API about cache status

API :
------
Titling include a ImageResource API for wrapping a Blob or a Blob in a 
DocumentModel.
This includes cache key management.
We should leverage this to make a TransformerResource.





-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to