Derick's MongoDB tour
Monday, August 20th 2012, 09:12 BST
It has been a while since I have written anything. In the last few months I have been busy rewriting the connection handling parts of the MongoDB driver for PHP. The next post will go deeper into that, and what else will be new in version 1.2 of the driver. Anyway.
Some time ago, my friend Ligaya Turmelle suggested that I should come and talk at the JaxPHP/JaxWeb, the PHP and web developers usergroup in Jacksonville, Florida. And...
I hereby announce the release of
Surrogator version 0.1.0,
a simple Libravatar compatible
avatar image server written in
You probably know Gravatar,
the (proprietary) service by the Wordpress.com guys.
You give it the md5 hash of an email address and get an image for
it - given that the person owning the email address registered there and
uploaded a picture.
Many many blog and web applications use those images to give comments
a personal note and make it easy to...
Matthew Weier O'Phinney has been doing some research into PHP microframeworks lately and has shared some of his thoughts in the latest post to his site.PHP has had microframeworks for quite some time, though I only really first saw the term being used around 3 years ago. The "grand-daddy" of modern-day microframeworks can actually be traced to Ruby, however, and specifically Sinatra. [...] Since around 2009, I've seen an increasing number of new PHP microframeworks4 that follow in the steps of Sinatra...
A number of months ago, Ed
Finkler started a discussion in the PHP community about
aoMicroPHPa; to summarize, the
movement is about:
Building small, single-purpose libraries.
Using small things that work together to solve larger
I think there are some really good ideas that have come out of
this, and also a number of questionable practices1.
One piece in particular I've focussed on is the concept of
There's a new conference happening in November (in Indianapolis, Indiana) brought to you by the group behind PHPWomen and EngineYard - the CodeConnexx conference.CodeConnexx is a two-day, one track conference that aims to bring together men and women of all ages, races, backgrounds, and skillsets interested in talking about code. As we know, choosing a career as a coder comes with its own sets of life challenges, and we want to talk about those too. In short, this conference is a different kind of...
Chris Hartjes, a big proponent of testing (unit and otherwise) in the PHP community has put together a screencast to show just how easy it can be to get started with TDD (test-driven development) in PHP.I want to talk about test driven development and show you in five minutes how to set up.His example uses a common problem - the FizzBuzz test - and shows how to write a simple test to check the output of his "process()" method that it matches his expected results. It's a simple example, but a great...
Just wanted to make some general observations based on what I learned around the Symfony2 CMF initiative. I hope that these will be helpful to others working on other open source initiatives. Of course every initiative is born into different sub-communities and every set of leaders have other skill sets and networks but there might still be some general lessons to take home from my experience.
First up never plan a project to pay off only if other people join. This is something I was aware of before...
In this new post to her site, Lorna Mitchell shares some other skills/technologies that are "allied to PHP" and can make you a more effective (and better) developer for knowing them.In web development, our biggest challenges are not writing code, we can do that. But getting the code safely from one place to another, with many people's work preserved, having our platform(s) correctly configured and understanding how to use them, making use of the tools in the ecosystem which will help us improve the...
Popular posts from PHPDeveloper.org for the past week:PHPMaster.com: Explore Aspect Oriented Programming with CodeIgniter, Part 1
Reddit.com: Login Security (Best Practices Recommendations)
OpenShift Blog: Getting started with PHP, CodeIgniter, MongoDB, and the cloud (OpenShift)
Mayank Kandpal: How I Start a New CodeIgniter Project
Nikita Popov: Are PHP developers functophobic?
SitePoint: WordPress v Joomla: Support and Community
Nerds Central: Facebook Moving To The JVM
Gonzalo Ayuso: Building a simple...
The PHP.net site has announced the latest versions of PHP are now available for download - PHP 5.4.6 and 5.3.16:The PHP development team announces the immediate availability of PHP 5.4.6 and PHP 5.3.16. These releases fix over 20 bugs. All users of PHP are encouraged to upgrade to PHP 5.4.6, or at least 5.3.16. For source downloads of PHP 5.4.6 and PHP 5.3.16 please visit our downloads page, Windows binaries can be found on windows.php.net/download/. The list of changes are recorded in the ChangeLog.Bugs...
This post is mostly about a tutorial I will be delivering at PHPNW on October 5th in Manchester, UK, and why I think a tutorial that contains no PHP belongs at a PHP conference
In October, I'll be delivering a tutorial at the mighty PHPNW Conference which contains very little PHP. Why? Because I think, as developers, it's our other professional skills that suffer. As a consultant, I work with lots of different teams, and it is very rare for code to be the problem (and the one time it was, it wasn't the...
The PHP 2012 conference (ZendCon) offers you the chance to learn from a huge variety of technical sessions and in-depth tutorials. International industry experts, renowned thought-leaders and experienced PHP practitioners are on-hand to discuss PHP best practices and explore future technological developments.
This year promises to be the best ZendCon ever! We are planning a fun new exhibit hall, some great parties including a hackathon and, of course, oodles of excellent PHP content!
The PHP development team announces the immediate availability of PHP 5.4.6 and PHP 5.3.16. These releases fix over 20 bugs. All users of PHP are encouraged to upgrade to PHP 5.4.6, or at least 5.3.16.
For source downloads of PHP 5.4.6 and PHP 5.3.16 please visit our downloads page,
Windows binaries can be found on windows.php.net/download/.
The list of changes are recorded in the ChangeLog.
On the MaltBlue.com site today there's a new tutorial posted giving you some recommended practices on building an extendible application with the Zend Framework.Whether you have a big or small budget are time rich or poor, there's always the pressure to build applications with the future in mind. [...] So amongst the multitude of other advice you'll receive throughout your life, building applications that are readily extensible and extendable - in a simple, clean and cost-efficient manner - is essential...
In this recent post to the "Programmers" area of the StackExchange site, the user asks the community for help in testing a PHP developer during the interview process to asses their level of knowledge accurately.My company needs to hire a PHP developer, but nobody has PHP knowledge in my company and we find difficult to test for PHP skills. If it were a C/Java developer I would ask him to write a quick implementation of the Game of Life, but PHP is a completely different language. I saw this test with...
In this new post to his site, Cameron McKay has posted a bit of interesting code - functionality that detects the number of syllables in words and checks for rhyming in phrases.The simplicity of the rules got me thinking: how hard would it be to write a program to check if a poem stanza is ottava rima? In this article, we will write a simple ottava rima detector in PHP.His code takes in the content and performs a few checks, one simple (length) and two custom - "is_iambic_pentameter" and...
In a new post to the Zumba Engineering blog, they share an interface they use for testing on their API (after working with something similar from another company).They provide the documentation to the methods and I saw they have a simple interface to test their methods: Ooyala API Scratchpad. This interface was very useful while we integrate with them and I thought: "Why we don't have one interface like that for our API?" I started a page with Twitter Bootstrap to have a similar functionality, which the...
On PHPBuilder.com today there's a new tutorial that talks about creating interfaces in PHP and how to use them to effectively structure your application.Starting with PHP 5 the object model was rewritten to add features and bring PHP in line with languages such as Java and Visual Basic .NET. In this article I'll discuss interfaces, which is among the most important features in PHP 5. Other important features include visibility, abstract and final classes, methods and additional magic methods. You will...
Here's what was popular in the PHP community one year ago today:Stuart Herbert's Blog: PHP Components: Shipping Web Pages With Your Components
Kristina Chodorow's Blog: Writing a PHP Extension (Four Part Series)
Hyperpolyglot.org: Syntax for Common Tasks - Side-by-side (Ruby, Perl, Python & PHP)
NetTuts.com: Getting Started with the Fuel PHP Framework
PHPClasses.org: Top 10 Wrong Ideas About PHP That You Should Get Right
Script-Tutorials.com: Protection and Methodologies of Security Vulnerabilities in...
Every pilot works hard to maintain good records of their flight time. Besides being expensive to obtain, the FAA requires that flight time of a certain nature be logged and available for inspection, should it ever be required or questioned. The pertinent regulation gives a description of what information must be logged, but leaves the [...]