Concours pour le re-design du site share.ez.no

Le site communautaire autour d'eZ Publish, Share.ez.no a besoin d'une charte graphique un peu plus attrayante que l'actuelle (un peu trop jaune à mon goût :) c'est pourquoi un concours de design est organisé. Qui dit concours, dit prix ! Le gagnant du concours emportera une tablette graphique Wacom Intuos 4 medium ainsi qu'un billet d'entrée gratuit à la eZ Conference 2010 et bien sûr la mention "Design by <you>" en bas de chaque page du site. Les deuxième et troisième sont également récompensés. Tous les détails sont disponibles dans l'annonce officielle du concours, alors si vous avez des talents de graphiste, enregistrez vous et à vos Photoshop GIMP !

GUI enhancements with admin2++ eZ Publish extension

The blog post is the continuation of Frontend performance enhancements with admin2++ eZ Publish extension published a few days ago. This one is about the additions of the admin2++ eZ Publish extension in terms of GUI and new features.

Current features provided by admin2++ extension

admin2++ extension currently provides the following features by using jQueryUI 1.8 in the new eZ Publish administration interface :

  • it improves the dashboard to be easily configurable by each user (drag'n drop of blocks, ability to remove or add blocks)
  • it adds some new dashboard blocks (System infos, Feed reader, Advanced search form)
  • it replaces View link in context menus by a Preview link that loads a preview in AJAX
  • it makes the right menu loadable in AJAX instead of requiring a page refresh when revealing it
  • it adds the ability to resize the area dedicated to preview tabs, details tabs, ...
  • it improves default stylesheet (colors in popup menu and dashboard blocks, round corners on all fields, yellow background to highlight currently focused field, ...)
  • it adds a date picker for ezdate and ezdatetime attribute (based on jQuery instead of the default YUI2 one)

All those new features are visible in this screencast :

Future developments

I have a lot of ideas :

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

The 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.

Frontend performance with eZ Publish slides are online

The slides of my talk Frontend performance with eZ Publish at the eZ Winter Conference 2010 at Geneva are now online on Smile website (fr) and on slideshare.net (and there's also a PDF document to read it offline) :

This talk gives some details on the application of some of the Yahoo! best practices for speeding up your web site with eZ Publish like limiting the number of HTTP requests with the ezjscore extension's template operators, the optimization of the images uploaded in the CMS (fr) or the ability to set far future expires headers for ressources in the storage directory of the CMS...

Nouveau serveur

Après les déboires récents de mon premier serveur Dedibox, j'ai reçu courant décembre un mail m'annonçant la fin du support de ma Dedibox V1 fin janvier 2010 et l'obligation de migrer vers une autre machine. J'envisageais depuis un bon moment de changer de serveur, cela n'a fait que précipiter les choses. Et j'ai finalement choisi un serveur Kimsufi 750G qui semble mieux fourni que les Dedibox XL pour le même prix (aux frais d'installation près si on paie pas à l'année).

La migration à l'identique est quasiment terminée mais je compte bien exploiter au mieux les 4Go de RAM (quel changement en comparaison du Go que j'avais avant). Je vais m'intéresser de plus près à la configuration de MySQL pour exploiter ces nouvelles ressources et je vais enfin pouvoir installer l'extension eZ Find sur mes différents sites eZ Publish.

En attendant un rapide benchmark sur pwet.fr avec siege sur les 200 pages les plus vues m'a montré que cette machine est capable de servir quelque chose comme 40 pages / seconde sans broncher là ou l'ancienne machine était capable de servir péniblement 7 pages / secondes. Il y a de la place pour quelques nouveaux projets!

Flux RSS des billets

Flux RSS des billets

Rechercher sur pwet.fr

À retenir

Derniers commentaires

Archives

Nuage de tags

Bioutifoul photos

Quelques liens

Licence d'utilisation

Contenu sous Licence Creative Commons By-Sa

Sauf mentions spécifiques, les billets et les photos publiés sur ce site sont placés sous la licence Creative Commons by-sa.

Pour toute utilisation dépassant le cadre de cette licence, merci de me contacter par e-mail.