PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 21 to 40 of 199

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...

Community News: php|tek 2012 Wraps Up

Community News: php|tek 2012 Wraps Up
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) Slim Your...

phorkie 0.2.0: Elasticsearch

phorkie 0.2.0: Elasticsearch
I've just released phorkie 0.2.0 which brings search functionality via Elasticsearch. 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...

PHPMaster.com: Introspection and Reflection in PHP

PHPMaster.com: Introspection and Reflection in PHP
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...

DeveloperWorld: How to make PHP apps scale

DeveloperWorld: How to make PHP apps scale
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...

Rafe Colburn's Blog: A list of engineering blogs

Rafe Colburn's Blog: A list of engineering blogs
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...

Site News: Popular Posts for the Week of 05.25.2012

Site News: Popular Posts for the Week of 05.25.2012
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:...