information for the php scripts's architecture of modules

Author Message

Fox Mulder

Thursday 27 September 2007 11:40:27 pm

Hello all

I want to find some info about architecture of php scripts of modules and how modules are connected with the entire eZ publish (how modules tage and give infomration to the system)
I read these:
http://ez.no/doc/ez_publish/technical_manual/3_8/concepts_and_basics/the_internal_structure_of_ez_publish
and
http://ez.no/doc/ez_publish/technical_manual/3_8/concepts_and_basics/modules_and_views
but there do not gives any technical information.

I want to understand how the koernel's module content wors and how the module connects with the entire system.

10x 2 all

Lazaro Ferreira

Friday 28 September 2007 12:05:33 am

Hi

Take a look here

http://ezpedia.org/wiki/en/ez/developers
http://ezpedia.org/wiki/en/ez/module

Regards

Lazaro
http://www.mzbusiness.com

Fox Mulder

Tuesday 02 October 2007 2:10:20 am

I saw that index.php is the platform and it handle all modules. Is someone knows some inforamtion a about the module engine: how it runs modules (i think it is the class ezmodule and ezmodule::run() method)
I also want ot know how works the conntent module. If someone knows some informations, please post it.

10x all

André R.

Tuesday 02 October 2007 3:35:43 am

You are on the right track, but since this stuff is not so well documentet you are a bit on you own. It might help a bit to use the doxygen api reference:
http://pubsvn.ez.no/doxygen/3.9/html/index.html

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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

Main resources:

Total runtime0.8284 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.1719152.6563
Module start 'layout' 0.00540.0030 740.828139.5078
Module start 'content' 0.00830.8186 780.3359578.9297
Module end 'content' 0.82690.0015 1,359.265612.4063
Script end 0.8284  1,371.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3893160.0002
Check MTime0.00140.1683160.0001
Mysql Total
Database connection0.00070.088810.0007
Mysqli_queries0.776493.7224620.0125
Looping result0.00070.0800600.0000
Template Total0.796096.120.3980
Template load0.00220.261620.0011
Template processing0.793895.816920.3969
Template load and register function0.00020.028010.0002
states
state_id_array0.00130.154710.0013
state_identifier_array0.00110.131020.0005
Override
Cache load0.00180.2114260.0001
Sytem overhead
Fetch class attribute can translate value0.00090.107630.0003
Fetch class attribute name0.00120.139650.0002
XML
Image XML parsing0.00080.096330.0003
class_abstraction
Instantiating content class attribute0.00000.003850.0000
General
dbfile0.00100.1202170.0001
String conversion0.00000.001140.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
4content/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: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs