You might have heard of us. If not, here iswho we are:
We are a little company in ZA¼rich, Switzerland. Our clients trust
us. Our projects are technically challenging and mostly use cutting
edge technologies such as Backbone.js, Symfony2, Redis and CouchDB. By
keeping the company small we have the ability to carefully choose the projects we
want to work on. This also gives us time to attend many conferences,
both as speakers and attendees. And starting this autumn, we will be
working on our product as...
On his "Simple Programmer" blog John Sonmez has a new post looking at three kinds of "code duplication" that you should keep an eye out for when coding your applications:One of the biggest reasons to refactor code is to eliminate duplication. It is pretty easy to introduce duplication in our code either unintentionally or because we don't know how to prevent or get rid of it. [...] I've found that there are three basic types of duplication that we can eliminate from our code that successfully build on...
In this new post to his blog Gary Hockin looks at how to create a simple RESTful web service with the features provided by the Zend Framework v2 (currently in beta).After speaking to a prospective employer in a job interview, I was interested to try out the ZendMvcControllerRestfulController. With Zend_Json_Server in ZF1 having, shall we say, a less than sterling reputation, it was very interesting for me to see how the strategy has been implemented in ZF2. The starting point for this is simply a...
In this recent post from Tim Huegdon sharing some of his insights and discoveries about eliminating waste from your development process (with props to the methods introduced by the Toyota Corporation and the Poppendiecks).Eliminating waste is the first - and most fundamental - principle of Lean Software Development; something that was introduced to me by an exceptionally talented Project Manager whom it was my pleasure to work with. Lean Software Development is a set of seven fundamental principles that...
A very long time ago (three and a half livers ago), I wrote a little utility to help us with the 2008 edition of PHP Advent. The utility is called Lexentity, and my recent blogging uptake made me realize that I've never actually written about it on here, so here it is (mostly borrowed from the README).
Let's face it--this sentence is much "uglier" than the one below it.
Let's face it-this sentence is much a€oprettiera€¯ than the one above it.
Lexentity is a simple piece of software that takes html as...
The Voices of the ElePHPant Podcast has posted their latest episode - a special recording made at this year's php|tek conference (Chicago) and features several guests like Keith Casey, Eli White, Chris Hartjes, Luke Stokes, Paul Jones and Ed Finkler.This special show (ITBT meaning "It's the Booze Talking") is a roundtable where they all discuss telecommuting from both a developer and manager's perspective. They each share something that works really well for them about telecommuting and something that...
I recently started an adventure involving Sitecore's out-of-the-box web service. In fact, I didn't know such a thing existed in Sitecore until I searched the web for information about accessing Sitecore from a process outside the ASP.NET runtime.
The good news is a web service exists. The bad news is the documentation barely exists. Apart from a documen titled The Sitecore Web Service Reference Guide on the Sitecore Developer Network, you literally are on your own.
Thankfully, there's no problem in...
Latest PECL Releases:
The Zeta Components project retired from Apache and is now available on
Github. All components are now installable via Composer. Read more for
I spun up the simplest example I could think of to illustrate a recursive function to a PHP beginner the other day, and I thought I'd share. I often don't post really basic content but I should - people are beginning to be beginners all the time, after all!
Factorials are a very easy maths concept. They are written like 5! and this means 5 * 4 * 3 * 2 * 1. So 6! is 720 and 4! is 24.
6! is the same as 6 * 5!, or 6 * 5 * 4! ... and this is where the recursive functions come in.
Keith Casey's Blog:A http://caseysoftware.com/
Eli White's Blog:A http://eliw.com//
Chris Hartjes' Blog http://www.littlehart.net/atthekeyboard/
Luke Stokes' Blog:A http://bestoked.blogspot.com/
Paul M Jone's Blog: http://paul-m-jones.com/
Ed Finkler's Blog:http://funkatron.com/
Keith Casey's Twitter:A @caseysoftware
Eli White'sTwitter:A @EliW
Chris Hartjes' Twitter:A @chartjes
Luke Stokes' Twitter:A @lukestokes
Paul M Jone's Twitter: @pmjones
Ed Finkler's Twitter: @funkatron
As Rob Allen mentions in his latest post, the latest revision of the Zend Framework v2 has been released and is ready for testing - Zend Framework 2 beta4.Earlier this week, we got beta 4 of Zend Framework 2 out of the door. This version has some very significant improvements in it which mean that if you're following along at home with the betas, then you're going to be doing a bit of updating! Most of the B/C breaks are noted in this thread.He's also made updates to his Zend Framework 2 tutorial to...
In his recent post Gonzalo Ayuso shares some "strange behavior" he found with method visibility in his recent development:Normally I feel very comfortable with PHP, but not all is good. There's some things I don't like. One is the lack of real annotations and another one is this rare behaviour with visibility within the OO. Let me explain this a little bit.The problem came up as a part of a recent refactor where a protected method, when called from an object injected into another class, threw an "access"...
Brian Moon has shared some of his thoughts about the recently proposed standards (PSRs) from the PHP-FIG group based on some discussions had at this year's php|tek.During the /dev/hell podcast at Tek12, someone asked the guys their opinion about PSR. [...] The person asking the question had asked about PSR1 and PSR2. These are the first two standards proposals in the group and they deal with coding standards. [...] There are already coding standards for PHP and any other language out there. Why does...
On PHPMaster.com today, they've started a new series about integrating two popular technologies - PHP and the Android OS - in this new tutorial from Matthew Turland. He'll show both sides of the code needed to get your Android app talking to a PHP backend.This two-part article will guide you through the process of building an efficient PHP-based REST web service to be consumed by an Android-based application. Some of the concepts presented here are also applicable to other mobile platforms, such as iOS....
On the Refulz.com blog there's a new tutorial posted looking at traits (and nested traits) in PHP including examples of them in use and how to create your own.Traits is a good new addition to PHP language. In our series about the new features of PHP 5.4, we reviewed the concept of Traits in PHP. The introductory article talks about what the traits are and what is the general syntax of Traits in PHP. The second article attempts to explain why we need traits.The tutorial shows you how to define a custom...
Latest PEAR Releases:
After reading through his a€oConfessions of a Public Speakera€¯ (as a beginning speaker, I learned some good things from this one - I'd suggest it if you do any kind of speaking) I was anxious to check out some of Scott Berkun's other books. The topics of some of the others didn't really appeal to me, but the one that's caught my attention recently is his a€oMyths of Innovationa€¯ book. I'm maybe a third of the way through it right now, and there's one thing that keeps resonating in my mind as I go...
During the /dev/hell podcast at Tek12, someone asked the guys their opinion about PSR. I did not know what PSR was by that name. A quick search lead me to the Google Group named PHP Standards Working Group. I had vaguely remembered a consortium of frameworks, libraries and applications that were organizing to attempt to make their projects cooperate better. But, this did not sound like the same project. Another search and I found the PHP Framework Interoperability Group on Github. A bit more searching...
Latest PHP Tweets