Running php or java app from within article

Author Message

Nigel Morris-Cotterill

Thursday 03 November 2005 6:37:21 pm

We want to implement graphical representation of tabulated data according to parameters defined by readers. For example: the absolute price of a kilo or rice in a variety of countries, the average income in a country or the price of a kilo or rice relative to average income.

We have identified a php script that does what we need but there may also be java that does the same - research continues.

I assume that our datatables will be stored outside EzPublish. Is this correct?

If so, is it possible to make that data searchable from within the EzPublish search?

Eg Query: the price of a kilo of rice in Ethiopia is....."

Also, and probably most importantly, can we embed this into an EzPublish article so that we can automatically generate graphs from our data and the graphs will be displayed in articles as they are rendered?

I can't find guidance in the documentation and I'd be grateful for any assistance.

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

Main resources:

Total runtime0.0152 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.0059 588.0469152.6406
Module start 'layout' 0.00590.0030 740.687539.4766
Module start 'content' 0.00890.0042 780.164185.1641
Module end 'content' 0.01310.0020 865.328130.3047
Script end 0.0151  895.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.5007140.0002
Check MTime0.00117.1812140.0001
Mysql Total
Database connection0.00127.980310.0012
Mysqli_queries0.002415.671830.0008
Looping result0.00000.119310.0000
Template Total0.001710.910.0017
Template load0.00085.524910.0008
Template processing0.00085.345910.0008
Override
Cache load0.00053.603210.0005
General
dbfile0.00021.595180.0000
String conversion0.00000.051840.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