Multi-level version control for various ver. significance

Author Message

Piotrek Karaś

Wednesday 30 April 2008 11:50:52 pm

Hi,

Has anyone had any experience in implementing multi-level version control for eZ Publish?

Basically, what I'm thinking of is a situation, where two (or more), more-or-less independent version tracks are used in order to tell some management actions from the other, and to be able to make decisions based on that distinction. The most "classical" example: edit version vs. key version (edit version being just for content polishing, corrections etc. vs. key version being the "document version", as in "the next official version of the document"). There could be many edit versions between key versions and only key versions will be considered for publication or any other logic for that matter.

One think that comes to my mind would be to map current version control as "key version" in the example above, while providing additional "direct edit" interfaces that allow editing of a document version without actually changing the version number... This is not too elegant, though, and I expect trouble ;)

If anyone has ever needed something like that for eZ Publish, I'd be greateful if you could share some experiences and solution details.

Cheers,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

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 21:18:10
Script start
Timing: Jan 18 2025 21:18:10
Module start 'layout'
Timing: Jan 18 2025 21:18:10
Module start 'content'
Timing: Jan 18 2025 21:18:11
Module end 'content'
Timing: Jan 18 2025 21:18:11
Script end

Main resources:

Total runtime0.7720 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 589.2969152.6563
Module start 'layout' 0.00750.0040 741.953139.5078
Module start 'content' 0.01150.7586 781.4609470.1328
Module end 'content' 0.77010.0018 1,251.59388.1094
Script end 0.7719  1,259.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4502160.0002
Check MTime0.00140.1789160.0001
Mysql Total
Database connection0.00060.079910.0006
Mysqli_queries0.731894.7994460.0159
Looping result0.00040.0522440.0000
Template Total0.737195.520.3685
Template load0.00220.289620.0011
Template processing0.734895.188420.3674
Template load and register function0.00010.016510.0001
states
state_id_array0.00180.231210.0018
state_identifier_array0.00160.212120.0008
Override
Cache load0.00180.2327110.0002
Sytem overhead
Fetch class attribute can translate value0.00070.094210.0007
Fetch class attribute name0.00060.077220.0003
XML
Image XML parsing0.00050.058610.0005
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00060.0840170.0000
String conversion0.00000.001540.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs