Updating the country datatype

Author Message

Paul Forsyth

Wednesday 09 June 2004 12:23:31 pm

For our e-commerce projects we use a customised country datatype, originally based upon the datatype from the contributions. I've wanted to checkin this into pubsvn for a while but didnt get around to it.

The one we have doesn't have all the bells and whistles and isnt optimised but has a few new features. I remember hearing at the recent conference of other country datatypes and wanted to try to focus development of this datatype further.

Things lacking from our datatype include: translations, script for updating country codes, fast php function to the country array. We have included default countries, country ini files, with some clean ups. What do other people have?

I'll add the datatype shortly and try to continue discussion of it here.

paul

--
http://www.visionwt.com

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 19 2025 01:02:56
Script start
Timing: Jan 19 2025 01:02:56
Module start 'layout'
Timing: Jan 19 2025 01:02:56
Module start 'content'
Timing: Jan 19 2025 01:02:57
Module end 'content'
Timing: Jan 19 2025 01:02:57
Script end

Main resources:

Total runtime0.8539 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 590.6016152.6250
Module start 'layout' 0.00570.0031 743.226639.4453
Module start 'content' 0.00880.8436 782.6719400.7891
Module end 'content' 0.85240.0014 1,183.46098.1641
Script end 0.8538  1,191.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3809160.0002
Check MTime0.00130.1477160.0001
Mysql Total
Database connection0.00090.109410.0009
Mysqli_queries0.815995.5591460.0177
Looping result0.00050.0533440.0000
Template Total0.819396.020.4097
Template load0.00190.225720.0010
Template processing0.817495.726320.4087
Template load and register function0.00030.036210.0003
states
state_id_array0.00100.117110.0010
state_identifier_array0.00120.139720.0006
Override
Cache load0.00150.1805100.0002
Sytem overhead
Fetch class attribute can translate value0.00050.055410.0005
Fetch class attribute name0.00090.111010.0009
XML
Image XML parsing0.00010.013510.0001
class_abstraction
Instantiating content class attribute0.00000.005610.0000
General
dbfile0.00110.1306100.0001
String conversion0.00000.001240.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs