This is NOT LOGIC specification in ezp3 !!!!

Author Message

Selmah Maxim

Monday 23 June 2003 2:53:15 am

Hi ..

Now am developing interactive site, where users can submit they informations, and editing, almost finished, the idea if of the site is smth new concept, and the 1st prospects of users for 1st year could be over 1000 registered user, and what is not logic here that each user can have min. 5 copy or version or draft of his submied information, so 5 x 1000 = 5000, and the active real data is just 1000, can you imagin how slow will be the site, can imagin how slow will be the search ??

The idea of versions is not logic at all, and am sure alot of ezp users have comments about this.

So, any clew or idea how to stop users from creating versions ,drafts, trash ?

Paul K Egell-Johnsen

Monday 23 June 2003 6:53:12 am

Well, you might be able to do something in the code to disable versionning. What I really wanted to comment is the assumption that versioning isn't logical.

Versionning is one of the many good new features in ezp3. It allows eZ publish to be deployed in a more professional atmosphere where content can be created, edited, forwarded to people, okayed and a lot of other stuff. These features are a must for some sites and for some clients.

I'm sure that ezp3.2-3.3 or something will have good functions for cleaning up in for example versions and drafts created by groups of people (without touching those vereions and drafts which are needed).

And remember, there are some pretty big sites out there using ezp3, and they cope well with the size of data.

5000 rows in a database isn't that much, by the way, but I agree that the data might grow very fast if the versionning is used overly much.

Paul

--
http://www.vogol.com/user/spdyvkng/blog/

Selmah Maxim

Monday 23 June 2003 8:03:31 am

I agree with you, i had made some modfications with the code, the code will allow for each user just one draft and 1 version, now if u try it here click 'replay' so new row will be inserted into the db, even if u didn`t write or submited, and i had write about this befor 'DB flood' , and the problem no one can (even admin) can check this empty rows or delete it, and in versions, and drafts case is the same, admin cann`t delete the users trashes, and unneeded drafts, versions for users.

The code what i had wrote will insert the submitted data into the 1st empty row of the same class for user, in this case the flood will stop, and each user will get 1 draft, 1 version, and no trash items, but i had met problems with it, that the data should be store it in many rows, so i had delete it.

I had made alot of code modifications in the code, and each upgrade i need to modify the code again and again, now almost done, just writing the CSS for templates, and i think i found bug, after I had gived up to stop the versions, i found that any user can read any versions, not reading , viewing the versions of any user he want, i think this bug, coz by rules he cann`t access another user page. Now if i wanna wait the next version then i need to modify the code again :( .. .. .

The best solution thing about versions, draft and trash to make it option by class, section, user group !

Karsten Jennissen

Monday 23 June 2003 8:06:14 am

I took up your suggestion an posted it here:
http://ez.no/developer/ez_publish_3/forum/suggestions/make_versioning_drafts_optional_per_class

Seems like we will have some of this in the future. Good news.

Karsten

Selmah Maxim

Monday 23 June 2003 8:13:36 am

thx ...

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

Main resources:

Total runtime0.8727 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.1484152.6406
Module start 'layout' 0.00580.0029 741.789139.4766
Module start 'content' 0.00880.8625 781.2656587.9297
Module end 'content' 0.87130.0014 1,369.195312.1250
Script end 0.8727  1,381.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3703160.0002
Check MTime0.00130.1518160.0001
Mysql Total
Database connection0.00100.113010.0010
Mysqli_queries0.816393.5310650.0126
Looping result0.00070.0854630.0000
Template Total0.839496.220.4197
Template load0.00210.241220.0011
Template processing0.837395.939520.4186
Template load and register function0.00020.023010.0002
states
state_id_array0.00080.093510.0008
state_identifier_array0.00070.084320.0004
Override
Cache load0.00180.2070270.0001
Sytem overhead
Fetch class attribute can translate value0.00060.071830.0002
Fetch class attribute name0.00110.127960.0002
XML
Image XML parsing0.00080.093730.0003
class_abstraction
Instantiating content class attribute0.00000.001660.0000
General
dbfile0.00090.0987150.0001
String conversion0.00000.001040.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
5content/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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs