eZ Publish HMVC

Author Message

Marko Žmak

Monday 31 May 2010 4:54:59 pm

How much is eZ Publish HMVC based? What are the plans of moving to this pattern?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

André R.

Tuesday 01 June 2010 2:04:46 am

Yes, there are plans to move eZ Publish into an MVC paradigm.
As for H, as far as I understands it it implies a coding convention so that it makes it easy to reuse other controllers from within the view of a related controller*. And as eZ Publish already has similar support for that(though not using a clear mvc approach currently), we will of have high priority on keeping that aspect in the future as well.

* In a shopping cart view, be able to have inline views of the products user has selected.

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

Bertrand Dunogier

Tuesday 01 June 2010 3:40:31 am

We are currently in the process of implementing a proper REST interface to eZ Publish, and are taking this opportunity to lay the ground rules for a real MVC (MvcTools) based implementation for the main controller as well, but this will be for a bit later.

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

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 02:04:06
Script start
Timing: Jan 18 2025 02:04:06
Module start 'layout'
Timing: Jan 18 2025 02:04:06
Module start 'content'
Timing: Jan 18 2025 02:04:07
Module end 'content'
Timing: Jan 18 2025 02:04:07
Script end

Main resources:

Total runtime1.0266 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0080 588.9297152.6094
Module start 'layout' 0.00800.0040 741.539139.4141
Module start 'content' 0.01201.0131 780.9531591.0078
Module end 'content' 1.02510.0014 1,371.960912.1953
Script end 1.0265  1,384.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3453160.0002
Check MTime0.00140.1398160.0001
Mysql Total
Database connection0.00140.131910.0014
Mysqli_queries0.965894.0791590.0164
Looping result0.00070.0703570.0000
Template Total0.982795.720.4914
Template load0.00280.274520.0014
Template processing0.979995.452520.4899
Template load and register function0.00010.009510.0001
states
state_id_array0.00220.218410.0022
state_identifier_array0.00170.165120.0008
Override
Cache load0.00230.2213130.0002
Sytem overhead
Fetch class attribute can translate value0.00090.086730.0003
Fetch class attribute name0.00100.101360.0002
XML
Image XML parsing0.00160.157630.0005
class_abstraction
Instantiating content class attribute0.00000.000860.0000
General
dbfile0.00570.5547310.0002
String conversion0.00000.001040.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
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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs