PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 61 to 80 of 183

PHPMaster.com: WordPress Plugin Development

PHPMaster.com: WordPress Plugin Development
On PHPMaster.com today there's a new tutorial showing how you can create a custom WordPress plugin for the popular PHP-based blogging/CMS tool.If you've ever used WordPress to build a site quickly, chances are you've used one of the many plugins that are offered to extend the functionality of this popular blogging software. Plugins are one of the many things that make WordPress so attractive. [...] There are times, however, when you can't quite find what you need from existing plugins. This article will...

Rob Allen's Blog: What problem does dependency injection solve?

Rob Allen's Blog: What problem does dependency injection solve?
In his latest post Rob Allen seeks to answer the question "what problem does dependency injection solve?":Zend Framework 2 comes with a dependency injection container (DIC), as does Symfony 2 and Aura, along with many other PHP frameworks that target PHP 5.3 or hight nowadays. This article attempts to explore the problem that a DIC tries to solve.He gives an example (somewhat based on the same structure of his Zend Framework tutorial) showing how you could use DI to inject the Artist object into the...

7php.com: Interview with Chris Hartjes - The "Grumpy Programmer" of the PHP Community

7php.com: Interview with Chris Hartjes - The "Grumpy Programmer" of the PHP Community
7php.com has posted their latest interview with a member of the PHP community - Chris Hartjes, the "grumpy programmer".In this edition I talked with Chris Hartjes (@grmpyprogrammer), the co-organizer of the GTA PHP User Group (@gtaphp). Chris is a real Grumpy PHP Programmer! But grumpy in a very positive sense though. He focuses his effort in applying and transcending his best practice ideals with the codes he write. I would tag him as the "perfectionist programmer"; he will not hesitate to scrap his...

Community News: Latest PEAR Releases for 02.20.2012

Community News: Latest PEAR Releases for 02.20.2012
Latest PEAR Releases: PHP_CodeSniffer 1.3.3 System_Launcher 0.6.0 HTTP_WebDAV_Server 1.0.0RC7 System_Command 1.0.8 Date_Holidays_Spain 0.1.3

An Update On Composer

An Update On Composer
This weekend we have been busy hacking on Composer in our office together with Nils Adermann and Volker Dusch. We wanted to push the project forward a bit faster than the odd free evenings usually allow, and I would now like to introduce the changes we made. Development versions handlingThe former master-dev and similar *-dev versions we used to have were causing quite a few issues, so we decided to overhaul that behavior in a way that allowed us to get more consistency and fix a few long standing...

10 Reasons Why I've Switched From Netbeans To Sublime Text 2 For PHP Development

10 Reasons Why I've Switched From Netbeans To Sublime Text 2 For PHP Development
I've recently switched from using Netbeans as my PHP dev tool of choice to Sublime Text 2. Features-wise, I think Netbeans is great. During the years I used it, I never felt that there was a feature I needed that was missing at the time. But, like all the current crop of Java-based desktop IDEs, it's so damn ugly [1] and slow [2] that I've had enough. I program because it's something that I love doing, and anything that gets in the way of that a I've no time for any more. So when a work colleague...

Symfony Blog: Symfony Live 2012: Paris Edition

Symfony Blog: Symfony Live 2012: Paris Edition
On the Symfony Community Blog Fabien Potencier has officially announced Symfony Live 2012: Paris Edition, a Symfony-focused event that will take place in June.Today, I'm excited to announce the fourth Symfony Live Conference in Paris. It will take place on June 7-8th; Paris in the Spring is a lovely city! Like last year, we will have two parallel tracks and the conference will be held in English (with probably a few sessions in French). The call for papers is open until March 30th; if you want to share...

SpyreStudios.com: Connecting with API Data from Instagr.am using PHP

SpyreStudios.com: Connecting with API Data from Instagr.am using PHP
On SpyreStudios.com there's a post showing you how to connect to the Instagr.am API and pull data back with a bit of simple PHP.The process of connecting into API data via OAuth is tricky. Some of the more notable social networks which have adopted this technology include Foursquare, Twitter, and Facebook. But Instagram is a very popular mobile app which has grown tremendously fast. Their recent API v1.0 release has some really neat features where you can pull popular photos, recent users, follower...

Sameer Borate's Blog: Building a adjacency matrix of a graph

