Archive for March 26th, 2007

Zend Developer Zone: Zend Framework Beta 0.9.1 Released

As per this post on the Zend Developer Zone today, the Zend Framework team has released another Beta to bring them closer to that stable release they’re headed for - Beta 0.9.1.

This is an update to the Zend Framework Beta Release. This gives users and evaluators the most recent updates to code and documentation.

This was the plan, to refresh the Beta Release at least once or twice while we fix bugs and make the product more stable. We’re moving steadily toward release 1.0. There will be at least one more Beta Release, scheduled about April 6.

Great to see them still on course for the April release - check out the Changelog for this latest release to see the improvements. Or, as always, head over to framework.zend.com to download the latest.

Continue Reading · Add comment

php|architect: March 2007 Issue Released

The latest issue of php|architect magazine has been released today - the March 2007 edition. Articles in this month’s issue include:

  • A look at Pluggable Authentication Modules by Mikael Johansson
  • Jonathan Stark’s review of FileMaker for PHP Developers: Part 2
  • a look at the Active Record pattern in PHP from Dirk Merkel
  • and the two usual columns from Ilia Alshanetsky (Security Corner) and Jeff Moore (Test Pattern).

Check out the details on these and the rest of the great articles in the issue here where you can also buy either just a copy of this issue or subscribe and get a full year of PHP goodness from php|architect.

Continue Reading · Add comment

John Walsh’s Blog: PHP Benchmark - For vs While

John Walsh filled us in on a new set of benchmarks he worked up comparing two of the standard looping structures in PHP - for versus while.

People always ask me what statement is faster, so I’ve gone ahead and created a benchmark test using Apache’s AB Benchmarking tool. There’s no reason not to use For either, you can use it with any while statement but While in some cases mean’s less lines, but i prefer speed than less lines of code.

He created some simple scripts to perform the tests and ran them through the AB benchmarker to come up with his results - with while just barely edging out the for loop by one millisecond.

Continue Reading · Add comment

Zend Developer Zone: PHP Security Tip #16 (Keep Frameworks Up-to-Date)

The Zend Developer Zone has their latest security tip posted for all of you eagerly awaiting more words of wisdom. This time, it’s on a topic near and dear to Zend’s heart - keeping your framework up to date.

Make sure any framework you are using is updated regularly. This is especially important if you are working on a ‘one-shot’ client project. It is important to think about who is going to maintain the site if (or rather: when) a security patch is issued for any of the 3rd party files.

Using frameworks is generally a good idea — not only because they take a lot of the work away from you, but also because any potential security issue will (usually) quickly be dealt with.

Cal also talks about the other side of the coin - that the openness a framework can have can allow for would-be attackers to find the holes and issues in your site much easier.

Continue Reading · Add comment

DevShed: Processing File Data with Template Classes in PHP 5

With this new tutorial posted today, DevShed polishes off yet another of their design patterns series - their look at using the Templating pattern in PHP5.

Over the course of this last tutorial I’m going to provide you with a few more examples of how to build template classes with PHP 5. More specifically speaking, what you’re going to learn here will be how to create a set of template objects that will control the visual appearance of data fetched from different files.

They work from the group up, starting over with the creation of the base file handling class and working their way up to the templating class. Attach a few subclasses (to generate each of the data blocks needed) and check it out in action. Their example pulls in the template, parses through it and assigns the information to the subclass functions to output different formats of the data - plain text, HTML, and XML.

Continue Reading · Add comment