Lorna Jane Mitchell - whom I won't even pretend to introduce to you because everybody knows Lorna - recently posted a solution to a nagging problem she has been having with PHP, Zend Framework and Gearman.
On the Zend Developer Zone, Kevin has posted the latest episode of their ZendCon Sessions podcast series - Ilia Alshanetsky's talk about memcached.Welcome to the ZendCon 2010 edition of the ZendCon Sessions. The ZendCon Sessions are live recordings of sessions that have been given at previous Zend Conferences. Combined with the slides, they can be the next best thing to having attended the conference itself. [...] This episode of The ZendCon Sessions was recorded live at ZendCon 2010 in Santa Clara, CA...
Dave Gardner has put together a post about some work he did with the Joind.in API (an event feedback site) to apply collective intelligence to the results of the PHP UK Conference.The term "collective intelligence" refers to intelligence that emerges from the collaboration of a group. In this case, we can leverage the data within joind.in and make "intelligent" recommendations. This post looks at building a simple recommendation engine using the data from joind.in. You can download the entire source code...
On DZone.com there's a recent article from Giorgio Sironi about the SOLID set of principles for software development (more on those here) and how some related principles can be applied to namespaced code in PHP.While studying for the advanced software engineering exam at PoliMi, I discovered there is also a set of principles akin to SOLID for the design of packages, and not only of classes and interfaces. Uncle Bob published them after the SOLID series. Note that package here can be intended as a zip or...
Last week I wrote about all the reasons that recruiters are bad for your career. For a variety of reasons I highlighted the reasons job seekers should avoid enlisting the services of recruiters that solicit them, and the traps that recruiters employ to disadvantage job seekers while improving their odds of collecting a commission. On [...]
In his newly updated blog today (changed to WordPress) Kevin Schroeder has a new post looking at a new queuing library available for Zend Server's Job Queue including an example of its use.This will probably be one of the last posts I do on the Zend Server Job Queue functionality. From this point on they will probably be less frequent, though I'm sure several posts will allude to it. The reason I'm going to put it on the back burner is because I have written a library which is now available on GitHub....
The CodeIgniter Podcast has (finally) released the next episode of their series - episode #5 where two Reactor Engineers (John Crepezzi and Kenny Katzgaru) talk about the project and some interesting recent additions.Reposted from oconf.org, Reactor Engineers John Crepezzi and Kenny Katzgrau talk about their plans for CodeIgniter Reactor and talk about the idea of "sparks".The sparks are self-contained, easy to install packages that bring additional functionality to the CodeIgniter core set of tools. You...
Measuring from the first Subversion commit, Solar was 6 years old on 14 Feb 2011. The project has come a long way since then, and has evolved from a collection of library classes with some content domain models, to a general purpose framework.
Moore's Law tells us computer power doubles about every 18 months; it's how [...]
Introducing the best load balancing policy for PECL/mysqlnd_ms: "random_once". A (PHP) web request is short-lived. A web server can handle multiple requests per second. There are many web servers running an application. For each web request choose a random slave to use for the rest of the ...
Object Oriented GD Library
PHP MySQL databaser
Easy Thumbnail and Watermark class
PDO Multicnxn Class
Email Address Validator
PHP MySQL Wrapper
Netflix API Wrapper
PDO Multi Connection Class
Simple class for logs
This is a provoking title, but, in my honest opinion, a very valid rule of
thumb. During the last years of teaching other developers, developing PHP
libraries and applications and doing quality assurance on other peoples
software I came to this rather abrasive conclusion - let me tell you whya€¦
On the Zend Developer Zone Cal has posted a list of some of the upcoming PHP-related conferences that'll be happening in the next few months all over the world.If you have been to a PHP conference, you know how much fun and learning goes on at these things. Anytime you get that many PHP developers together, great ideas are bound to be hatched. If you have never had the opportunity to attend one, this year is the year to change that.He mentions several including Day Camp for Developers (happening this...
The Ibuildings techPortal has posted their latest episode in their DPCRadio podcast series as recorded at the Dutch PHP Conference 2010. This latest episode is Harrie Verveer's talk about database version control.We've all read the textbooks and are using version control systems for our code, but our databases are left out in the cold. Every team has their own workaround, ranging from patch files to SQL snippets in the bugtracker, but none is really robust. Unfortunately there is no silver bullet, but...
This session will introduce the audience to the memcached PHP extension that provides a more flexible and performance friendly interface to the de facto caching solution for PHP applications. The talk will be comprised of code examples for a variety of use cases and comparison points between it the older memcache interface.
The Voices of the ElePHPant podcast has posted their latest episode - an interview with Matthew Turland. Cal asks his three questions:
What was your first PHP project?
What's the most difficult thing about running an open source project?
What is the one mistake you see other open source projects make?
You can either listen to this latest episode via the in-page player or by downloading the mp3.
Tibo Beijen has a new post today showing his method for fixing mysqldump on Zend Server CE running on an OS X platform. The default install throws a socket error when you try to dump a database using the command.Inspecting the mysql configuration contained in /usr/local/zend/mysql/data/my.cnf confirmed that the section [client] showed the socket as returned by executing SHOW VARIABLES; from the mysql client: /usr/local/zend/mysql/tmp/mysql.sock Although it is possible to specify the socket by using...
I recently did a brief interview that's been published as an episode of the Voices of the Elephpant PHP podcast. The first question deals with my experience with PHP, but the other two deal more with my experience with open source projects in general. Thanks to Cal Evans for inviting me to participate. I highly recommend you check out other episodes of the podcast if you haven't already; I've really enjoyed listening to them.
Today it is ten years since my company, Nemein, started operating. Our team had been doing the internal Midgard-based information systems at Stonesoft, but as parts of that company were being sold, our team would've been split up. So instead we started our own business with Henri Hovi and Johannes Hentunen, with the idea that our Midgard expertise would be useful to a wider market.
The best laid plans
The initial plans were made at a Starbucks on New York's JFK airport while waiting for a flight to...
Lorna Mitchell has a (very) quick tip for those using the Zend Framework with a MySQL database. Sometimes the inevitable "MySQL server has gone away" error will pop up - her tip shows you how to deal with it correctly in a long-running application.The [Gearman] worker is a Zend Framework application, run from the CLI, and it seemed like the Zend_Db_Adapter had no way of knowing when MySQL had let go of its end of the connection. I tried a few different things, including Zend_Db_Adapter::getConnection(),...
Derick Rethans has a new post today with a bit of code showing how to combine Flickr and OpenStreetMap and make a mapping tool that plots out the location information for the Flickr images.I like taking pictures, and I usually take a GPS so that I can place them on a map on my Flickr page. On my last excursion however, the battery of my GPS had died, so I did not have location information available to store in my pictures' EXIF headers. Flickr can use the EXIF headers to then show the images on the map....