Forums / Developer / information for the php scripts's architecture of modules

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

eZ debug

Timing: Jan 18 2025 19:04:08
Script start
Timing: Jan 18 2025 19:04:08
Module start 'content'
Timing: Jan 18 2025 19:04:08
Module end 'content'
Timing: Jan 18 2025 19:04:08
Script end

Main resources:

Total runtime0.2366 sec
Peak memory usage4,096.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0087 587.9688180.7969
Module start 'content' 0.00870.0096 768.765693.9766
Module end 'content' 0.01820.2183 862.7422526.9219
Script end 0.2365  1,389.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00482.0467200.0002
Check MTime0.00170.7305200.0001
Mysql Total
Database connection0.00200.856410.0020
Mysqli_queries0.168171.07111410.0012
Looping result0.00150.65421390.0000
Template Total0.217291.810.2172
Template load0.00120.486910.0012
Template processing0.216091.301510.2160
Override
Cache load0.00080.358010.0008
Sytem overhead
Fetch class attribute can translate value0.00080.350810.0008
XML
Image XML parsing0.00030.129410.0003
General
dbfile0.00903.8213200.0005
String conversion0.00000.002430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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