Why is the pdf module deprecate?

Author Message

Pesti Pal

Monday 07 January 2008 4:37:02 am

Hello all,

So my question is:

Why is the pdf module declared deprecate in eZ Publish 4.0? (what is it that doesn't work more precisely)

Does this affect the PDF template functions too, or those can be used as normal?

Thanks a lot.

Heath

Monday 07 January 2008 4:59:52 am

This module (among several others) has been deprecated with the move to eZ Publish 4.0

It was created in a different time to fill a different need.

Today it would require significant development by a competent eZ Certified Developer to continue to support it's serving this limited purpose.

You may not want to understand or listen but ... This code is not worth saving in its current form.

This solution (pdf module) should be re-designed and created to better serve the general user base of eZ Publish.

Contribute funding to the related open funding project [1] or create your own eZ Component.

[1] http://ez.no/developer/open_funding/open_funding_projects/pdf_templating_export

Cheers,
Heath

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

André R.

Monday 07 January 2008 7:16:00 am

In other words: the current pdf functionality is deprecate because it doesn't support utf8 properly, caused by the underlying php functions it's using.
The replacement is the one Heat links to.

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

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 19:35:02
Script start
Timing: Jan 18 2025 19:35:02
Module start 'layout'
Timing: Jan 18 2025 19:35:02
Module start 'content'
Timing: Jan 18 2025 19:35:03
Module end 'content'
Timing: Jan 18 2025 19:35:03
Script end

Main resources:

Total runtime0.9491 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.0067 587.9141152.6250
Module start 'layout' 0.00670.0034 740.539139.4453
Module start 'content' 0.01010.9374 779.9844576.7188
Module end 'content' 0.94750.0015 1,356.703112.1563
Script end 0.9490  1,368.8594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3652160.0002
Check MTime0.00130.1375160.0001
Mysql Total
Database connection0.00150.156810.0015
Mysqli_queries0.889693.7319590.0151
Looping result0.00060.0624570.0000
Template Total0.911396.020.4556
Template load0.00250.265520.0013
Template processing0.908895.753120.4544
Template load and register function0.00020.025210.0002
states
state_id_array0.00260.270410.0026
state_identifier_array0.00330.345220.0016
Override
Cache load0.00200.2135230.0001
Sytem overhead
Fetch class attribute can translate value0.00090.095530.0003
Fetch class attribute name0.00110.119950.0002
XML
Image XML parsing0.00120.122830.0004
class_abstraction
Instantiating content class attribute0.00000.001250.0000
General
dbfile0.00090.1001240.0000
String conversion0.00000.000740.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/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.0002 secs