Archive for July 21st, 2006

Brainbench.com: Free PHP5 Certification Exam

Over on Brainbench.com, there’s a new free certification they’re offering for those out there looking to flex their PHP5 skills.

Our PHP 5 test measures your knowledge of scripting in PHP Hypertext Preprocessor 5. Designed for experienced programmers, this test covers the following topics: Communication Functions, Databases, General Functions, HTML, Language Functions, Language Structure, Object Oriented PHP.

The test covers topics such as the communications functions, language functions, object oriented concepts, database programming, and the language structure. You can take the test here.

Continue Reading · Add comment

php|architect: The Magic __set_state Method

On php|architect’s A/R/T article repository today, there’s this new tutorial centered around the use of the “magic” method __set_state in PHP5.

It is fairly self-evident how to use most of the magic methods of PHP 5. However, it is not quite so apparent how to use the __set_state method introduced in PHP 5.1. In this article, Peter lavin delves into this elusive magic method to show you how to use this gem in some really ‘classy’ object oriented PHP.

The author (Peter Lavin) talks first about what magic methods are and, specifically, what the __set_state method can do. He gives an example, comparing a normal usage of var_export to functionality using __set_state.

Continue Reading · Add comment

Tobias Schlitt’s Blog: The road to eZ platform

As is mentioned in this new post from Tobias Schlitt, the eZ systems folks are working toward something called “eZ platform”. They’ve even poublished an article about it to map out their plans.

This article presents an overview of the architecture and development process of the eZ platform, the PHP application platform by eZ systems. The eZ platform will be an Enterprise Open Source software suite based on PHP 6, consisting of a flexible group of expandable building blocks that can be used to create a wide range of powerful enterprise applications for the internet.

This document summarizes the results of meetings and discussions among the core development team at eZ systems during April and May of 2006.

They talk about the goals for the platform, the architecture of it all, their development plan behind it, and the two phases of development:

  • Phase I: eZ application server
  • Phase II: Functionality plugins

Of course, there will be software requirements for the resulting utility, and they are always happen to get more people involved with the project.

Continue Reading · Add comment

Edin.dk: PHP 4.4 for windows with newer MySQL libraries

If you’re caught using PHP4 on Windows and have been seeing some issues with the older MySQL libraries you’ve been using lately, it might be time to upgrade. “But I can’t move away from PHP4,” you say. No worries - this new post from Edin Kadribaaic should have the answer you’re looking for.

Since the main PHP 4 distribution cannot be updated with the latest MySQL libs for various reasons, I will provide downloads of the latest PHP 4 with the latest MySQL libs.

His archive contains two files, both DLLs to replace the MySQL libraries that already exist.

Continue Reading · Add comment

php|architect: Five Top PHP Mistakes

New to the A/R/T article repository from php|architect today is this look at the “Top Five PHP Mistakes” from Marco Tabini.

These topics have been beaten to death, and will likely continue to be beaten well after their bones have turned to dust. However, I have never had the opportunity to explore some aspects of PHP that obviously are mistakes-not just to understand their origin, but to analyze their impact on PHP and the way they have been dealt with.

His list of mistakes is:

  • Objects in PHP 4
  • Function Naming Consistency
  • Safe Mode and Magic Quotes
  • Register Globals
  • Lack of Unicode Support

Under each he explains them, noting why they are important enough to mention is the list. He does, however, end on a bit lighter note - the PHP, for all its problems and woes, is just like any other laugnage out there. It has its problems, but its learned from them and, as Marco puts it “has grown because of them”.

Continue Reading · Add comment