Web Development Archive

Implementing the ArrayAccess Interface

This is the second part of an occasional series looking at practical uses for the PHP SPL and predefined interfaces. The first post in the series looked at implementing the Countable interface, this one will examine the ArrayAccess interface. What is the ArrayAccess Interface? ArrayAccess allows you to treat an object that...
Read More

Using the Countable Interface

PHP provides a number of predefined interfaces and classes that can really make your life as a developer easier but which are often overlooked. The functionality offered by the Standard PHP Library (SPL) and the predefined interfaces is extremely cool and very powerful but very underutilised. I've found myself reaching more and more...
Read More

Using SalesNet Web Services from PHP

I've been working on some projects recently where I've had to make heavy use of the SalesNet CRM API. I've written some code that makes basic access of the API easier and I thought I would write about it a little here. The SalesNet API is vast in scope (the...
Read More

Zend_Form and Validating Values for Multiple Column DB Keys

I've recently started developing my first project fully in Zend Framework and I've been loving it so far. There are so many components in the framework that make a developers life easier, among which is the combination of Zend_Filter, Zend_Validate and Zend_Form. I love how easy it is to create...
Read More

Guelph PHP Users Group

Colin DeCarlo and I have been working on a PHP users group for South Western Ontario for a while and we're pleased to announce the first meeting of the Guelph PHP Users Group. The group will be meeting on the last Wednesday of every month, starting on September 28th, at...
Read More

Easy File Encryption

I've read in two different books that the streams extension of PHP is one of the most useful but least utilised parts of the language. I've always paid lip service to that idea but something I saw the other day really bought this home to me and I thought I'd...
Read More

Ideas of March

I've been a little lax about my blogging recently but reading Chris Shiflett's Ideas of March post yesterday reminded me of why I think it's important and why I do it. If you haven't read it Chris' post calls for a blog revival as he feels that blogging has become...
Read More

ConFoo Round-Up

I've just got home from attending the ConFoo conference in Montreal and I thought I'd write up a few of my thoughts about the conference. All of the talks I heard were good but some stood out more than others for me. I'll discuss each day in turn along with...
Read More

Conference Time

I've been pretty bad about blogging in the last few months, something I hope to rectify over the next few months. A combination of a heavy workload, learning to drive (finally!), buying a house and a big freelance project has taken all of my time. I have a few things...
Read More

Some More PDO Weirdness

I've said before that I'm a great fan of PDO and use it wherever possible. That said there are some annoying quirks in it, one of which I encountered today. I'll outline what I was trying to do, what I expected to happen and what actually happened. I'm also curious...
Read More