Packages vs. SVN checkout

Author Message

Piotrek Karaś

Thursday 07 August 2008 2:31:24 pm

Hi there,

After 2 years with eZ Publish, I still don't have much clue about packages, especially for we had some problems with them in our team.

Now, I've noticed that eZ Newsletter installation involves some package installation. Can anyone explain how that differs from SVN checkout of newsletter extension? Do I miss anything that way? If so, why and what?

Thanks in advance!
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Maxime Thomas

Sunday 31 August 2008 11:41:42 pm

Hi Piotrek,

Same question here, but I think we got a clue : you can do more things with packages. It means that importing package will allow you to init for example a fresh install f eZPublish for a particular way or add just some content in an existing site.
eZNewsletter is the perfect example, the packages are creating content classes, content and special configuration like a new siteaccess. It is a way to programmatically create content and configuration.
However, I haven't found any docs on how flexible this functionnality is, and if you can by this way export things like roles and policies or workflows...

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

Piotrek Karaś

Tuesday 09 September 2008 9:04:31 pm

Thanks Maxime,

I haven't had any time to experiment with this topic ever since, but it's too weird that this is so not documented (both packages alone as well as newsletter packages). If you find anything, please share!

Thanks,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Maxime Thomas

Tuesday 09 September 2008 11:57:41 pm

Hi,

As far as I know, a ezpkg file is a zipped xml.
The XML is formatted to receive content class definition or content.
For extension package and site design package, I'm not sure that it works like this.
I can try it and share.

Max

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

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 30 2025 22:24:32
Script start
Timing: Jan 30 2025 22:24:32
Module start 'layout'
Timing: Jan 30 2025 22:24:32
Module start 'content'
Timing: Jan 30 2025 22:24:32
Module end 'content'
Timing: Jan 30 2025 22:24:32
Script end

Main resources:

Total runtime0.0211 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.2813151.2266
Module start 'layout' 0.00440.0040 739.5078220.7188
Module start 'content' 0.00840.0114 960.22661,002.8828
Module end 'content' 0.01980.0013 1,963.109437.9922
Script end 0.0211  2,001.1016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002411.5375140.0002
Check MTime0.00104.5832140.0001
Mysql Total
Database connection0.00073.504810.0007
Mysqli_queries0.002913.592630.0010
Looping result0.00000.042910.0000
Template Total0.00104.810.0010
Template load0.00083.590710.0008
Template processing0.00021.174310.0002
Override
Cache load0.00052.504410.0005
General
dbfile0.00178.223580.0002
String conversion0.00000.024840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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