In his latest post Volker looks at something he sees more and more projected implementing as a simple way to not have to manually define paths all over their applications - creating autoloaders. His post shows how to create one such autoloader for a legacy, non-framework type of project.The first argument usually is "ease of use". It can get pretty annoying when you have to clutter your whole application with "require this file here and that file over there" statements. [...] The main motivation for...
People in the PHP community are excited about the upcoming PHP Community Conference (happening in April) and a few have even blogged about it. Both Paul Reinheimer and Lorna Mitchell have shared some of their thoughts about the upcoming event, both as speakers.The PHP Community conference is happening April 21st and 22nd in Nashville, Tennessee and includes a day of tutorials and a day of regular conference sessions. To say "regular" doesn't do it justice though - this event is more about the passion...
Last year, a new conference launched, Brooklyn Beta.
The buzz I heard about it from attendees was amazing; words like "inspiring,"
"intimate," and "energizing" were all used to describe the experience. I found
myself wishing I'd made time in my schedule to attend.
Fast forward a few months, and a new conference has been announced,
the PHP Community Conference. It has similar goals to
Brooklyn Beta: create a conference where we can talk about the language we love
As part of a migration the Joind.in project made to track their bugs on a hosted Jira instance instead of the Issue Tracker on Github, Lorna Mitchell, one of the leads on the project has written up an import script she used to move current issues. The code is in her latest post.I migrated only our open issues, and comments (and the comments ended up a bit weirdly formatted on the other end but this was the best they could do). It was nothing pretty or clever but in case it's useful to someone else.The...
This week I am in downtown Chicago making new friends and attending sessions and parties at DrupalCon '11. I will have to say, I've been to a lot of conferences in the past 6 years but it is rare that I meet a community that is as enthusiastic and friendly as the Drupal community.
In this new post to the "Quality Assurance in PHP Projects" site today, Sebastian Bergmann gives a status update for the English version of their popular (currently German-only) PHP QA book.The video below [in the post] shows a visualization of activity in the book's Git repository since April 2010. During this timeframe we mostly worked on translating chapters from English to German and editing the chapters for the German edition followed by translating chapters from German to English and editing the...
My posts on Decoupling Content Management, and especially the introduction to the "build a CMS, no forms allowed" approach we took with Midgard Create have generated a lot of interest.
On the php|architect blog today John Mertic looks at a validation library that's been created to filter and handle user input for your application without too much effort on your part - Validation from a group called Respect.It's simply called Validation, and it is a very simple and straightforward PHP 5.3 based validation library. The goal for them is to make validation easy and painless, using clever constructs like chaining and enabling developers to create reuseable components.He shows a sample of...
XePDF - Table
Build Form Class
Easy Pagination Array
Smarty Template Engine Theme Selection Class
Secured mySQL Layer
Nearby Places Plugin
Spatial Indexes: Calculating Distance
Wednesday, March 9th 2011, 07:17 EST
During my "Geolocation and Mapping with PHP" talk that I've given a few times I briefly touch on the subject of indexes on data-sets of spatial data. This isn't as simple as just solving Pythagoras theorem and this article is meant to clarify this.
The flat Earth model
Pythagoras theorem can be used to calculate the distance between two points quite easily; you take the square root of the square of the...
Almost a year has passed since we finished the manuscript for the German edition of the book -- and almost half a year since the German edition started shipping. High time for another status update.
The video below shows a visualization of activity in the book's Git repository since April 2010. During this timeframe we mostly worked on translating chapters from English to German and editing the chapters for the German edition followed by translating chapters from German to English and editing the...
Recently I mentioned the github API and retrieving issues from it. This is because the joind.in project agreed to move its issue tracking from github to JIRA, since the issue tracker on github is far from feature complete. I migrated only our open issues, and comments (and the comments ended up a bit weirdly formatted on the other end but this was the best they could do). It was nothing pretty or clever but in case it's useful to someone else, here's the script:$request = new...
I'm exceedingly pleased to be speaking at the PHP Community Conference next month. I'll be speaking about two projects I've been working on for a while WonderProxy, and XHProf. Apart from these being new talks, asking people to speak about their passions and projects, rather than something interesting they've stumbled upon as of late.
To be honest, as much as I'm looking forward to speaking, I'm looking forward to Andrei's talk on what happened with Unicode and PHP 6 more than I've looked forward to a...
As of the 1.11.4 release of Zend Framework, the generated testing stubs just got a little saner. At the time of Zend_Tool's initial release, the standard application structure you are familiar with today was just being released as well with Zend_Application. In addition, the testing controllers from this newly standardized application layer, were too, in their infancy. In short, we had known that the stubs being produced in the tests/ directory were incomplete, but we were waiting to see if there were...
On the Ibuildings techPortal today there's a new tutorial from Rupert Jones showing you how to get the best performance from Magento with a set of technologies tailored for just that.Following our earlier entry about installing Magento Enterprise, we thought it would be appropriate to follow up with some tips for getting more from your Magento installation. One of the major criticisms leveled at Magento is its speed; many complain that it is far too slow. In this article we'll go through some steps you...
If you've heard all about the CodeIgniter Reactor project (the community fork of the popular framework) and have wanted to get involved, now's the perfect time. Because of a change in the ranks, they're looking for another Engineer to fill an open spot.If you follow the Reactor team, you probably already know that the venerable Ed Finkler had to resign from his position due to personal time constraints. That means that we have an opening, so if you feel that you qualify, please email iwanttohelp at...
In this new post to the WebDevHub blog today, Akshat Goel shows you how to set up an email scheduling feature for your application using PHP and the futuremail web service.If you are a web developer, many a times while developing websites you must have wanted to schedule an email to a future date. There are two ways of doing this, one is by using cron jobs on linux or by using a third party service. In this article I will tell you how you can schedule emails to a future date by using a third party...
The Voices of the ElePHPant podcast has release their latest episode - an interview with Kathy Reid, one of the organizers for the PHPWomen group.Cal asks Kathy three questions about her work as a developer and what she's learned:
What skills would you say you sharpened when you were working with PHP?
How did programming in PHP effect how you program in other languages?
What one skill would you say programmers in other languages need to have before they start using PHP?
You can hear her answers by...
OpenID has never really caught on in a major way. I use it pretty much only on StackOverflow and 37signals products, and I really like it. Regular (non-web-building) users find it puzzling, and don't have a good understanding of URLs, let alone ownership of them. So it works for geeks, but not for the general [...]
David Behler has provided a complete guide to helping you get a development virtual machine instance up and running quickly complete with Apache, PHP, MySQL and Samba shares to access your files.I know that no server is like the other and you might still run into some problems due to different library versions and so on, but you gotta admit that two Linux servers have way more in common than a Linux and a Windows server. So in this post I'll tell you how to setup your own VM with all the libs you need....