Back to Library
Cover of Vol 7, Issue 1

php[architect]

Vol 7, Issue 1

January 2008

Articles
7

PHAR: PHP Archive Files

by Gregory Beaver

Phar is to PHP as jar is to Java. A phar—a PHp ARchive—is a single file that contains multiple files, each of which can be accessed as if it were a regular file using filesystem functions within PHP, such as ''fopen()''. In this article, lead developer Gregory Beaver explores the range of possibility that lies within a phar archive.

The Doctrine Framework

by Nicolas Bérard-Nault

The inclusion of full support for the object oriented paradigm in PHP has revolutionized the way we solve problems when using the language. That said, the increased usage of objects in PHP applications poses a tough problem: database management systems can only store scalar data. Doctrine offers some clever solutions.

Webmail 2.0: Introducing RoundCube

by Till Klampäckel

Who needs yet another IMAP webmail application written in PHP? Take a closer look at RoundCube; you may find that you do.

Killing the For Loop

by Paul Chandler

Looping is something that most programmers have learned to take for granted. Everybody knows how to do it, and no one thinks about the process in much detail. In this article, Paul examines what it takes to replace for(;;) with iterator-powered counted loops and gives some examples of the potential benefits of this approach.

/etc: Web Development Contracts

Column

by Hunter Jensen

Contract work can be very rewarding (both personally and financially), but comes with a lot of strings and risks that not all developers fully realize. Hunter gives you the scoop.

Test Pattern: Modelling Dependencies

Column

by Jeff Moore

In this month's column, Jeff Moore takes a look at networks of dependencies and the methods that can be used to organize them into layers.

exit(0): Coding Used To Be So Much Fun

Column

by Sean Coates

Sean reminisces on how writing code has evolved over the years—from the days when he did it for fun to when he became a pro.

Our Partners

Collaborating with industry leaders to bring you the best PHP resources and expertise

Interested in partnering? Get in touch →