Hi,

On Mon, Jul 30, 2018 at 06:01:54PM +0200, Laurent DAVERIO wrote:
> Hello list,
> 
> this may be a very silly question, and if so I apologize in advance, but
> I'm not sure what to google.
> 
> Is it reasonable to try and read data from the ZODB of a Zope/CMF
> instance directly from Pyramid, or should I write export routines in the
> Zope app?

ZODB use pickle to store your objects' instances. This mean that you'll need
to make available all the classes (python code) used by Zope/CMF to
deserialize objects in your pyramid app.

This maybe painfull but it seems doable since Zope/CMF are now available as
packages on pypi.

The easy way to try this is probably to install pyramid in your current
Zope/CMF venv, write a minimalistic pyramid app to access your ZODB, and
start it from this venv.

Hope this help.

> 
> Thanks in advance,
> 
> Laurent.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pylons-discuss/e29375c6-7f65-4544-dbac-eae666f6517d%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/20180730161617.GA25464%40boiboite.
For more options, visit https://groups.google.com/d/optout.

Reply via email to