Author Archives:
Zend Webinar on PHP 5.4: 19th February
See you there!
Five Clues That Your API isn’t RESTful
It has a single endpoint
I don’t really care what else is going on in your API, any “RESTful” API which has a statement such as “all requests are made to http://example.com/rest” is … not RESTful. REST is all about handling representations of resources, each is represented by its own URI and we operate directly on that. If it looks like “pretty URLs”, then it’s probably along the right lines. Continue reading
PHP 5.4 Timezone Error Message on Ubuntu
It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier.
These have been warnings in earlier versions of PHP, but as of PHP 5.4, the date.timezone
ini setting must be set correctly, using the continent and place – for me that’s “Europe/London”, like this:
date.timezone = "Europe/London"
If you see these errors, don’t panic, just add the line above to your php.ini.
PHP at FOSDEM 2013
How NOT to Design Your API
[blackbirdpie id=”289014953954930688″]
In the raft of responses (and thankyou all, this was fabulous, helpful and entertaining in equal parts!), there were some definite patterns that I’d like to share with you, in no particular order. Continue reading
Random Colours with the Blink(1)
You’re Not Using Source Control? Read This!
The document goes on to talk about the available tools (git, Hg, SVN) and give a sales pitch for _why_ source control has benefits for an organisation. There are also some action points to follow to implement source control if you haven’t already taken the leap, which I hope will help anyone looking to take that step – it’s kind of awkward in this day and age to admit that your organisation doesn’t have source control, but however this situation arose, hopefully this document wraps up my thoughts on how to find a good way out! Continue reading
Become a ZCE in 2013
Edit: Pack now available from https://leanpub.com/zce
Continue reading