Re: Introducing collective.dexteritycontentmirror | Solution for plone.app.discussion needed

Roman Lacko <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <CAHC6v6ikUusy6JYQ6JLT_GR_PP-8RAUOED5GM2ZZFk5m9e1+QQ@mail.gmail.com>
Hi Armin,

sorri for late repply I was on vacation again.

2013/8/12 Armin Stroß-Radschinski <[email protected]>

> Hi Roman,
> I missed the mail I am responding, when searching for current dev state of
> the contentmirrors for Plone.
>
> I asked for some point in the issue tracker already.
>

> So if I get this text right (without looking into the code), is leading to
> that collective.dexteritycontentmirror can also mirror archetype content
> and needs no parallel install of ore.contentmirror?
>

No, dexteritycontentmirror can mirror only dexterity content.


>
> I am currently looking for a solution to mirror the plone.app.discussion
> comments related to archetype content (and later dexterity).
>

This will not work. dexteritycontentmirror understands only relations
between dexterity based contents.


>
> The collected documentation to figure this out, without installing and
> examining the code/commits is missing as you said.
>

> So a listing related to the features I am asking for above is very
> appreciated due to I currentl cannot understand the
> way collective.dexteritycontentmirror is creating the schemas dynamically
> or content that is not dexterity based.
>

> Since archetypes are not using behaviours as far as I know, is still the
> configuration via content.zcml supported?
> Taken from
> https://github.com/lck/collective.dexteritycontentmirror/commit/87553a195f00c4f4d9b405ec70981ca8804e952c
> "Customize environ variable name so we can work simultaneously with
> ore.contentmirror in one install."
>
> The commit description leads to a dual install solution.
>
> To all: How is the type of comment content (annotation?) rated to be part
> of mirrored data?
> A current workaround I could think of is only to implement comments myself
> as archetype content. This would be the most worst solution ever.
>

The best solution would be to add support for relations between archetypes
and dexterity based content types (and later full support for archetypes).
It should be not very difficult but still time consuming. If someone could
sponsor my work on this it would help me a lot.

Thanks
Roman



> Armin
>
> Am 23.06.2013 um 22:53 schrieb Roman Lacko <[email protected]>:
>
> Dear Plone Developers,
>
> I'm pleased to announce that I have finally finished the first version of
> collective.dexteritycontentmirror project.
>
> It is successor to ore.contentmirror project and reuses as much from it's
> code as possible.
>
> The featues are the same as in ore.contentmirror with one difference that
> it supports mirroring dexterity content types to relational database . All
> you need is to enable the mirroring via behavior "Mirror Content". Database
> DDL update and bulk import works  exactly as in ore.contentmirror.
>
> Only missing parts are the tests and documentation but code is usable
> right now.
> I will release the first alpha version on pypi when the documentation is
> finished.
>
> Please feel free to try it. You can clone the project from github repo
> here [1].
>
> I would be more than hapy for any suggestions and feedback!
>
> Kind Regards
> Roman
>
> [1] https://github.com/lck/collective.dexteritycontentmirror.git
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
>
> http://p.sf.net/sfu/windows-dev2dev_______________________________________________
> Plone-developers mailing list
> Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/plone-developers
>
>
>
>
>
>

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

_______________________________________________
Plone-developers mailing list
Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.