Better directory names

Author Message

James Ward

Sunday 01 February 2004 11:58:29 am

I believe the directories created during installation could be more intuitive. Currently if I install a plain design with a user site called "foo" and an admin site called "foo_admin" I get a "foo" and "foo_admin" directory in the siteaccess directory. However the design files are stored in a directory called "plain", in my opinion it would make more sense for this design directory to be called "foo". Also any files uploaded to be used for "foo" will be stored in the var directory named "plain", again I feel it would make more sense to call this directory "foo". So we would end up with the following after install:
/design/foo
/siteaccess/foo
/siteaccess/foo_admin
/var/foo

Anyone else think this makes more sense? I used to change the directory names manually but with more files being installed to the var directory during the setup this is starting to create problems.

working at www.wardnet.com
blogging at www.jamesward.ca

Harry Oosterveen

Sunday 01 February 2004 12:42:38 pm

That would make sense if there is a one-to-one relation between sites and designs. This is not necessarily the case.

I am working on a server where we host and maintain multiple sites. All admin sites use the same standard 'admin' design, only the front end of each site has a different design. Some sites come in several languages; from an eZ publish point of view, they are different sites (different siteaccess folders), but they share the same design.

James Ward

Sunday 01 February 2004 10:39:15 pm

Good Point.
What about the var directory then? Odds are each site access will have its own set of uploaded and cached files. Should the var directory not be renamed to reflect the site access name then?

working at www.wardnet.com
blogging at www.jamesward.ca

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

Main resources:

Total runtime0.6130 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 587.9141152.6250
Module start 'layout' 0.00610.0027 740.539139.4453
Module start 'content' 0.00870.6027 779.9844537.5313
Module end 'content' 0.61140.0016 1,317.515612.1719
Script end 0.6130  1,329.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5363160.0002
Check MTime0.00140.2292160.0001
Mysql Total
Database connection0.00140.230210.0014
Mysqli_queries0.555790.6525570.0097
Looping result0.00060.0964550.0000
Template Total0.580394.720.2902
Template load0.00320.527620.0016
Template processing0.577194.134220.2885
Template load and register function0.00010.018310.0001
states
state_id_array0.00090.152110.0009
state_identifier_array0.00090.139720.0004
Override
Cache load0.00250.4141180.0001
Sytem overhead
Fetch class attribute can translate value0.00060.100320.0003
Fetch class attribute name0.00120.197150.0002
XML
Image XML parsing0.00320.525120.0016
class_abstraction
Instantiating content class attribute0.00000.002260.0000
General
dbfile0.00270.4412210.0001
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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs