Forums / Developer / Development workflow, functional testing, etc.

Development workflow, functional testing, etc.

Author Message

Erlend Halvorsen

Tuesday 25 March 2008 4:55:10 am

I'd love to hear how other developers work with ez publish. I have several clients on this platform now, and we are constantly adding and removing features, changing templates, modules, etc. For code this is not really a problem, as I keep that in subversion. What is more of a problem is when I need to add or make changes to content classes, add or remove permissions, etc. Everything is so tightly coupled to the production database. On other projects I have worked on, we some times pulled the production data into development, then pushed everything back out again at deployment. However, as soon as you start to use forums, order forms, etc, this is no longer a viable option, as production data is changing constantly. How do you deal with this? Could we maybe get a thread running with some "best practices"?

-Erlend

Maxime Thomas

Thursday 03 April 2008 11:04:20 pm

Hi Erlend,

A kind of thread already exists on eZPublish. It's called ezpedia.org. :-D
http://www.ezpedia.org

You may find there tips and tricks and I guess lots of best practices.

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

Geoff Bentley

Saturday 11 October 2008 3:27:20 am

Here's some links, and it's definitely worth continuing this thread. eZ Systems may have a clever way to do this, but I've not heard anything that has resolved maintaining database configuration across multiple environments.

http://www.cjohansen.no/ez_publish/praktisk_ez_publish
http://suffandnonsense.blogspot.com/2008/10/how-to-you-handle-revision-control-in.html

eZ debug

Timing: Jan 18 2025 10:20:08
Script start
Timing: Jan 18 2025 10:20:08
Module start 'content'
Timing: Jan 18 2025 10:20:08
Module end 'content'
Timing: Jan 18 2025 10:20:08
Script end

Main resources:

Total runtime0.0139 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 589.1641180.8125
Module start 'content' 0.00660.0036 769.976693.9297
Module end 'content' 0.01020.0037 863.906370.7031
Script end 0.0138  934.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002215.8220120.0002
Check MTime0.00117.8088120.0001
Mysql Total
Database connection0.00064.494310.0006
Mysqli_queries0.002719.160640.0007
Looping result0.00000.238720.0000
Template Total0.003424.510.0034
Template load0.00085.756610.0008
Template processing0.002618.605810.0026
Override
Cache load0.00064.034110.0006
General
dbfile0.00042.5881100.0000
String conversion0.00000.030930.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs