Design/Database dilemna

Author Message

Shurbann Martes

Friday 12 December 2003 11:04:27 am

Hello eZ,

I have an intranet growing and becoming larger, so I want to split this into two intranet that share some information they have in common.

But they should have their onw look and feel.
What should I do?

- Let them us their own database?
disadvantage (I think): I can't share the information they have in common. Just by writing one article for example

or

- put them in one database?
disadvantage (I think): If someone change the design (design_A to design_B) in the url they will see the information of intanet A using design of/look of intranet B.

I'm hoping that you will discuss these issues here so I will have an idea what to do.

Greets,
Shurbann

Alex Jones

Friday 12 December 2003 11:28:02 am

I would recommend that you use a single database/install of eZ publish. As you mentioned, this will allow you to save content and will use less resources than two installations of eZ publish.

Is it really a big deal if someone hacks the URL and sees the same information in a different design? If you set these up as separate subdomains (intranet.yourcompany.com & internal.yourcompany.com) it is less likely that people will think to change the URL compared to intranet.yourcompany.com/design/ If it is a big deal, you can look at limiting access to each one via a password, IP subnet or the like.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

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 22:33:02
Script start
Timing: Jan 18 2025 22:33:02
Module start 'layout'
Timing: Jan 18 2025 22:33:02
Module start 'content'
Timing: Jan 18 2025 22:33:03
Module end 'content'
Timing: Jan 18 2025 22:33:03
Script end

Main resources:

Total runtime0.9056 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 587.8828152.6094
Module start 'layout' 0.00590.0028 740.492239.4141
Module start 'content' 0.00860.8955 779.9063523.9688
Module end 'content' 0.90410.0014 1,303.87508.1875
Script end 0.9055  1,312.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3544160.0002
Check MTime0.00130.1435160.0001
Mysql Total
Database connection0.00090.104310.0009
Mysqli_queries0.857094.6412540.0159
Looping result0.00050.0535520.0000
Template Total0.873696.520.4368
Template load0.00220.239320.0011
Template processing0.871496.232220.4357
Template load and register function0.00020.017410.0002
states
state_id_array0.00070.078210.0007
state_identifier_array0.00090.098220.0004
Override
Cache load0.00170.1911200.0001
Sytem overhead
Fetch class attribute can translate value0.00050.060120.0003
Fetch class attribute name0.00090.102730.0003
XML
Image XML parsing0.00060.068220.0003
class_abstraction
Instantiating content class attribute0.00000.000830.0000
General
dbfile0.00080.0877160.0000
String conversion0.00000.000940.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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.0002 secs