Sameer Borate's Blog: Building a adjacency matrix of a graph
Building on the graphing tutorial in his last post Sameer continues on looking at graphs in PHP with this new post showing how to create an "agency matrix" of a currently built graph.Building a graph is not enough; we also need the ability to search through it. To make it easier to build search algorithms, it is useful if we can represent the graph and its connections in a different way; adjacency matrix being one such representation. An adjacency matrix is a means of representing which vertices (or...

Markus Pullmann's Blog: Remote Debugging in PHP with XDebug

Markus Pullmann's Blog: Remote Debugging in PHP with XDebug
Markus Pullmann has a new post to his blog about setting up XDebug in your PHP installation to help you narrow down those elusive issues more quickly.Debugging locally is a nice improvement to have no debugger at all, but in many situations there is the need to debug on production server, where the application is running on the web. There are different reasons for that, but the most important one for me is, that my local environment / installation is different from the one i have on servers in data...

Site News: Popular Posts for the Week of 02.17.2012

Site News: Popular Posts for the Week of 02.17.2012
Popular posts from PHPDeveloper.org for the past week:Reddit.com: What non-PHP stuff should a PHP developer know? Dave Gardner's Blog: PHP Deployment with Capistrano 7php.com: PHP Interview with Cal Evans - Get Involved if you want to be a Pro PHPer John Conde's Blog: My experience seeking employment as a PHP developer PHPMaster.com: Autoloading in PHP and the PSR-0 Standard Pim Elshoff's Blog: Dependency management Cloud Out Loud Podcast: Interview with Ed Finkler Robert Basic's Blog: Zend Framework...

Plat_Forms 2012: Teams needed to represent PHP

Plat_Forms 2012: Teams needed to represent PHP
In 2007, the first Plat_Forms contest took place with support of Zend Technologies, University of Berlin, Heise Publishing Company and OSBF. It was a web development platform comparison like it had never been done before: 9 teams in controlled environment doing the same task in a limited time. During that time, the team of Prof. Lutz Prechelt collected data and after the contest, the results together with the data regarding the workflow of the individual teams was evaluated in a scientific way. Back...

A while ago ago, I quit Flickr to work on a aosocial geo...

A while ago ago, I quit Flickr to work on a aosocial geo...
A while ago ago, I quit Flickr to work on a aosocial geo mobile locala startup that was secret to everyone except some closest friends and family. Today, we are finally able to talk about it in public! The great team at 2bkco is happy to announce Pinwheel (for now in private beta). Our fearless leader Caterina Fake has posted an introduction to what I think will be an awesome service for years to come. If you'd like to leave some notes around the world for people to find, come on over to Pinwheel and...

Odafe Ojenikoh's Blog: Interactive PHP CLI Applications using Zend Form

Odafe Ojenikoh's Blog: Interactive PHP CLI Applications using Zend Form
Odafe Ojenikoh has submitted a post he's written up showing how to create a command line PHP application with the help of the Zend Framework and it's Zend_Form elements.Over the weekend, I was toying with the idea of interactive cli applications using readline() and Zend Form for validating input. My motivation for using Zend Form or rather Zend Form elements was to exploit the power of features such as labels, validators, filters and the prospect of reusing forms within web application code.His example...

Voices of the ElePHPant: Interview with Chris Shiflett

Voices of the ElePHPant: Interview with Chris Shiflett
The Voices of the ElePHPant podcast has released their latest episode, an interview with Chris Shiflett (as recorded in 2011).In the interview they talk about things like: Chris' security experience The PHP community's shifting focus on security What's the biggest security mistake PHP developers still make? Cross-site request forgeries Chris' current work with Mapalong You can listen to this latest episode either by using the in-page player or by downloading the mp3 directly. You can also subscribe to...

PHPMaster.com: Packaging Your Apps with Phar

PHPMaster.com: Packaging Your Apps with Phar
On PHPMaster.com today there's a new tutorial showing you how to package up your applications using the phar functionality that's bundled in to recent PHP versions.PHAR ("Php ARchive") is analogous to the JAR file concept but for PHP. If you have PHP 5.3 or greater, the Phar extension is built-in and enabled; you can start using it without any additional requirements. This article is intended to shed some light on this important feature for those who haven't used it before. Hopefully you'll find it a...

Rob Allen's Blog: A primer on PHP namespaces

Rob Allen's Blog: A primer on PHP namespaces
For those that either haven't worked much with PHP 5.3 in their applications (or just haven't gotten around to using the feature) Rob Allen has put together an introduction to namespaces to guide you through some first steps and share some example usage.I know that there are a lot of posts now about namespaces in PHP 5.3. This is mine which is how I learnt how they work. [...] That is, namespaces allow us to: combine libraries with the same classnames, avoid very long classnames and organise our code...

The Mechanics Of Code

The Mechanics Of Code
Since the dawn of programming, programmers have attempted to define their industry, often by using outside industries for comparison. This can be traced back to the fact that programming itself is unique: it's unlike any field in existence. Most programmers hate being called aocodersa: it seems pedestrian, somehow beneath what we do. Many times we [...]

Site News: Blast from the Past - One Year Ago in PHP

Site News: Blast from the Past - One Year Ago in PHP
Here's what was popular in the PHP community one year ago today:Brian Swan's Blog: Do Stored Procedures Protect Against SQL Injection? Phil Sturgeon's Blog: PHP Format abstraction with a simple class Elliot Haughin's Blog: CodeIgniter 1.7.x, 'Core' 2.0, CodeIgniter Reactor, Bitbucket, Zips... Berry Langerak's Blog: Getters and setters: evil or necessary evil? Web Development Blog: Why should you cache your PHP website? Zend Developer Zone: A little fun with the average tech salaries as reported by...

Upcoming PHP Courses

Upcoming PHP Courses
Since becoming freelance 18 months ago, I've taught a number of courses at my excellent local tech training centre, NTI Leeds. Over the next few months we're running some one-day PHP courses (see my course dates page for more detail and the dates, all these are in Leeds although I'd like to run them elsewhere too), targeted at a particular area or set of skills. These are areas that I find myself delivering consultancy or training on frequently, or things I teach when I go places and realise these gaps...