Workflow development enviroment, any tips

Author Message

Tore Skobba

Thursday 16 December 2004 6:28:01 am

Hi

I am working on an workflow for the first time. And I find the testing of it very inefficient.. I.e my workflow works on registred users and I have to register an user each time I have to test it. Just wondering if anybody have set up an test enviroment or something for workflow development and have some tips to share.

Cheers
Tore

Xavier Dutoit

Thursday 16 December 2004 10:43:46 am

My first tip is to avoid coffee when working on a workflow, that's taf enough without ;)

More seriously, that's a pain, be prepared. I've worked on an event triggered post publication, the only few tips I could find to smooth the process where to alter the event, so that's easier to rerun (eg. instead of running the event upon the creation of the object, runs it when you upgrade it). This way, instead of having to create the object (the user ?) each time, you "only" have to modify one. Don't know if it's useful in your case. Also, install a php optimiser (I've found mmtruck faster than php accelerator), so the time you spoil waiting on the computer is (slightly) shorter.

The ez crew is well aware of the problem, and told us it won't be addressed on the 3.6 rel. See this post: http://ez.no/community/forum/suggestions/call_for_comments_focus_on_web_developer_usability_issues_in_ez_publish_3_6

Good luck.

Xavier

http://www.sydesy.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 18 2025 18:17:29
Script start
Timing: Jan 18 2025 18:17:29
Module start 'layout'
Timing: Jan 18 2025 18:17:29
Module start 'content'
Timing: Jan 18 2025 18:17:31
Module end 'content'
Timing: Jan 18 2025 18:17:31
Script end

Main resources:

Total runtime1.8698 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.0050 589.1797152.6406
Module start 'layout' 0.00500.0030 741.820339.4766
Module start 'content' 0.00801.8603 781.2969521.0781
Module end 'content' 1.86830.0014 1,302.37508.2813
Script end 1.8697  1,310.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.1775160.0002
Check MTime0.00140.0750160.0001
Mysql Total
Database connection0.00060.033110.0006
Mysqli_queries1.483979.3651540.0275
Looping result0.00060.0312520.0000
Template Total1.497180.120.7485
Template load0.00210.113020.0011
Template processing1.495079.954920.7475
Template load and register function0.00010.007910.0001
states
state_id_array0.00220.116410.0022
state_identifier_array0.00250.133420.0012
Override
Cache load0.00180.0952140.0001
Sytem overhead
Fetch class attribute can translate value0.00090.049620.0005
Fetch class attribute name0.00200.106430.0007
XML
Image XML parsing0.00090.046220.0004
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00160.0865160.0001
String conversion0.00000.000340.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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 6

Time used to render debug report: 0.0001 secs