Back to Library
Cover of Vol 6, Issue 6

php[architect]

Vol 6, Issue 6

June 2007

Articles
6

Test Pattern: Writing Maintainable PHP Code

by Jeff Moore

Writing maintainable code means writing understandable code—and testable code. Jeff Moore takes a closer look at the paybacks and costs of maintainability.

Security Corner: Email Injection Vulnerabilities

by Stefan Esser

Well-known PHP security expert Stefan Esser explains precisely which in-depth defense strategies you should use to prevent email injection attacks—and why.

Printing from PHP

by Timothy Boronczyk

Every day, somebody somewhere discovers that they need to print out reports or invoices generated by PHP. There isn't a lot of documentation out there when it comes to printing directly from PHP under Windows; here, Timothy Boronczyk fills the gap.

Apache Error Documents with PHP

by Mac Newbold

Combining the Apache custom error document feature with PHP gives almost unlimited possibilities for the handling of errors. There are times when intentionally triggering an HTTP 404 response can provide an elegant solution to a problem. In this article, Mac Newbold explores the possibilities: simple virtual URLs, auto-search and dynamic database-driven virtual pages.

An introduction to r3

by Matt Zandstra

We all know the importance of using composition and inheritance to squash duplication in the code portions of our projects. As a project grows, though, exactly the same pitfalls await your templates. r3 is a Yahoo! command line tool designed to help you manage templates and translations across many locales, versions, or brands. How? Matt Zandstra shows us the way.

Flexing PHP

by Jeof Oyster

Everybody's talking about Adobe Flex these days. Thanks to the Eclipse-based IDE in Flex 2, it's reached the Mac OS X and Windows communities as well as the hard-core Linux fans. As a long-standing early adopter of new technologies, Jeof Oyster couldn't wait to try it and find out for himself what all the fuss was about—and what it might mean to PHP developers.

Our Partners

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

Interested in partnering? Get in touch →