The past weeks I finally had some time to invest in the DMS library again, so i got busy with a few things. I also had to fix a big problem which had gone unnoticed to me, so i have to thank Mr. Guilherme Blanco for pointing it out.
Sadly this means a BC break, so please follow and make adjustments.
The BC break: -filter() becomes -filterEntity()
The reasoning here is simple, PHP still supports legacy from PHP4 meaning a function with the same name as the class is understood as a constructor. This...
Jeremy Cook is back with the next part of his series looking at the handy features PHP's SPL provides. In this new post he looks at the ArrayAccess interface and how it can make your data more accessible to PHP's own array handing functions.ArrayAccess allows you to treat an object that implements it as if it is an array for the purposes of setting, unsetting and retrieving data from it. Please note the emphasis in the last sentence! ArrayAccess does not make an object behave like an array in any other...
The PHP development team would like to announce the immediate
availability of PHP 5.3.10. This release delivers a critical security
Security Fixes in PHP 5.3.10:
Fixed arbitrary remote code execution vulnerability reported by Stefan
All users are strongly encouraged to upgrade to PHP 5.3.10.
For source downloads please visit
our downloads page, Windows binaries can be found
On the Leaseweb Labs blog there's a recent post looking at using the POC framework to work with flexible output caching. The tool makes it easy to create a new object and push cache content into it, automatically caching the data to sources like the file system, a Redis instance or a MongoDB database.Last year at the Symfony conference in Paris I have heard a really good quote: "There are only two hard things in Computer Science: cache invalidation and naming things" - Phil Karlton. I agree with it and...
On the LearnComputer.com site there's a new post comparing the benefits/downfalls of online versus classroom learning of PHP development. They list a few advantages and disadvantages of each.There can be many factors in the decision to learn PHP online or to take a class in-person, and for some, this can be a difficult decision to make. This article discusses the pros and cons of each method of PHP training to help you find the learning method that is going to suit your needs best. PHP isn't a new...
On the AndroidHive site there's a recent tutorial (plus screencast) about combining PHP, MySQL and SQLite to act as the backend authorization for your Android application.In my previous article Android Login and Registration Screen Design i explained designing the login and registration interfaces, but it has no functionality. In this tutorial i am explaining how to build complete login and registration system in android using PHP, MySQL and SQLite. Also this tutorial covers how to build simple API using...
In PHPMaster.com's latest tutorial Lukas White introduces you to using the Yahoo "Placemaker" web service to geographically locate a place from a free-form text string. The results include "place details" like the type of the location, latitude, longitude and how confident they are in their match.The challenge then is to do two things: work out what place you could be talking about, disambiguate if necessary, and then identify exactly where on Earth that is. That's what I'll show you how to do in this...
Here's what was popular in the PHP community one year ago today:Chris Hartjes' Blog: Book Review: PHP 5 Social Networking
Rob Allen's Blog: Zend Framework 2 in Action
Mike van Riel's Blog: Introducing: DocBlox
SocialDevelopers.net: Facebook and the Zend Framework - Part 1: Iframe Authentication
Binpress.com: Web Developer Programming Contest
Matthew Weier O'Phinney's Blog: Why PHP Namespaces Matter
Michael Feichtinger's Blog: PHP5 WebSocket Example - A Simple Chat
Greepit.com: Behavior Driven Development...
The PHP development team would like to announce the immediate availability of PHP 5.3.10. This release delivers a critical security fix.Security Fixes in PHP 5.3.10:Fixed arbitrary remote code execution vulnerability reported by Stefan Esser, CVE-2012-0830.All users are strongly encouraged to upgrade to PHP 5.3.10.For source downloads please visit our downloads page, Windows binaries can be found on windows.php.net/download/.
So this post is a bit of a rant more than anything, so for the three regular readers of this blog feel free to skip over this post. I promise to make thisAforayAa brief one.
I made a blunder on my flight home from Atlanta to Akron/Canton Airport a few weeks ago; I left my lovely, SugarCRM logo and my name engraved iPad safely in it's case in the seat pocket of seat 3A. D'oh!
I realized this the moment I got home, and being a bit of a snow storm decided it not prudent to risk life and limb to return to...
The Server-Side Magazine site has posted an interview (10 questions) with Andrei Alexandrescu, a research engineer currently working at Facebook.Today we caught up with Andrei Alexandrescu for a "10 Question" interview. He is a Romanian born research engineer at Facebook living in the US, you can contact him on his website erdani.com or @incomputable. We will talk about some of the juicy stuff that going on at Facebook, so let's get started.Their questions include:
What's your development setup?
Rafael Dohms has a new post to his blog about some of the lessons he learned attending this year's PHP Benelux conference both from the perspective of attending the conference and having been at several conferences around the world.After hearing about how great PHP Benelux Conferences were I finally made it over to Belgium to check it out, and i was impressed. To catch you up on the new, I moved to Amsterdam last december and thus had the chance of attending the conference which is now 2 hours away on a...
php|architect, the group behind the yearly php|tek conference has posted this year's official schedule. Sessions in this year's event include:
Developer Testing 201, When to Mock and When to Integrate (Laura Beth Denker)
API Development (Rob Richards)
The MicroPHP Manifesto (Ed Finkler)
Web Security and You (Elliot White)
Decoupled Library Packages for PHP 5.4
Clojure for PHP Developers (Ian Barber)
Tickets are now on sale - you can find out more on the sales page for the event.
The PHPClasses.org site has posted the latest episode of their "Lately in PHP" podcast - episode 20: "MicroPHP vs Complicated PHP".Earlier in January Ed Finkler announced the MicroPHP manifesto. It seems to be a rant about against the practices of developers that make PHP development more complicated than it should be. This is one of the main topics discussed by Manuel Lemos and Ernani Joppert in the episode 20 of the Lately in PHP podcast. They also discuss the final release of PHP 5.4.0 and whether you...
Sebastian Bergmann has shared a presentation he originally gave at an Etsy event covering some of the history behind the popular PHPUnit tool and the development it's been through.When Noah Sussman asked me to give a Code as Craft Technology Talk last week when I was consulting for Etsy I immediately said yes. [...] Just like with a talk that I gave last year, I suddenly had a chain of associations in my head that I just had to follow. And down the rabbit hole I went once more ...He talks about the...
Lorna Mitchell is back with another post in her "Building a RESTful PHP Server" series today with this new post showing how to work with output handlers (her focus is on JSON).So far we've covered parsing requests to determine exactly what the user is asking for, and also looked at routing to a controller to obtain the data or perform the action required. This post gives examples of how to return the data to the client in a good way.She advocates using output handlers instead of the usual views you'd...
In this recent post to his blog Ian Barber offers up some hints on presenting at conferences (or other events really) based on some of his experiences at this year's PHP Benelux Conference that just wrapped up in Belgium.Some of the conversations I had during the weekend were around technical presenting at conferences and usergroups, so I thought I'd collect a handful of the tips that were discussed into a post, and use a few of my favourite speakers at the event to illustrate them.He has it broken up by...
Mike Purcell has a quick new post to his blog showing how you can run PHPUnit on one specific test using handy grouping functionality already built into the tool.The other day I was debugging an error in one of my unit tests, and found it hard to track down because when I ran PHPUnit, it ran all the tests contained in the file where my problem unit test was located. After some Googling and reading the PHPUnit Api Docs, I found that you can specify a test, among other tests, by adding a comment with the...
Google Geo Coding
Automatic Class Loader
Easy Upload Class
Visa Payment Gateway Integration
Very Simple PayPal Bridge