PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 1441 to 1460 of 6889

Nelmio is hiring

Nelmio is hiring
You might have heard of us. If not, here iswho we are: We are a little company in ZArich, 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...

John Sonmez's Blog: Types of Duplication in Code

John Sonmez's Blog: Types of Duplication in Code
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...

Jason Hinkle's Blog: Build a Backbone.js Application with PHP

Jason Hinkle's Blog: Build a Backbone.js Application with PHP
Jason Hinkle has a new blog post on VerySimple.com today about some recent work he's done to integrate Backbone.js and PHP (via the Phreeze framework's "Builder" tool).Last year like a lot of other developers I started to get excited about client-side Javascript frameworks. [...] To me it's basically a little bit of magic that makes your web application seem alive as it responds to any changes made to the data. Backbone.js is one such Javascript framework.You can use the Builder as a part of the...

Gary Hockin's Blog: Zend Framework 2 and a Restful Application

Gary Hockin's Blog: Zend Framework 2 and a Restful Application
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...

Tim Huegdon's Blog: Eliminating Web Development Waste

Tim Huegdon's Blog: Eliminating Web Development Waste
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...

Lexentity

Lexentity
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 aoprettiera than the one above it. Lexentity is a simple piece of software that takes html as...

Voices of the ElePHPant Podcast: ITBT (From php|tek 2012) - Telecommuting

Voices of the ElePHPant Podcast: ITBT (From php|tek 2012) - Telecommuting
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...

Sitecore Web Service Pitfalls

Sitecore Web Service Pitfalls
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...

Community News: Latest PECL Releases for 05.29.2012

Community News: Latest PECL Releases for 05.29.2012
Latest PECL Releases: trader 0.2 APM 1.1.0beta3 mqseries 0.12.0 automap 2.0.0 PHK 2.0.0

Zeta Components retired from Apache

Zeta Components retired from Apache
The Zeta Components project retired from Apache and is now available on Github. All components are now installable via Composer. Read more for detailsa

PHP Recursive Function Example: Factorial Numbers

PHP Recursive Function Example: Factorial Numbers
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 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. Recursive...

ITBT

ITBT
Keith Casey's Blog:Ahttp://caseysoftware.com/ Eli White's Blog:Ahttp://eliw.com// Chris Hartjes' Blog http://www.littlehart.net/atthekeyboard/ Luke Stokes' Blog:Ahttp://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 Show Notes:...

Rob Allen's Blog: Zend Framework 2 beta 4 released

Rob Allen's Blog: Zend Framework 2 beta 4 released
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...

Gonzalo Ayuso's Blog: Strange behavior in PHP with method visibility

Gonzalo Ayuso's Blog: Strange behavior in PHP with method visibility
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's Blog: PHP Coding Standards

Brian Moon's Blog: PHP Coding Standards
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...

PHPMaster.com: Let's Talk: Efficient Communication for PHP and Android, Part 1

PHPMaster.com: Let's Talk: Efficient Communication for PHP and Android, Part 1
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....

Refulz.com: Traits in PHP - Multiple and Nested Traits

Refulz.com: Traits in PHP - Multiple and Nested Traits
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...

Community News: Latest PEAR Releases for 05.28.2012

Community News: Latest PEAR Releases for 05.28.2012
Latest PEAR Releases: Config_Lite 0.1.3 Cache_Lite 1.7.15 HTML_QuickForm2 2.0.0RC1 Cache_Lite 1.7.14

Innovation's Not The aoAh-Hah!a

Innovation's Not The aoAh-Hah!a
After reading through his aoConfessions 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 aoMyths 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 through it....

PHP Coding Standards

PHP Coding Standards
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