Archive for December 12th, 2006

DevShed: Introduction to Creating Command Objects with PHP 5

DevShed starts off a new series today in this first part of the series looking at the creation of and working with command objects in PHP5.

In this article, the first part of a series, you’ll learn the basics of applying the command pattern with PHP 5. As always, plenty of hands-on examples are included.

A command class involves having a commander and the implementers that work together to do things like (what they illustrate) manipulating strings. They create the commander class and give a simple example of a subclass that implements it. They create a few more and tie them all into a master class to work together. Finally, they give an illustration of the code in action - uppercasing a string and inverting it to read backwards, then output.

Continue Reading · Add comment

International PHP Magazine: December 2006 Issue Released

The latest edition (December 2006 issue) of the International PHP Magazine has been released today.

Topics covered in this month’s edition include:

  • Graeme Johnson and Zoe Slattery - “PHP - A Language Implementer’s Perspective
  • Elizabeth Naramore’s “Freelancers Corner”
  • Matthew Peters’ look at the application Component Architecture (SCA) in PHP
  • Arjen Lentz’s look at Open Source solutions to more IT problems.

You can check out the full table of contents for the issue on their site or you can go over and download a full copy of your very own.

Continue Reading · Add comment

Marco Tabini’s Blog: 5 PHP Performance Tips You Probably Don’t Want To Hear

In a new entry on his blog today, Marco Tabini introduces us to 5 PHP Performance Tips that we “probably don’t want to hear”.

I thought it might be interesting to write an article about the performance-enhancing tips you probably don’t want to hear about - that is, those that are most likely to produce measurable (and durable) results but do require some effort on your part.

His list consists of:

  • You Don’t Need To Plan Ahead In Order To Have A Plan
  • Combat Database Abuse
  • Do You Really Need A Database Anyway?
  • Scale Horizontally
  • Refactor To Scale Vertically

For each, he explains the title and gives a bit of validation to the point. There’s some great mentions of tools that you can use to help accomplish them too - a profiler, the Lucene and Xapian full-text databases, and Lustre.

Continue Reading · Add comment

Introduction to Creating Command Objects with PHP 5

In this article the first part of a series you ll learn the basics of applying the command pattern with PHP 5. As always plenty of hands-on examples are included….

New SAP NetWeaver J2EE Preview! Try the new SAP NetWeaver J2EE preview. Download this exclusive development kit now!

Continue Reading · Add comment

Zend Developer Zone: Zend Framework Code Freeze (0.6.0 is Coming)

There’s some great news from the Zend Developer Zone today - an announcement about the code freeze that’s happened for the latest version of the Zend Framework:

We are in the final week of development for Zend Framework Preview Release 0.6.0! We are on schedule to call a code-freeze on Friday December 15. […] The code-freeze for 0.6.0 should be lifted by Monday December 18.

Some of the improvements in the upcoming version include a more mature MVC environment, architecture changes to several modules, new components, and much more. Be sure to keep an eye on the Framework’s website and here for an update when the new Preview Release has been posted.

Continue Reading · Add comment