Web Service Avalability Domain Check

Author Message

Fabio Farnesi

Saturday 22 November 2003 6:09:01 am

Now..i'm developing a module to check if a web domain is available before to put it in the basket.

I've wrote a nice web service to make the check. The WS give back 0 or 1 if the domain is available. I've wrote a module to dialogue with web service. Now all seems works fine, but ..... i've not understood how the triggers, workflow and events works!

If the module give back 0 i need to put the domain in the basket
If the module give back 1 the user must be prompted that the domain is not available.

How make this?

Fabio Farnesi

Saturday 29 November 2003 7:45:30 am

Ok tnx to your help:) i've resolved the first part of the problem. Now the modules work fine and add a "domain product" in the basket if the domain is available.
Now the second part......

I've created a class "domain" and an object "domain_product" but i need to put the name of the domains in the order!!! and it seems that information collector don't work very well.

Any suggestion?

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

Main resources:

Total runtime0.9841 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 590.2969152.6250
Module start 'layout' 0.00790.0040 742.921939.4453
Module start 'content' 0.01190.9706 782.3672424.2969
Module end 'content' 0.98250.0015 1,206.66418.3125
Script end 0.9840  1,214.9766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3697160.0002
Check MTime0.00140.1395160.0001
Mysql Total
Database connection0.00240.248710.0024
Mysqli_queries0.941195.6307520.0181
Looping result0.00050.0470500.0000
Template Total0.949896.520.4749
Template load0.00220.222620.0011
Template processing0.947696.299620.4738
Template load and register function0.00020.019710.0002
states
state_id_array0.00110.107910.0011
state_identifier_array0.00160.165320.0008
Override
Cache load0.00180.1850130.0001
Sytem overhead
Fetch class attribute can translate value0.00120.117910.0012
Fetch class attribute name0.00110.108820.0005
XML
Image XML parsing0.00010.009410.0001
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00070.0666100.0001
String conversion0.00000.000940.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
2content/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
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: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs