Simple CRUD with MongoDB

When I meet a new technology, I like to experience it “just as it comes”. I’m happy at the command line and I like to type actual commands and see man pages before I use any wrappers or helper tools. So when I met MongoDB for the first time, I did exactly that. This post shows those first steps of creating a database, and inserting, reading, deleting and updating data.
Continue reading

API Serving JSONP

disclaimer: I am not a client-side developer, and I don’t write javascript. However I am committed to supplying useful APIs of all kinds, and JSONP falls into this category

Early in the development of the new Joind.In API, someone else started consuming the service to populate the javascript widgets they were making*. Since these scripts are intended to be used on many external pages, and they retrieve data from the joind.in API, cross-domain issues were a problem. Continue reading

Flattr-y Will Get You Everywhere

For many years, I’ve been convinced that micropayments are the way of the future. The internet has brought us so much that is freely available, but often it’s nice to show some appreciation for something someone has given us. This is true both for the open source software without which I couldn’t do my job, and for the excellent content that makes me think or guides me through a particular issue. Continue reading

My Book is Published: PHP Master

PHP Master Cover ShotI am truly delighted to announce that “my” book is published. Technically it’s really “our” book since I had the pleasure of co-authoring with friends and PHP rockstars Davey Shafik and Matt Turland. The book is “PHP Master” and it’s a broad-ranging text covering a series of topics that we felt were relevant to PHP developers who aren’t beginners, but who are looking to fill in some gaps and get a good grounding in creating whole applications in PHP.
Continue reading

Announcing Training Dates for November

I’m teaching some new public courses next month (in Leeds), so I thought I’d mention them on the blog in case anyone is interested. I’m super-excited because this is the first time I’ve delivered my own training content as a public course, so even if you aren’t in the position where you work with lots of people who need the same training, you can pop along! Continue reading

Ada Lovlace Day: Laura Thomson

Happy Ada Lovelace Day! Today we celebrate geeky female role models, and I’m going to write about someone I consider a friend. It feels a bit strange to do so (and I didn’t actually tell her beforehand), however having been written about before on this special day, I know I’ve never been offended by such flattery and so I hope she won’t be either :)
Continue reading