Incremental IDs ---> Global / Unique IDs

Author Message

Aldo Bucchi

Sunday 06 March 2005 3:03:23 pm

Hi all,

One of the reasons we have dropped eZp for major projects is the use of simple incremental IDs within the system, which leads to general portability problems and a terribly problematic Dev / Staging / Production workflow.

Is the implementation of a Unique Identifier system considered in eZp's roadmap?

Ɓukasz Serwatka

Sunday 06 March 2005 10:43:18 pm

Hi Aldo,

In eZ publish you can use Identifier datatype where you define start value and incremental value. Every object of class can have own unique ID. More about datatypes here
http://ez.no/ez_publish/documentation/incoming/appendices/appendix_c_ez_publish_datatypes

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Aldo Bucchi

Monday 07 March 2005 10:07:24 am

mmh... but within the data model all PKs and FKs still use the simple incremental ID, right?

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 30 2025 21:33:49
Script start
Timing: Jan 30 2025 21:33:49
Module start 'layout'
Timing: Jan 30 2025 21:33:49
Module start 'content'
Timing: Jan 30 2025 21:33:49
Module end 'content'
Timing: Jan 30 2025 21:33:49
Script end

Main resources:

Total runtime0.0213 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.1563151.2109
Module start 'layout' 0.00440.0033 739.3672220.6875
Module start 'content' 0.00770.0121 960.0547997.8359
Module end 'content' 0.01980.0015 1,957.890629.9922
Script end 0.0213  1,987.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002612.1372140.0002
Check MTime0.00115.2318140.0001
Mysql Total
Database connection0.00062.979610.0006
Mysqli_queries0.00198.795730.0006
Looping result0.00000.042510.0000
Template Total0.00104.810.0010
Template load0.00083.673310.0008
Template processing0.00021.096010.0002
Override
Cache load0.00052.460110.0005
General
dbfile0.00020.983180.0000
String conversion0.00000.023540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs