Forums / General / All about eZPublish engineering and architecture

All about eZPublish engineering and architecture

Author Message

Abel Rodriguez Vera

Thursday 05 July 2007 9:47:03 am

<b>Please, I am working on a project and I need urgent to know all about ezPublish class inheritance and architecrue.It will be usefull if some has or know where to find pictures or images with class diagrams and architecture diagram.Thanks to all.</b>

Heath

Thursday 05 July 2007 1:38:49 pm

I think this is well spread out among many sources

I could urge you to read the best source, the source :)

There are years of docs and forum discussions which help too but less directly,

http://ez.no/doc/ez_publish/technical_manual/3_9/concepts_and_basics/content_and_design
http://ez.no/ezpublish/documentation/reference/database_diagram
http://ez.no/community/forum/general/ez_publish_datamodel
http://www.eznor.com/var/forum/storage/images/ressurser/ez_publish_datamodell/ez_publish_datamodell/1383-2-nor-NO/ez_publish_datamodell.png

I point out the db diagram cause remember eZ Publish 3 is based on the use of persistent objects. I seem to remember seeing a much better diagram with relationships but where it exists escapes me atm.

hth

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Bruce Morrison

Thursday 05 July 2007 4:19:03 pm

Hi

I can't believe that Heath missed the doxygen API documentation :)
http://pubsvn.ez.no/doxygen/trunk/html/index.html

(Mostly?) Anything with a database table will have eZPersistantObject as a parent http://pubsvn.ez.no/doxygen/trunk/html/classeZPersistentObject.html Understanding this class is a good place to start. Especially look at the definition method & understand function attributes. http://pubsvn.ez.no/doxygen/trunk/html/classeZPersistentObject.html#b507c40150f7f749a092ad0b7fcb5df5

If you are looking at the content module you'll want to look at
eZContentObject
http://pubsvn.ez.no/doxygen/trunk/html/classeZContentObject.html
eZContentObjectTreeNode (nodes)
http://pubsvn.ez.no/doxygen/trunk/html/classeZContentObjectTreeNode.html

There isn't a lot of deep inheritance mostly alot of interlocking classes.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

eZ debug

Timing: Jan 18 2025 21:03:02
Script start
Timing: Jan 18 2025 21:03:02
Module start 'content'
Timing: Jan 18 2025 21:03:03
Module end 'content'
Timing: Jan 18 2025 21:03:03
Script end

Main resources:

Total runtime1.1980 sec
Peak memory usage4,096.0000 KB
Database Queries196

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0083 587.8359180.8203
Module start 'content' 0.00831.0349 768.6563594.3438
Module end 'content' 1.04330.1547 1,363.0000336.7500
Script end 1.1980  1,699.7500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.3710210.0002
Check MTime0.00170.1429210.0001
Mysql Total
Database connection0.00120.097410.0012
Mysqli_queries1.115293.08711960.0057
Looping result0.00210.17801940.0000
Template Total1.162897.120.5814
Template load0.00210.176620.0011
Template processing1.160796.881020.5803
Template load and register function0.00020.015410.0002
states
state_id_array0.00170.144010.0017
state_identifier_array0.00170.145620.0009
Override
Cache load0.00180.1518300.0001
Sytem overhead
Fetch class attribute can translate value0.00180.151240.0005
Fetch class attribute name0.00140.115660.0002
XML
Image XML parsing0.00580.480340.0014
class_abstraction
Instantiating content class attribute0.00000.000960.0000
General
dbfile0.00810.6795390.0002
String conversion0.00000.000630.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs