Archive for August 31st, 2006

Implementing with PHP: Standalone Scripts

If you ve ever been interested in making significant use of PHP outside of a web environment this article will show you how. The first of three parts it is excerpted from chapter five of the book em Advanced PHP Programming em written by George Schlossnagle Sams ISBN 672325616 ….

(Advertisement) Rackspace-Managed Servers, Fanatical Support™ Full-Scale Microsoft & Linux Solutions & 0% Network Downtime! Click here now!

Continue Reading · Add comment

DevShed: Implementing with PHP: Standalone Scripts

DevShed has posted an excerpt from the book “Advanced PHP Programming” from George Schlossnagle as this new tutorial detailing the creation of standalone PHP scripts.

If you’ve ever been interested in making significant use of PHP outside of a web environment, this article will show you how. The first of three parts.

This chapter describes how to reuse existing code libraries to perform administrative tasks in PHP and how to write standalone and one-liner scripts. It gives a couple extremely paradigm-breaking projects that put PHP to use outside the Web environment.

In this first part, they groundwork is laid - they introduce the CLI interface PHP already has and show how to handle input/output and work with parsing the command line arguments passed in.

Continue Reading · Add comment

International PHP Magazine: Poll Question: What is the Top Criterion for Scaling PHP?

The International PHP Magazine has posted the results of the question asked in their latest poll - “What is the Top Criterion for Scaling PHP?”

Of the six options they provided:

  • Object code caching
  • Template systems
  • Distributed object-caching systems
  • PHP variables that can be set
  • Output Compression
  • Other things that may help

one stood out as a clear winner - “Object code caching”. Bringing up second place was “Distributed object-caching systems” and the other options coming in pretty close behind.

Be sure to cast your vote for their latest poll question - “Which is the Most Common Database Problem?”

Continue Reading · Add comment

William Candillon’s Blog: phpAspect presented at the EPFL

William Candillon has has posted about the project he was working on for the Google Summer of Code - phpAspect - and a talk he was invited to do on it.

Last week I was invited by Christelle Vangenot to talk about phpAspect and some of the new features I developed during the Google Summer of code.

If you’d like to check out the slides presented at the talk, check out this PDF.

Continue Reading · Add comment

Nefarious Designs: Object-Oriented PHP Part 4: PHP5’s Improved Features

Nefarious Designs continues their object-oriented PHP series with part four posted today, a look at some of the new features that PHP5 brings to the table.

After a welcome break, over the late summer public holiday here in England, here’s the final part in my object-oriented PHP series. Sorry about the rather extended pause since “Part 3: Taking Relationships Further“.

Having already looked at definition, relationships and taking those relationships further, I’m going to look at how PHP5’s new Object Model introduces more advanced functionality.

In this latest part they look at clas constants, abstract classes, object interfaces, and magic methods (including overloading).

Continue Reading · Add comment