php[architect] logo

Want to check out an issue? Sign up to receive a special offer.

php|architect — June 2010

Get this month’s code package: June 2010 Code package

Implementing Amazon

Amazon offers access to its vast database of items, reviews and prices through a web service. This article explores how to write an application that lets shoppers search for items they are interested in and buy them through your website.–by Lars Kotthoff

The Manual at Your Finger Tips

Ever forgotten the argument order for a function? How the ”sprintf()” padding specifiers work? Needing to break out of your editor to look it up in the manual is annoying, but is there an alternative?–by Hannes Magnusson

Correcting Search Queries

Internet users type faster every day, and that comes with some downsides too. When typing faster, there is more room for mistakes, such as typos. The goal of this article is to find a way to suggest corrections to users with little overhead on your system.–by Koen van Urk

Integration Testing with phpRack Framework

Unit tests plus continuous integration give you a guarantee that most of your source code defects will be caught before they reach end users. Unit tests verify the code beforehand and a continuous integration server informs you if a defect is found, prior to deployment. It’s a proven mechanism used by many teams striving for quality, but who can guarantee that if a defect is found after deployment, it is reported immediately before disappointed end users find it? Integration tests can achieve this.–by Yegor Bugayenko

An Introduction to NoSQL and CouchDB

This article is an introduction to what NoSQL is and the different approaches used, followed by a description of schema-less document database structure, then moving onwards to a description of the CouchDB document structure and an in-depth example which will show you how to store documents and retrieve them.–by David Coallier

JavaScript Corner: Displaying Images Using JavaScript

There’s nothing that requires you to use JavaScript to display images, but you can do much more with the images if you do. This article will show you how to display a set of images on a page, along with thumbnails. The initial page will show the images in their ‘middle’ size, and the thumbnails will be the ‘small’ size. When the user clicks one of the thumbnails, the ‘medium’ image will be shown instead. When the user clicks the ‘medium’ size image, a dialog will be shown with the ‘large’ images, still using thumbnails from the ‘small’ size.
–by Christian Tiberg

Drupal Corner: The Most Important Rule in Site Architecture with Drupal

In the previous columns, I have introduced you to various module packages that will make your life easier with Drupal. I have yet to come across a Drupal project, though, that does not require at least some module development. I want to devote some columns to cover the art and science of crafting modules for Adrian Webb

Security Corner: Out of the Office

Even something as simple as an out-of-office reply message can mean a security breach for your systems. Don’t let your security sense go on holiday just because you Arne Blankerts

exit(0): Mobile Lies the Head that Wears a Web Developer’s Crown

Web developers have forever battled against inconsistencies created by bickering corporations. Will the mobile movement finally bring peace?by Marco Tabini
Download this column for free: PHPA June 10 – exit(0)

Responses and Pingbacks

[…] email to customers of php|architect announcing a contest just for them. Participants had to look at last month’s cover and name the 9 websites represented on the visible cards. We want to thank everyone who played, we […]

Leave a comment

Use the form below to leave a comment: