Federate dbs with ezpublish

Author Message

Pierre Tissot

Friday 05 October 2007 6:09:46 am

This is strategy question in order to fallow the best practice and approach to my problem.

The aim of this project is to use Ez as a top information system, that will federate several other sources that are Read only information.

As a example we have a page that describes some information about Africa, in Ez way (a node, object, etc). Added to this page some other information about Africa will be displayed by asking to other resources outside Ez publish.

They are two ways of do this I think.
- Import all data to ez publish with a temporary script.
- Use Ez to deal with dynamic content and read from the other sources on the fly.

In my opinion the second one is the best approach. All the communication with external sources will be manage by function operators that will fecth and fill the displaying templates.

Is this a good approach? Somebody has some experience about something like this that can enlighten me, in solutions and performances issues of this problem.

thanks
Pierre Tissot

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

Main resources:

Total runtime0.0145 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.1250151.2109
Module start 'layout' 0.00440.0024 739.335936.6484
Module start 'content' 0.00680.0063 775.984486.0000
Module end 'content' 0.01310.0013 861.984429.9922
Script end 0.0145  891.9766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002315.7028140.0002
Check MTime0.00117.3960140.0001
Mysql Total
Database connection0.00064.364610.0006
Mysqli_queries0.002114.782230.0007
Looping result0.00000.069010.0000
Template Total0.00107.110.0010
Template load0.00085.398710.0008
Template processing0.00021.696510.0002
Override
Cache load0.00053.744910.0005
General
dbfile0.002416.720480.0003
String conversion0.00000.041140.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