Differences between module and operator ?

Author Message

Fred Gueho

Thursday 27 April 2006 8:58:05 am

What is the main difference between module and operator ?

In which case should I use module ? or operator ?

Björn Dieding@xrow.de

Thursday 27 April 2006 7:11:38 pm

you use modules for writing own applications which could include operator like behaviors(module functions... {set $data=fetch("module","function"[, $param ]))

you use operators to enrich template functionality... e.g. data manipulation in templates ... mainly meaning stuctures that already exist in the scope of the template.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

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

Main resources:

Total runtime1.2620 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.0073 588.2734151.2266
Module start 'layout' 0.00730.0025 739.500036.6797
Module start 'content' 0.00981.2513 776.1797914.9453
Module end 'content' 1.26110.0009 1,691.12507.8125
Script end 1.2620  1,698.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2701160.0002
Check MTime0.00130.1059160.0001
Mysql Total
Database connection0.00090.072310.0009
Mysqli_queries1.214896.2587540.0225
Looping result0.00060.0502520.0000
Template Total1.215996.320.6080
Template load0.00200.157020.0010
Template processing1.213996.186720.6070
Template load and register function0.00150.118410.0015
states
state_id_array0.00320.250210.0032
state_identifier_array0.00260.203920.0013
Override
Cache load0.00160.124390.0002
Sytem overhead
Fetch class attribute can translate value0.00060.050620.0003
Fetch class attribute name0.00260.208530.0009
XML
Image XML parsing0.00080.060820.0004
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00090.0734160.0001
String conversion0.00000.000740.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
2content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs