david linnard

› Creating a blank page layout template in eZ Publish

Every page you visit in eZ Publish uses the PageLayout File to create the structure of the page. For XML or AJAX based content you do not always want this to be the case. To get around it, you can add a new layout without a pagelayout template associated with it.
27/03/2010 5:57 pm (UTC)   David Linnard   View entry   Digg!  digg it!   del.icio.us  del.icio.us

community news (ez.no)  eZ systems employee

› Security advisory, promptly patch your eZ Publish instances

Today, the EZSA-2010-001 security advisory was released, fixing a remote vulnerability in eZ Search.

25/03/2010 6:04 pm (UTC)   Community news (ez.no)   View entry   Digg!  digg it!   del.icio.us  del.icio.us

damien pobel

› Frontend performance enhancements with admin2++ eZ Publish extension

About a month ago, I created a new project called admin2++ on projects.ez.no. As written in the project page, the purpose of this project is to go further in the administration interface refresh both on the frontend performance and on the features for users to achieve what I wrote last november on the admin interface refresh of eZ Publish. On the frontend performance side, changes are quite hidden but are there, so it's time to do some advertising :-) In fact, it's more or less an application of my talk in Geneva on frontend performance with eZ Publish.

Current enhancements on frontend performance

admin2++ extension provides the following enhancements to eZ Publish admin2 interface :

  • the twenties background images have been incorporated into three sprites images to decrease the number of HTTP requests. This also decreases the total background images size from about 30Kb to 6Kb.
  • PNG Content class icons and PNG admin2 design images have been optimized. Here again the total size of icons and images is decreased from about 200Kb to 147Kb.
  • the admin2++ extension provides parts of Apache2 config files to enable GZip compression and set a far future Expires header where possible
  • I also replaced the code using YUI3 (drag'n drop of sub-items when sorting with priority) or YUI2 (Date picker) JavaScript frameworks by a code based on jQuery and jQueryUI as jQuery is used for most features of admin2 and jQueryUI is used for others features provided by the extension. This avoids loading three JavaScript frameworks.
  • Most of the JavaScript code executed in page has been deferred to DOM ready event instead of DOM load.
  • The login page preloads the most used images and all the JavaScript files needed by the admin interface. I tried to configure eZ Publish/eZJSCore so that the JavaScript pack file generated by eZJSCore operators is the same on all pages. The browser downloads the JavaScript on the login page and then it always uses its cache on others pages. I'm happy to see that a part of this has been ported in the eZ Publish trunk :-)

What is missing, future developments ?

I wanted to override ezdesign and ezimage operators to automatically add the last modification date of a ressource in file URI so a far future header can be set on all design ressources without any browser cache issue. Unfortunately, overriding template operators is not possible for the moment. Currently, the expires is set to only seven days in expires.conf provided in the extension for most design ressources.

In addition, a lot of others small improvements would be possible like minifying inline JavaScript code or part of the HTML itself, ... and as usual, it lacks some documentation on how to set it up.

23/03/2010 2:29 pm (UTC)   Damien Pobel   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez projects

› Version 0.9.1 has just been released

Release 0.9.1 of the PDF catalogue has just been released. This release fixes some minor issues. It does not provide any new features.

A demonstration of the PDF catalogue is available here: http://www.alexander-block.net/eng/Business/eZ-Systems/Personal-PDF-Catalogue

21/03/2010 6:30 pm (UTC)   eZ Projects   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez projects

› ggxmlview 0.2 released

Added a template operator: $obj | to_array( $level=2, $attributes=array() )
It allows encoding to php array any ezpersistentobject (ie. all the 'objects' in
the online manual http://ez.no/doc/ez_publish/technical_manual/4_x/reference/objects)
It is useful for data export as well as using json_encode / xml_encode from ezjscore.
example usage: {$current_user|to_array(1)|json_encode}
The 1st param is the nesting level used for sub-objects (same as |attribute() does).
The 2nd param, if non empty, is a filter on the attributes of $obj that will be
returned (note: it is not applied recursively).

20/03/2010 1:00 am (UTC)   eZ Projects   View entry   Digg!  digg it!   del.icio.us  del.icio.us

derick rethans

› Letter to my MP to urge her to debate the Digital Economy Bill in parliament

Letter to my MP to urge her to debate the Digital Economy Bill in parliament

The UK House of Lords passed a controversial internet piracy bill that will have great consequences for society. Not only because it wants to disconnect file sharers, but also because of other privacy invading clauses. It is possible (likely even) that this bill will be rushed through parliament without a proper debate. I therefore wrote to my MP to urge her to properly discuss this in parliament. I am copying that letter below:


Dear Sarah Teather,

I've been following the recent developments around the Digital Economy Bill and what I read worries me deeply. This law, spearheaded by the Lord Manderson, is controversial in many ways. Now it seems possible that this bill is going to be rushed to be signed into law without a full Parliamentary debate.

There are several issues with this bill that I would like to address. First of all, the proposed US-DMCA like practices that would allow copyright holders to ask an ISP to take down content. ISPs will have no choice, but to comply with those take-down notices because it would be their legal responsibility. ISPs will have to fight out in court if they want to prove that certain content is not infringing, and obviously they will not have the inclination to do so on their customers' behalf. This makes it relatively easy for anybody to demand content taken off-line, whether they are the copyright holder or not, or even without having to prove the content is in violation.

At the same time, the Digital Economy Bill will allow the use of "orphaned works"—works for which the author is not easy to find. I am a semi-professional photographer with many images published on the Internet in various locations, some that are difficult to link me to as an author. I expect this to be even more the case for people's holiday pictures that they post to sites such as flickr and facebook. I don't want my work to be used commercially without consent, but if the Digital Economy Bill would be signed into law, corporations could use anyone's family pictures without their consent. This is of course in full contrast with other proposed clauses that criminalize copyright infringements where the copyright is owned by large (mostly not even UK) corporations.

As you can see, there are measures in this Bill that concern me, and so I think that it deserves proper scrutiny. Please don't let the government rush it through. I, and many of my peers, think it will damage schools and businesses as well as innocent people who rely on the internet because it will allow the Government to disconnect people it suspects of copyright infringement with any due process.

I am writing to you today to ask you to do all you can to ensure the Government doesn't just rush the bill through and deny us our democratic right to scrutiny and debate. I would be happy to discuss this matter with you further and provide some examples.

Yours sincerely, Derick Rethans


I have not seen a reply yet, but will update this post in case I receive one later. Please also write to your MP in case you are concerned with how this bill will affect your privacy and rights.

18/03/2010 12:12 pm (UTC)   Derick Rethans   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez projects

› Slower than desired development

I haven't worked on ezdeploy for some months while a bunch of other projects took presidence

18/03/2010 2:14 am (UTC)   eZ Projects   View entry   Digg!  digg it!   del.icio.us  del.icio.us

community news (ez.no)  eZ systems employee

› eZ Publish 4.3.0rc1 released

We are happy to announce the availability of eZ Publish 4.3.0rc1. It provides several fixes and updates to the extensions provided.

17/03/2010 2:14 pm (UTC)   Community news (ez.no)   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez projects

› nvNewsletter 0.6

New version of nvNewsletter published. This update includes few bug fixes, changes and new features. Check doc/changelogs.

15/03/2010 7:50 pm (UTC)   eZ Projects   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez projects

› First version of ab PDF catalogue has been released

The first release of the PDF catalogue extension is 0.9.0 and has just been released.
The PDF catalogue extension enables users to create their own, personalized PDF catalogue, by choosing a subset of PDF documents from a given pool of PDF documents. Any existing PDF files, that are already available in an existing eZ Publish installation, can be used with the PDF catalogue extension, as long as these files are stored using the content class "file" shipped with a standard eZ Publish installation.

A demonstration of the PDF catalogue is available here: http://www.alexander-block.net/eng/Business/eZ-Systems/Personal-PDF-Catalogue

15/03/2010 5:50 pm (UTC)   eZ Projects   View entry   Digg!  digg it!   del.icio.us  del.icio.us

eZ publish™ copyright © 1999-2005 eZ systems as