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...
This year's php|tek 2012 conference has just wrapped up - some great sessions were presented, contributions were made at the hackathon and patches gathered by all.If you attended this year's event, please be sure to give the speakers some feedback (on Joind.in) and, if you weren't able to, check out the "Slides" section for the presentations.Topics at this year's event included:
Easing in to HTML5 and CSS3 (Brian Moon)
Web Security and You (Eli White)
(Re)discovering the SPL (Joshua Thijssen)
I've just released phorkie
0.2.0 which brings search functionality via
The nice thing about Elasticsearch is that it allows boosting of certain fields
(paste title is higher ranked than the file content) and has a bunch
of search query features:
Exclusion: +foo -bar
Logical OR: foo OR bar
Quoting: "foo bar"
Partial words: foo*
Restriction to certain fields: content:Hello
All of that was just there without me having to do any programming, whereas
with MySQL this...
On PHPMaster.com today there's an introduction to Reflection, a feature of PHP that allows you to peer into the code itself and find out metadata like class properties, scope levels and parent classes.PHP introspection is a common feature in any programming language which allows object classes to be manipulated by the programmer. You'll find introspection particularly useful when you don't know which class or method you need to execute at design time. [...] During this article, you'll see a couple...
On DeveloperWorld today there's a new article talking about performance concerns and PHP application (and how your data source might be the problem).The power of PHP and an RDBMS is the ability to nail the major features of an application with cheaply paid developers in a record amount of time. Unfortunately, the default runtime environment used by PHP is simply an unscalable mess. [...] The truth is that if you have enough servers and enough database servers, you don't have contention. [...] As it turns...
On his blog today Rafe Colburn shares a list of engineering blogs he follows to keep up with various technologies companies are using and the interesting things they find out in using them.One of my favorite technology trends of the past few years has been the emergence of engineering blogs. They are, mostly, a recruiting tool, but that doesn't mean that you can't learn a lot about how companies operating at varying levels of maturity and scale go about their business.Some of the blogs on his list...
Popular posts from PHPDeveloper.org for the past week:Project: Gitlist - A Git Repository Viewer (based on Silex & Twig)
Reddit.com: Protecting against attack?
PHPMaster.com: PSR-1 and PSR-2 to be Approved as Standards
Site News: Job Postings for the week of 05.13.2012
Sean Coates' Blog: Use `env`
Derick Rethans' Blog: MongoDB Cursors with PHP
Gonzalo Ayuso's Blog: Database connection pooling with PHP and React (node.php)
Phil Sturgeon's Blog: Laravel is Awesome
Till Klampaeckel's Blog: Zend Framework:...