It's that time of year again, time for an "Ideas of March" post (you can read more about this initiative on Chris Shiflett's blog). Most years many bloggers pledge to write more often, start or restart their blogs, and generally embrace the idea that some thoughts are worth more than 140 characters. Chris himself wrote this year about the demise of google reader, and about blogging as a way of curating and retaining ownership of your ideas, which I thought was an excellent point to make. Continue reading
I'm a huge fan of Phing and use it regularly for build and deployment tasks. Often, I'll ask about a plugin that I wish existed, and get a very courteous "patches welcome" from the nice people in the #phing channel on freenode. This has happened a few times, so I thought I should probably look at how to make a new phing plugin, this article shows you how to make the simplest thing I could think of: a simple "hello world" plugin. Continue reading
There's a new version of XHGui (well, a few months old) and it's fabulous! It's got a few new dependencies though so I thought I'd write down how I set up my version, in case it's helpful to anyone else (and so I feel like a pro next time I have to do this!). If you're not familiar with XHGui it's a fabulously easy and friendly way to profile your application; to understand which method calls in a page take the time and how many times they are made, so you can improve the performance of your application. All these instructions are for my 32-bit Ubuntu 12.10 system, hopefully they will work for you or you'll be able to adapt them as appropriate.
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)
I upgraded PHP and related pecl modules on my development machine today, and ran into a problem with Gearman. Actually I ran into more than one! Firstly the challenge of getting the newest pecl version working with a gearman version. Then an error where my existing PHP application couldn't connect to gearman after upgrade.
If you're interested in becoming a Zend Certified Engineer and are local enough to make it to the next PHP North West User Group meeting on Tuesday, 5th March in Manchester (UK), then come along! I'll be giving a talk and welcoming questions and discussion around becoming ZCE, why you might bother, what is involved, some tips for the exam itself, and pointers to resources to help you (yes the slides will be online afterwards, check the "resources" section on my site on Wednesday ish).
The details are on the Upcoming page for the event, see you on Tuesday 5th!
This is the 800th published post on lornajane.net. It's my personal blog and I started it in early 2006, when I moved to a new city with no job. I think I got the blogging bug just because I had nobody else to talk to at the time! Over the years the blog has recorded recipes, craft projects, the story of buying and refurbishing the house (a decision that a previous employer described as "brave") - and of course the vast swathes of technical snippets that are the regular content you see here.
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.
One of the biggest dangers in this industry is getting left behind as the tools evolve very quickly. For me, working alone or as the most senior person on a project in most cases, this becomes doubly hard as there's nobody in my office to show me a new trick or share an idea that he or she learned in a previous job. So how do I deal with this?
I take "study days".
I don't mean learning to talk, I mean learning to address an audience, coherently and without dying of fright (actually I think I have clinically proven that it isn't possible to actually stop living as a result of fright). There are a couple of things that I'm involved with that may help you, if you're looking to improve your successes in this area.
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.
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
While working on a book ("PHP Web Services" from O'Reilly, not out yet but soon!) recently, I was looking for some place I could make HTTP requests to, to show off how to make different kinds of requests with different tools. On my own machine, I have a couple of scripts that chatter back giving debug information about the requests that were made, but I wanted to get the tools examples going without any additional dependencies at all. I hadn't used anything like these tools before, but I found quite a few alternatives, so I thought I'd share what I came up with. Continue reading