Forums / Setup & design / eZ in a development/staging/production environment

eZ in a development/staging/production environment

Author Message

M S

Monday 20 February 2006 3:33:18 pm

Hi:

Our current website (no database) setup involves creating webpages in a sandbox area, using CVS to upload the pages to a staging server for review and then using CVS to upload the changes to the live server. This three tier architecture allows for review and prevents bad information from being displayed live.

Now, I know that I can set up a edit/review/publish workflow (I believe I can) in eZ and also play with the visibility of items. I was wondering however, if there was a way to replicate my current system with eZ. If anyone has done this, please let me know and I'd be interested in talking more about it.

Thanks

Q

Ron Schöningh

Tuesday 21 February 2006 8:44:00 am

I would like to advise you not to implement such an approach with eZ publish. The reason for this is that content management systems like eZ publish allow the definition of various roles in the publishing process. If you combine these roles (editor, moderator etc) in a workflow you will have a convient mechanism which will be much easier to maintain than the three tier approach you describe. This is one of the reasons to consider an advanced CMS like eZ publish.

Myxt Web Solutions
http://www.myxt.nl

Marc Boon

Friday 12 May 2006 3:40:10 am

About this edit/review/publish workflow. How does that work in practice? Is it possible to review the entire site before publishing, like you do on a staging server? Or do you have to review every node by itself in the admin preview context? The latter would be highly undesirable.

I am trying to implement a staging approach, where the staging server is reached by a (non-public) subdomain of the live site. After approval, the live site is updated by regenerating
the static cache. The public production site's domain root is the folder containing the static cache, so this public site is truly static (no php or database access at all). I needed to add some url-rewriting rules for javascript, stysheets and images which reside in the design and var/storage directories, but these files are all completely static too.

I have the impression that my solution is not the way eZ publish is supposed to work, but I don't know how to setup a staging server using workflows. Tips and ideas welcome!

eZ debug

Timing: Jan 31 2025 04:16:48
Script start
Timing: Jan 31 2025 04:16:48
Module start 'content'
Timing: Jan 31 2025 04:16:48
Module end 'content'
Timing: Jan 31 2025 04:16:48
Script end

Main resources:

Total runtime0.1221 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.0781180.8125
Module start 'content' 0.00500.0060 768.890693.8203
Module end 'content' 0.01110.1109 862.7109522.3750
Script end 0.1220  1,385.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00322.5939200.0002
Check MTime0.00141.1082200.0001
Mysql Total
Database connection0.00070.607910.0007
Mysqli_queries0.081967.11301410.0006
Looping result0.00100.81651390.0000
Template Total0.110790.710.1107
Template load0.00080.668610.0008
Template processing0.109889.986310.1098
Override
Cache load0.00060.499910.0006
Sytem overhead
Fetch class attribute can translate value0.00070.562010.0007
XML
Image XML parsing0.00020.149010.0002
General
dbfile0.00645.2146200.0003
String conversion0.00000.003330.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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