Forums / General / General template conceptual and process tutorial

General template conceptual and process tutorial

Author Message

Sol Millin

Monday 14 April 2003 1:26:33 am

Can I find this? (apart from what's currently in the manual and sdk).

What would be great is a 'top down' architectual view of how ez3 assembles and processes an output page...

Just psuedo code... nothing too deep.

Also definitions including ez template tags, eg. 'section' which seems to have two meanings...

section in admin is a major part of a site as selected by main menu button (eg demo site sections)

section in templates appears to be a section of output on the constructed html page.

Then a few real examples would be great, perhaps keyed to the demo site.

We could then become much more effective.

With thanks,

Sol Millin
byron bay
australia

Karsten Jennissen

Monday 14 April 2003 5:34:09 am

As for your first question, I don't quite see the admin use for a technical run down on how ez publish creates a page. But if the ez crew finds the time?!

Well, you are right about the term section. Site sections are used for design switching and permission control. The template function (operator?) section is used for various tasks in the control of the templates.

Find some more info on templates here:
http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/terminology_basics/template_language

There is an overview over all template functions in the sdk (linked from the above).

Karsten

Jan Borsodi

Monday 14 April 2003 7:11:21 am

An overview of the template process is interesting but at the moment we don't have the time for this to make the 3.1 release.
We can look at this for later 3.x releases.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Paul Borgermans

Monday 14 April 2003 9:51:07 am

>What would be great is a 'top down' architectual view of how ez3 assembles and processes an output page...

Right. Rumours from our internal devel team suggest lots of things come from the ezhttp persistent object class.

But it is not yet clear to us either.

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Sol Millin

Monday 14 April 2003 2:44:42 pm

Thanks guys...

I really appreciate the feedback.

... and also your patience with someone struggle to get to grips with ez3 concepts...

As I have ez3 setup I cannot access parts of the sdk locally eg.

http://sdk.demo.ez3/sdk/eztemplate/view/function_section/

but I have been told this will be tidied up in 3.1

Luckily I've got ADSL to ez.no!

eZ debug

Timing: Jan 30 2025 00:17:29
Script start
Timing: Jan 30 2025 00:17:29
Module start 'content'
Timing: Jan 30 2025 00:17:29
Module end 'content'
Timing: Jan 30 2025 00:17:29
Script end

Main resources:

Total runtime0.2137 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.0547180.8203
Module start 'content' 0.00590.0058 768.875097.8984
Module end 'content' 0.01160.2020 866.7734526.8750
Script end 0.2136  1,393.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00291.3653200.0001
Check MTime0.00120.5557200.0001
Mysql Total
Database connection0.00070.315310.0007
Mysqli_queries0.175482.09571410.0012
Looping result0.00100.46911390.0000
Template Total0.201794.410.2017
Template load0.00070.328010.0007
Template processing0.201094.083110.2010
Override
Cache load0.00050.241010.0005
Sytem overhead
Fetch class attribute can translate value0.00040.192310.0004
XML
Image XML parsing0.00020.097410.0002
General
dbfile0.00512.4047200.0003
String conversion0.00000.001930.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