Author Archives:
Installing XHGui
Dependencies
XHGui needs version numbers or fluffy animal names, because this is a really major release and quite different to what went before in both technology and in looks. In particular, it now uses MongoDB. If you’re not familiar with MongoDB, it’s a super-friendly NoSQL database that makes a really handy backend for this kind of unstructured data – because every run of every page will look different. Therefore you will need:
- MongoDB itself
- The pecl extension for mongo
- The xhprof pecl extension (
read on if you’re using PHP 5.4, there’s a gotcha)
PHP and Gearman: Unable to connect after upgrade
Continue reading
Talking about ZCE at PHPNW March
The details are on the Upcoming page for the event, see you on Tuesday 5th!
How To Write 800 Blog Posts
Continue reading
New Book: PHP Web Services

I’m delighted to announce that my new book “PHP Web Services” is now available as an early release! This is a project that I’ve been working hard on for the last few months, trying to put my extensive and hard-won experience of working with APIs into words and examples to make it easy for others to get up to speed in this area.
Study Days: Keeping on Top of the New Shiny
I take “study days”.
Continue reading
Learning to Speak
DayCamp4Developers
This is a virtual conference, held a few times each year. I’ve spoken at some of the previous events and been really impressed by how smoothly something quite intangible can run! The next event is on Friday 22nd March and is about public speaking – but aimed specifically at developers. If you want to speak at a user group or conference, or be able to get through presentations at work without stress, then this session will give you some good pointers. The speakers are three excellent conference presenters – and me :) I love this format, what else are you doing on a Friday (especially for Europe, where this doesn’t start until our afternoon)? You can register and find out more about the event here http://daycamp4developers.com/. Did I mention that tickets are $40? You can also sign up to get the recordings if the date/time doesn’t work out for you.
WeAreAllAweso.me
There’s been lots of fuss lately about women speakers at conferences, or the lack of them. The low percentage of women in technology and a missing tendency to put ourselves forward for things means that this isn’t going to change any time soon. However if you’ve been thinking about speaking, then you should know about an online group WeAreAllAwesome which is a meeting point for women speakers to brainstorm ideas for topics, put abstracts together, and share experiences on how to give a good talk. Our office hours are 6-7pm UK time on Tuesdays, and I’m one of the mentors in that project, so if you might speak or just want to join in chatter with women who do, then you know where to find us :) Continue reading
Endpoints for HTTP Testing
Printing PDF Bookmarks List
I used a tool called pdftk which is excellent, I’ve used it before for doing various other PDF-related things. To grab metadata such as bookmarks, use the dump-data command, like this:
pdftk myfile.pdf dump_data | grep BookmarkTitle > outline.txt
The above line takes all the bookmarks from the PDF (this was a slide deck created using powerdot and LaTeX, the section and slide titles nest appropriately), and outputs a bunch of information about the document and the various PDFs. The grep
command just gets the lines containing “BookmarkTitle”, then the whole thing gets written to a file. I cleaned that up and now I have the outline of my course, so I can add timings, notes for the exercises and so on.