Almost without thinking about it, we use a variety of Design Patterns every day. As much as some make our lives easier and our code better, some haunt us in our dreams, and make us dread the morning.
In this new post to the QaFoo blog, there's a reminder about the the Call for Papers for this year's FrOSCon being open, including the need for proposals for the PHP@FrOSCon room.Yes, it's that time of the year again, where the call for papers for PHP@FrOSCon takes place. As in the past 5 instances of this amazing event, the PHP Usergroup Dortmund - in cooperation with other user groups e.g. from Cologne - will organize the PHP@FrOSCon project room with a dedicated session program. And it's time to...
Juozas Kaziukenas has suggested an alternative to the usual "how to set up a web server" tutorials and methods for developer environment. He suggests that maybe virtual machine images are the way to go.There are millions of articles on how to setup LAMP setup on your own machine to allow developing websites locally. I think this is a wrong approach as running server programs in one's computer creates a lot of potential problems. Better approach for this would be to use Virtual Machines as they allow...
Lorna Mitchell has posted about an API release she's made for the Joind.in website today - the first stages of a completely reworked version of the site's API.Following the principle of "release early, release often", I put live a very early version of the v2 API for joind.in today (so that I can use it in another project!). I haven't updated the documentation yet but in case anyone was thinking of consuming data from joind.in, this at least gives you an idea of the direction of the project so I thought...
While Andrey is busy implementing partitioned replication infrastructure code for the PHP replication and load balancing plugin (PECL/mysqlnd_ms), I continued my search for ideas to steal. Mr. Robert Hodges, I've robbed the idea of a service level and caching.. If an application is able to function with stale data read from a MySQL replication slave, it can also deal with stale data from a local cache. The replication plugin (PECL/mysqlnd_ms) could, in certain cases, populate the query cache plugin...
The Voices of the ElePHPant podcast has posted their latest episode - an interview with Ligaya Turmelle, one of the members of the PHP Women group.In this episode Cal asks Lig three questions about the PHP Women group:
What prompted you and the other organizers to start the PHP Women group?
If PHP Women is in technologies, why do you let guys participate in the community?
How do you recruit mentors for the Big Sis/Little Sis mentor program?
You can either listen to the episode via the in-page player or...
On NetTuts.com there's a new tutorial showing you how to deploy your WordPress blog to the cloud, more specifically to the cloud services Amazon offers.For the last decade, hosting a large scale web application has been a daunting task, reserved only for experts. Not anymore; when Amazon opened its server architecture, everything changed. Computer hardware moved to the cloud, and became available to any and all developers. In this tutorial, we will install WordPress in the cloud.They walk you through all...
On the test.ical.ly blog there's a series of posts with Christian's "live blogging" from the phpDay event that just wrapped up in Verona, Italy:In the first post he talks about the workshops for the first day from Sebastian Bergmann, Fabien Potencier or Paul Borgermans. He ended up attending Fabien's workshop and a talk on document conversion from Kore Nordmann and Tobias Schlitt.In parts two and three he mentions other sessions he attended with topics ranging from Hadoop, Varnish, Git and testable...
This weekend, after Falsy Values, I will be flying to San Francisco for a couple of weeks. There are some conferences:
MeeGo Conference, May 23-25
Aloha Editor dev con, June 6-8
However, as there is quite some time between these two events, it would be interesting to meet cool people and/or projects. So if you're in the area, drop me a note.
On Script-Tutorials.com today there's a new tutorial showing you how to use one of the more under-used and powerful features of recent PHP releases - the phar packaging for creating self-contained archives.I guess you noticed that due your project become larger - the more and more files it contain. Sometimes it comes to the thousands of files. And then - Phar can help you. This utility allows us to pack a variety of files in the single library file. Thus, we can significantly reduce the number of include...
Latest PECL Releases:
Following the principle of "release early, release often", I put live a very early version of the v2 API for joind.in today (so that I can use it in another project!). I haven't updated the documentation yet but in case anyone was thinking of consuming data from joind.in, this at least gives you an idea of the direction of the project so I thought I'd share.
Things you need to know:
The service is an HTTP Web Service. Meaning it's RESTful apart from when it isn't
The endpoint is here:...
When creating Symfony 1.4 CLI tasks, I stumbled upon an error message:
The "default" context does not exist.
After searching some old forums, I found a solution. Before you access any Doctrine class, you mus first bootstrap your context correctly. Here is an example:
$config = ProjectConfiguration::getApplicationConfiguration('frontend', 'dev', false);
The application name and the environment can come from CLI options. More on Doctrine tasks (I could only find 1.2...
One of my friends, Shawn Stratton, has just released an interesting blog post, positing a solution to a problem all developers doing object oriented programming in PHP will eventually run into. (No, not THAT one, the other one) Shawn not only presents the problem but an interesting solution. I'm not going to tell you what the problem is here though. If you can't guess from the title, you'll have to click inside to find out more and a link.
On the XpertDeveloper.com site there's a new post reminding you of an date could cause all sorts of problems with your PHP application - the effects of the Y2K38 bug.Y2K38, or the Unix Millennium Bug, affects PHP and many other languages and systems which use a signed 32-bit integer to signify dates as the number of seconds since 00:00:00 UTC on 1 January 1970. The furthest date which can be stored is 03:14:07 UTC on 19 January 2038. Beyond that, the left-most bit is set and the integer becomes a...
Latest PEAR Releases:
Yes, it's that time of the year again, where the call for papers for PHP@FrOSCon takes place. As in the past 5 instances of this amazing event, the PHP Usergroup Dortmund - in cooperation with other user groups e.g. from Cologne - will organize the PHP@FrOSCon project room with a dedicated session program. And it's time to propose your talks for this now, since the CFP will end on May 23rd.
I'm off to Amsterdam to talk at the Dutch PHP Conference. After that it's on to Chicago for php|tek.
See you there!
Brian Swan has posted a book review of Jason Gilmore's book "Easy PHP Websites with the Zend Framework".I had been itching to dive into the Zend Framework, so I jumped at the opportunity. It has taken me a while to get around to reviewing it, but I'm glad I did. Jason's writing style makes challenging concepts easy to learn and his focus on good development practices are sure to inspire you to become a better developer. Here's more detail on what I thought after reading the book...He talks about the...