Synchronizing content between eZ instances

Author Message

Matthieu Sévère

Tuesday 10 August 2010 1:59:46 pm

Hi guys,

I'm looking for a way to synchronize content between different eZ Publish installation.

An example would be : when an image is created in one eZ automatically create the content in another eZ.

I'm thinking about webservices to do such a thing, what do you think ?

To eZ dream team : when do you plan releasing your RESTful API ? could be very usefull here :)

Thanks for your thoughts :)

--
eZ certified developer: http://ez.no/certification/verify/346216

Kévin S.

Wednesday 11 August 2010 12:13:53 am

I don't have an answer to your question but I can give you an advice to avoid some problems if you work on different eZ Publish installations :

Don't use simple id's (in override conditions and in template fetches) because they might change from one eZ install to another. Try to use remote_id's (node remote_id and object remote_id) instead.

André R.

Wednesday 11 August 2010 2:40:34 am

There is various syndication extensions around, but they are far from perfect and has a whole slew of issues which explains why they are not downloadable.

Common for most of them is that remote_id is used as identifier for content, so point by Kevin above is valid with these as well.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Vytautas Germanavičius

Thursday 18 November 2010 5:47:46 am

Has anyone found solution for this?

{set-block scope=root variable=cache_ttl}0{/set-block}

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:00:04
Script start
Timing: Jan 18 2025 02:00:04
Module start 'layout'
Timing: Jan 18 2025 02:00:04
Module start 'content'
Timing: Jan 18 2025 02:00:04
Module end 'content'
Timing: Jan 18 2025 02:00:04
Script end

Main resources:

Total runtime0.6618 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 588.0469152.6406
Module start 'layout' 0.00630.0023 740.687539.4766
Module start 'content' 0.00860.6518 780.1641633.2969
Module end 'content' 0.66040.0014 1,413.460912.1250
Script end 0.6618  1,425.5859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4820160.0002
Check MTime0.00130.1975160.0001
Mysql Total
Database connection0.00080.119510.0008
Mysqli_queries0.605391.4704640.0095
Looping result0.00070.1105620.0000
Template Total0.627994.920.3140
Template load0.00200.303420.0010
Template processing0.625994.574420.3129
Template load and register function0.00010.016010.0001
states
state_id_array0.00150.222410.0015
state_identifier_array0.00160.234720.0008
Override
Cache load0.00170.2520210.0001
Sytem overhead
Fetch class attribute can translate value0.00060.083940.0001
Fetch class attribute name0.00150.220470.0002
XML
Image XML parsing0.00420.636740.0011
class_abstraction
Instantiating content class attribute0.00000.001470.0000
General
dbfile0.00420.6334290.0001
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs