community news (ez.no)  eZ systems employee

› Updated Download Packages for eZ publish 3.8.4

The eZ publish 3.8.4 distribution has been updated with new packages. The previous packages had the following problems:

The new packages are available from the eZ publish 3.8.4 download page.

12/09/2006 10:04 am (UTC)   Community news (ez.no)   View entry   Digg!  digg it!   del.icio.us  del.icio.us

aaron wormus

› EZPT: Redirection Debugging

Redirection debugging is a handy feature when you’re debugging a custom module, and want to see how the redirections are being handled. I edited an ini-file using the backend, and redirection debugging was turned on (this is one of the reasons I like editing stuff by hand) To enable / disable this, edit your (site).ini.append.php DebugRedirection=disabled
11/09/2006 5:32 pm (UTC)   Aaron Wormus   View entry   Digg!  digg it!   del.icio.us  del.icio.us

aaron wormus

› EZPT: Displaying contents of template variables

To display the contents of a variable use the ‘attribute’ template operator. This works in a similar fashion to the {debug} operator in Smarty and will dump the contents of the variable to the page. By default the ‘attribute’ operator will only display the names of the attributes of the array, but sending ’show’ as the [...]
11/09/2006 3:59 pm (UTC)   Aaron Wormus   View entry   Digg!  digg it!   del.icio.us  del.icio.us

php developer

› DevShed: Main Methods of the DirectoryIterator Class in PHP 5

DevShed is starting up another new series today, this time looking at the DirectoryIterator methods out of the Standard PHP Library functionality.

Because this class might be handy to use in projects where handling directories is a must, in this new series I'll be taking a close look at some of its most important methods. We will explore these methods appropriately in conjunction with the corresponding code samples.

They introduce the class, noting why it's handy to use and where's the best place to use it - including an example. They get into a bit more detail, looking at the key() and current() methods as well as using the rewind() method to reset the pointer for the directory.

11/09/2006 3:32 pm (UTC)   PHP Developer   View entry   Digg!  digg it!   del.icio.us  del.icio.us

php developer

› PHPHacks.com: Security in PHP

One can never be too secure when it comes to online applications. PHP has its problems, making it a bit too easy sometimes to write back code that makes for insecure applications, but, thankfully, there are some simple steps to be taken to greatly reduce these risks. This article from PHPHacks.com shares some of the easiest.

Their recommendations are:

  • Never, Ever, Trust Your Users
  • Using Golbal Variables Correctly
  • Handling Error Reporting
  • Preventing SQL Injection
  • Avoiding File Manipulation
  • Avoiding Using Defaults
  • Not Leaving Installation Files Online
  • Avoiding Predictability
Oh, and my personal favorite, which is funny at first glance but seriously true when you really think about it "Be Completely and Utterly Paranoid".

11/09/2006 3:26 pm (UTC)   PHP Developer   View entry   Digg!  digg it!   del.icio.us  del.icio.us

php developer

› Jared White's Blog: Developer Preview 2 of Willowgarden has been released today

Jared White has released the latest Developer Preview of his application framework for PHP 5 - Willowgarden DP2.

I'm so pleased to announce that Developer Preview 2 is ready. This is where the project is really starting to solidify and settle into a cohesive whole that can be used for hands-on development. I've been working on several Web site and applications using the DP2 codebase, and it has made my life as a PHP developer so much more fun than the bad old days of cobbling together scripts nearly from scratch.

A new wiki for the project has also been launched with content already being added - a User Guide and areas for tutorials and howtos. Jared also puts a call out to PHP 5 developers out there looking for something to get involved with to take a good look at the Willowgarden project and send him an email ("remove everything after jared before the @ sign").

11/09/2006 2:59 pm (UTC)   PHP Developer   View entry   Digg!  digg it!   del.icio.us  del.icio.us

damien pobel

› Solaris et les Outils GNU

Aujourd'hui j'ai eu l'occasion de me connecter en SSH sur une machine tournant sous Solaris (SunOS 5.10) apparement un Sparc quadri-processeur équipé de pas moins de 8 Go de RAM, une belle bête en somme. Le but de la manoeuvre était de tester la configuration de l'hébergement pour un site utilisant eZ publish . Sur cette machine deux choses m'ont particulièrement frappées.

La première est le relatif "bordel" dans le système de fichiers. Habitué depuis quelques années aux systèmes bien rangés et proche du standard LSB de mes machines ou des serveurs que j'administre, j'ai été un peu dérouté. Ce n'est pas pratique du tout quand on découvre la machine et qu'on cherche juste le fichier de configuration d'Apache ou le répertoire de base des sites web. Ça m'a rappelé l'organisation des fichiers sur les serveurs Tru64 que j'utilisais quand j'étais étudiant à l'ENSSAT . C'est vrai qu'en y réfléchissant bien, une machine utilisée par beaucoup d'utilisateurs avec des besoins très différents, se transforme inexorablement en joyeux foutoir au grès des installations, migrations, mises à jour et l'adaptation de l'existant.

La seconde est la prauvreté du shell (tcsh pour ne pas le nommer) et des applications par défaut installés sur la machine. Par exemple le prompt du shell est un spartiate "login@machine repertoire_courant :", un ls n'affiche aucune couleur améliorant la lisibilité, ou tar ne permet pas le désarchivage de tarball compressé avec bzip2 ou gzip en une ligne sans pipe. Bref, toutes ces petits plus offerts par les outils GNU en shell sont absents par défaut.

Cette petite expérience m'a fait prendre (ou plutôt reprendre) conscience du confort apporté par les outils GNU et l'avance de ce point de vue de l'environnement généralement disponible par défaut sous n'importe qu'elle distribution GNU/Linux par rapport aux Unix propriétaires n'offrant pas ces outils.

08/09/2006 11:08 pm (UTC)   Damien Pobel   View entry   Digg!  digg it!   del.icio.us  del.icio.us

php developer

› Zend Developer Zone: A Review of "Scalable Internet Architectures"

The Zend Developer Zone has posted a review of Theo Schlossnagle's book from the Developer's Library series "Scalable Internet Architectures".

I had the pleasure of meeting Theo Schlossnagle at OSCON 2006. He gave me 30 minutes to peek inside his brain and do an interview. 30 minutes just was not enough time. So when I received his latest book in the mail I was excited. Finally a chance to get more in-depth on some of the topics we covered. I've taken the time to collect my thoughts for you here so you can decide whether this book is a good one for you.

Cal talks about how he hated the book (from a reviewer's perspective, not a developer), the contents of the book, and his personal favorite section - "Distributed Databases are Easy, Just Read the Fine Print". His only critism is that the book seems to come across in a "demanding" tone (misunderstood by those that don't know Theo's style as just being matter of fact).

08/09/2006 8:50 pm (UTC)   PHP Developer   View entry   Digg!  digg it!   del.icio.us  del.icio.us

php developer

› Job Posting: National Auto Warranty Seeks PHP Web App Developer (Wentzville, MO)

Company National Auto Warranty Services/Dealer Services
Location Wentzville (St. Louis), MO
Title PHP Web Application Developer
Summary National Auto Warranty Services/Dealer Services is an extended auto warranty dealer with a thriving sales staff and an exciting vision. NAWS is looking for an experienced PHP web application developer to help manage internal, open source web application projects.
Link More Information
08/09/2006 8:24 pm (UTC)   PHP Developer   View entry   Digg!  digg it!   del.icio.us  del.icio.us

damien pobel

› eZ publish et PHP5

Une remarque que l'on voit fleurir de plus en plus dans les forums sur eZ publish ou dans la communauté Francophone est sa non compatibilité avec PHP5 et le fait qu'eZ publish 4 devrait lui aussi encore nécessiter PHP4 . En effet, de plus en plus de distributions Linux fournissent et supportent officiellement PHP5 au travers de leur système de paquets comme Ubuntu ou Suse ce qui fait que l'administration d'un serveur LAMP4 (Linux Apache MySQL PHP4) peut s'en trouver plus difficile voire pénible en nécessitant des recompilations à chaque sortie d'une nouvelle version de PHP4 corrigeant éventuellement des failles de sécurité. Alors que l'utilisation de paquets permet pratiquement d'administrer son serveur les yeux fermés ;-)

Cette demande est tellement forte que Kristof Coomans , un modérateur des forums sur eZ publish , s'est lancé dans une tentative de portage d'eZ publish 3.8.4 en PHP5 et il semble avoir un prototype qui commence à tourner. Évidemment la somme de travail pour avoir un portage parfait de quelques 420000 lignes de code PHP est tout simplement monstrueuse et cet essai ne semble pas vouloir faire changer d'avis eZ systems sur une éventuelle compatibilité eZ publish / PHP5 dans un futur proche . Mais il pourrait bien déboucher sur une version PHP5 d'un eZ publish communautaire.

Personnellement ou plutôt professionnellement, en utilisant Debian Sarge, eZ publish 3.7 était déjà un (mini) problème puisqu'à partir de cette version eZ publish nécessite PHP4.4 ou plus en raison principalement du changement dans la manière dont sont gérées les références alors que seule la version 4.3.10 est officiellement incluses dans Debian Sarge ce qui oblige soit à compiler PHP et tous ses modules à partir des sources soit à utiliser des backports de PHP4 .

Au final, je trouve que la décision d'eZ systems de se concentrer sur un eZ publish 3.x et 4 ultra stable en PHP4 et de préparer son successeur pour l'horizon PHP6 avec eZ plateform plutôt que de se lancer dans un portage potentiellement long et difficile est le bon choix. En tout cas c'est le choix de raison ; l'application du vieille adage : reculer pour mieux sauter.

08/09/2006 12:24 am (UTC)   Damien Pobel   View entry   Digg!  digg it!   del.icio.us  del.icio.us

eZ publish™ copyright © 1999-2005 eZ systems as