Best practice for extension development

Author Message

Tony Wood

Thursday 15 May 2003 9:02:38 am

It would be nice if eZ could chair a best practice forum or document that would outline best practice for extension development.

Things to cover:
db: table naming
db: Field naming

code: variable naming convention
documentation: minimum required

This would ensure that all contributions can be at a basic level can be understood and pitch up and developed by anyone who understands extension.

Comments?

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

roland benedetti

Sunday 25 May 2003 10:19:15 am

I do agree !

I also can't see where to put my development in the file structure, which API's to use ....

I'd need a tutorial "building an extension".

also, Why not making a kind of extension repository ?
this way, one could contribute to non kernel but important features.

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 05:03:25
Script start
Timing: Jan 18 2025 05:03:25
Module start 'layout'
Timing: Jan 18 2025 05:03:25
Module start 'content'
Timing: Jan 18 2025 05:03:26
Module end 'content'
Timing: Jan 18 2025 05:03:26
Script end

Main resources:

Total runtime0.6089 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0090 588.0313152.6406
Module start 'layout' 0.00900.0038 740.671939.4766
Module start 'content' 0.01280.5947 780.1484526.8672
Module end 'content' 0.60750.0014 1,307.01568.1406
Script end 0.6088  1,315.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00530.8758160.0003
Check MTime0.00140.2301160.0001
Mysql Total
Database connection0.00080.138610.0008
Mysqli_queries0.543589.2705540.0101
Looping result0.00060.0946520.0000
Template Total0.548290.020.2741
Template load0.00350.573220.0017
Template processing0.544789.465120.2724
Template load and register function0.00010.016610.0001
states
state_id_array0.00190.314510.0019
state_identifier_array0.00090.141120.0004
Override
Cache load0.00310.5105180.0002
Sytem overhead
Fetch class attribute can translate value0.00040.070820.0002
Fetch class attribute name0.00100.164630.0003
XML
Image XML parsing0.00060.101520.0003
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00530.8643160.0003
String conversion0.00000.001440.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs