The Voices of the ElePHPant podcast has released their latest episode, an interview with Keith Casey, a developer evangelist at Twilio.Cal's "three questions" for Keith revolve around his work with REST and how it relates to the Twilio API:
What new technology do you see up and coming that will effect PHP developers the most?
What's the most important part of REST that PHP or other developers aren't getting?
What's one feature that developers don't know enough about in the Twilio API that you think they...
In this latest post to his blog Phil Sturgeon looks at how to use the Composer package management tool to install packages directly into your CodeIgniter applications.If you want to start using Composer components in your application there is no reason why you should not. The code is mainly PHP 5.3 but by slowing moving the majority of your application from framework specific code to generic packages that work in any framework you free yourself from being limited to a specific framework and will find a...
The PHP development team would like to announce the immediate
availability of PHP 5.4.3 and PHP 5.3.13. All users are encouraged
to upgrade to PHP 5.4.3 or PHP 5.3.13
The releases complete a fix for a vulnerability
in CGI-based setups (CVE-2012-2311). Note: mod_php and php-fpm are not vulnerable to this attack.
PHP 5.4.3 fixes a buffer overflow vulnerability in the
The PHP 5.3 series is not vulnerable to this issue.
For source downloads of PHP 5.4.3 and PHP...
Martin Sikora has shared some of his experience with setting up a Silex instance to work with Doctrine2 in a new post to his blog. The popular microframework comes with a built-in Doctrine service provider, so integration isn't overly difficult.Silex is great for its simplicity, however for larger projects you probably want to use some ORM like Doctrine but there's build-in service provider only for Doctrine DBAL and not ORM.He breaks it up into five smaller steps, each with code samples to help...
In this new post to his blog Shashikant Jagtap talks about a new extension for Behat (the BDD testing tool) that makes working with Mink even easier - MinkExtension.'MinkExtension' has been just released which has additional services for Behat. This extension has 'Mink' instance for your 'FeatureContext' and 'SubContext'. UI testers would be happy now, as they don't need to create Mink instance every time in order to use Mink API's.He points you to an example application you can use to follow along. He...
On the PHPClasses.org site today they've posted their latest episode of the "Lately in PHP" Podcast, "Will it ever Matter if PHP Sucks?"Once in a while we see fans of other languages writing long articles on why PHP sucks and you should not use it. But will that ever matter? That is one of the main topics discussed by Manuel Lemos and Ernani Joppert in the episode 23 of the Lately in PHP podcast, for the first time also recorded in video using Google Hangouts On Air.They also talk about some of the...
Sameer Borate has a quick tutorial posted to his site today about using PHP, specifically the IMAP functionality, to grab attachments off of emails from Gmail.Automatically extracting attachments from Gmail can be important for reasons where you need to process the attached files periodically with a CRON job. Also it can be useful for automatically archiving important attachments. Below is a simple proof-of-concept plain PHP code, devoid of any object-oriented features that extracts attachments from your...
Henri Bergius has a new post to his blog showing you how to use the popular Composer package management tool to manage dependencies in Heroku applications.While Heroku got its start from hosting Ruby on Rails applications, it nowadays supports many different environments in the Cedar stack. Node.js is what many use, but they also do support PHP. Dependency management is easy for Node.js applications as Heroku recognizes your package.json files and automatically installs the libraries needed via NPM.Until...
10 years of Xdebug and Xdebug 2.2.0 released
Tuesday, May 8th 2012, 14:00 BST
Today it has been ten years since the first release of Xdebug: version 0.7.0. I would like to celebrate this tenth anniversary with a new release: Xdebug 2.2.0. Xdebug 2.2 adds support for PHP 5.4 and provides some new features:
Colours on the command line
First of all there is now var_dump() overloading and colours on the command line. I've already written about that before, but here are the screenshots...
Latest PECL Releases:
This morning, I had a nice e-mail in my mailbox telling me I got accepted into the NorthEast PHP conference with no less than 3(!) topics! Awesome, and I would love to be part of the conference, however... the conference is organized by the community, and the way they work, there is no travel reimbursement.
Heroku is a very nice Platform-as-a-Service provider that allows you to focus on writing applications instead of managing servers. If your application code is already managed in Git, in most cases you only need to create a Heroku app setup, and then git push to deploy it on Heroku. Scaling your app is easy and there are many useful add-ons available in their "app store".
While Heroku got its start from hosting Ruby on Rails applications, it nowadays supports many different environments in the Cedar...
It's always the same issue... you write unit tests for a web-service, giving you a feeling of confidence about the correctness of your code. Then the service provider changes the response without notifying you. Suddenly your implementation doesn't work anymore, but even your continuous integration server says it's "all green".
So what happened?
Surely the fixture files you used are outdated, and since they won't get updated automatically your tests don't stand a chance to detect the change.
Wsunit to the...
The PHP development team would like to announce the immediate availability of PHP 5.4.3 and PHP 5.3.13. All users are encouraged to upgrade to PHP 5.4.3 or PHP 5.3.13The releases complete a fix for a vulnerability in CGI-based setups (CVE-2012-2311). Note: mod_php and php-fpm are not vulnerable to this attack.PHP 5.4.3 fixes a buffer overflow vulnerability in the apache_request_headers() (CVE-2012-2329). The PHP 5.3 series is not vulnerable to this issue.For source downloads of PHP 5.4.3 and PHP 5.3.13...
Ever since I remember, I have this inability to learn the most basic things, until I actually write down a couple notes or instructions somewhere. This is one of these notes blog posts - so in case it's too basic, just skip over it. Or bear with me.
ssh tunnels - useful and powerful. They can help me with all kinds of trickery - e.g. usually for remoting through a tight firewall setup to access remote resources. So point taken there are a lot of GUIs for this, but if you spend a couple minutes with the...
The phpDay/jsDay organizers have sent out a few last announcements before this year's conference happens next week, mostly dealing with some of the other happenings as a part of the event.
The final schedules for jsDay and phpDay are online:
almost around the corner, we have several important news!
Besides all of the great sessions during the day, they'll also have:
On the ZetCode.com site there's a five part tutorial posted about getting your PHP application up and running on a PostgreSQL database (updated on the 4th).This is a PHP tutorial for the PostgreSQL database. It covers the basics of PostgreSQL programming with PHP. The examples were created and tested on Linux. [...] PostgreSQL is a powerful, open source object-relational database system. It is a multi-user, multi-threaded database management system. It runs on multiple platforms including Linux, FreeBSD,...
Freek Lijten has posted the second part of his series looking at the SOLID development methodology. In this latest post his looks at the second letter in the acronym - "O" for "Open Closed Principle."Software that requires an enormous amount of changes to implement one new feature or fix a bug is unstable and should be considered as "bad". Software should be designed so, that in case of a new feature, no existing classes should have to change. In other words: it is closed for modification. Existing...
My friend Paul Reinheimer has put together an excellent product/service that is probably of use to many of you.
The product is called Natural Load Testing, and it harnesses some of the machinery that powers the also-excellent wonderproxy and its extremely useful VPN service.The gist is that once you've been granted an account (they're in private beta right now, but tell them I sent you, and if you're not a horrible person such as a spammer, scammer, or promoter of online timesuck virtual farming, you'll...
Latest PHP Tweets