PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 101 to 120 of 219

Håvard Eide's Blog: ChaosMonkey

Håvard Eide's Blog: ChaosMonkey
HÃ¥vard Eide has a new post sharing a tool he's created (based on some ideas presented in this netflix blog post) for testing a web service. Specifically, his tool helps you test a web service developed with the Slim framework.I just pushed a example on how to create a ChaosMonkey with the Slim framework to github. The idea is that whenever you create a webservice with the Slim framework (which is really simple) you rarely test for failure, the ChaosMonkey class will help you to do just that. When...

My PHP framework winner predictions

My PHP framework winner predictions
First up, I can only claim to be an expert in Symfony2. My knowledge of other PHP frameworks basically consists of actively following twitter for things related to PHP, reading planet-php.org and taking the time to read up on linked mailing list threads and IRC chat logs. I have not been that active on the conference scene in the past few years, but the ones where I did attend I also tried to take a peek at what others are doing. Also this post is kind of exploratory to see what other people think,...

Phil Sturgeon's Blog: NinjAuth: The Social Integration Package PHP has been dying for

Phil Sturgeon's Blog: NinjAuth: The Social Integration Package PHP has been dying for
New on his blog Phil Sturgeon has a post about the social integration package PHP has been dying for - NinjAuth. It has hooks for OAuth and OAuth2 connections and makes it simple to use them completely abstracted.In the past I have never needed to implement oAuth into a PHP project. I have done it in Rails and boy it was easy thanks to OmniAuth. OmniAuth abstracts away so much of the grunt work that it takes about 5 minutes to add a new social network to your site, and 4 of those minutes are spent...

Community News: Latest PEAR Releases for 09.19.2011

Community News: Latest PEAR Releases for 09.19.2011
Latest PEAR Releases: Cache 1.5.7

Steps For Building A Test VM

Steps For Building A Test VM
Using virtual machines for testing software is great. I can try out anything I want, and there's never any risk of trashing my main dev machine (which avoids hours of lost coding time!). I've been using virtual machines since the 1990as, and frankly I couldn't develop without them. (I've also got a lot of experience running a private cloud of VMs for one of the UK's fastest-growing tech companies, but that's a topic for another day or maybe a conversation over a nice whisky at one of the upcoming...

Pfcongres 2011 wrap up

Pfcongres 2011 wrap up
This Saturday I started early to go to Pfcongres, a small PHP community conference in Utrecht organized by the Dutch PHP user group PHPFreakz and after about two hours driving I arrived about half an hour in time before the conference started, with me kick starting with my keynote "Community Works", a 199 slide deck explaining what the PHP community is and how people can be part of that community.My keynote was well received by the audience, although some comments were made it needed a more elegant flow...

Community News: PHP 5.4.0beta1 Released for Testing

Community News: PHP 5.4.0beta1 Released for Testing
The PHP development team has released the latest beta version of the PHP 5.4.x series for testing - 5.4.0beta1.Release candidates are development packages released to check if any critical problems have slipped into the code during the previous development period. Release candidates are NOT for production use, they are for testing purposes only even though in most cases there are almost no differences between the general availability (GA) release and the last RC. You can help the PHP Team and yourself...

Kevin Schroeder's Blog: Zend Framework 2 Event Manager

Kevin Schroeder's Blog: Zend Framework 2 Event Manager
Kevin Schroeder has a new post today sharing some of his experience with the Zend Framework 2 Event Manager in a simple example of pre- and post-validation hooks in a model.I got to play with the Event Manager. I did like the plugin functionality in ZF1, but it required some pretty static coding. In some cases, like the front controller plugins, it makes more sense (though this way seems more desirable). [...] It's a ZF1 application, but since (it seems) the event manager is self-contained (and the...

Michael Nitschinger's Blog: Quick Tip: Lithium Redirect

Michael Nitschinger's Blog: Quick Tip: Lithium Redirect
Michael Nitschinger has a "quick tip" posted in this new entry to his blog - how to handle a redirect in a Lithium-framework based application.While migrating pastium over to MongoDB (from CouchDB), I found [a] snippet in the routes.php file [that makes it so] when the user enters the application via the root url (/), he instantly gets redirected to /pastes/add (or a different URL if you have custom routes configured). This may seem ok at first, but there's a problem. It doesn't take URLs into account...

Lorna Mitchell's Blog: ArrayAccess vs ArrayObject

Lorna Mitchell's Blog: ArrayAccess vs ArrayObject
Lorna Mitchell has a new post to her blog explaining ArrayObject and ArrayAccess and how each is used.I help people qualify for Zend Certification and in the last few months I've had questions about both ArrayAccess and ArrayObject. This post is an attempt to illuminate both. In very simple terms, ArrayAccess is an interface, which you can implement in your own objects; ArrayObject, on the other hand, is a class, which you can either use or extend.She give an example of ArrayAccess - a simple class that...

XPertDeveloper.com: PHP Debugging Tools

XPertDeveloper.com: PHP Debugging Tools
On the XPertDeveloper.com blog today there's a new post sharing four handy debugging tools you can use to make finding those elusive problems in your code simpler.PHP is very well used scripting language in now a days. But PHP does not have any inbuilt debugging tools or extension. But we have some extensions and tools available which serves the debugging purpose of the PHP.The tools on their list involve both the backend and frontend: XDebug Zend Debugger FirePHP PHP Console

Site News: Popular Posts for the Week of 09.16.2011

Site News: Popular Posts for the Week of 09.16.2011
Popular posts from PHPDeveloper.org for the past week:Decal CMS Blog: Testing your website before launching: how to let content drive design (Part 1) Lars Tesmer's Blog: What My Co-Workers and I Learned When Trying to Write Unit Tests for PHPUnit Matt Farina's Blog: SplFixedArray, An Underutilized PHP Gem Federico Cargnelutti's Blog: Building a RESTful Web API with PHP and Apify .Net Magazine: Create an SVG data visualization with PHP Juozas Kaziukenas' Blog: Dependencies management in PHP projects Marco...

Community News: Symfony Camp UA 2011 Announced

Community News: Symfony Camp UA 2011 Announced
A new announcement has come out today about a new Symfony-related event happening at the end of October (on the 29th) in the Ukraine - Symfony Camp UA 2011 (a free event).The conference Symfony Camp UA 2011 is dedicated to the development of web applications with Symfony PHP Framework (http://symfony.com). The main topic of the conference is the new version of the framework - Symfony 2. It's the third conference of its kind in Ukraine. It'll take place in Kiev on October 29, 2011. If you want to...

XpertDeveloper.com PHP "Magic Quotes" Explained

XpertDeveloper.com PHP "Magic Quotes" Explained
If you're relatively new to the PHP world, you may be wondering why there has been so much emphasis put on "magic quotes" in the language's past. If you're not entirely sure what they are (and why to avoid them) take a look at this quick overview from XpertDeveloper.com.First of let me say that Magic Quotes is deprected from the PHP 5.3 and will be removed completely from the PHP 6. But as a developer you might face a situation when you have to work on application which runs on older version of PHP with...

Community News: SitePoint Launches PHPMaster.com

Community News: SitePoint Launches PHPMaster.com
The crew over at SitePoint have introduced a new PHP-specific resource that's looking to provide a good resource for those looking for community info and tutorials - PHPMaster.com.PHPMaster is the latest and greatest in the SitePoint family, dedicated to bringing you the highest quality in tutorials from some of the web's best PHP Developers, as well as news and information on events in the PHP Community.Tutorials posted so far include: Migrate from the MySQL Extension to PDO Monitoring File Integrity...

ProDevTips.com: MySQL replication in PHP - on the same machine

ProDevTips.com: MySQL replication in PHP - on the same machine
ProDevTips.com has a new tutorial posted today sharing a database replication script they've put together to keep two databases in sync.After reading up on MySQL replication for a bit I realized that it would go quicker to simply write something in PHP that would sync a subset of tables in one database to exact copies of the same tables in another. Note that the code/SQL [in the example] only works if you replicate from one database to another on the same machine since the main thing here are SQL queries...

ArrayAccess vs ArrayObject

ArrayAccess vs ArrayObject
I help people qualify for Zend Certification and in the last few months I've had questions about both ArrayAccess and ArrayObject. This post is an attempt to illuminate both. In very simple terms, ArrayAccess is an interface, which you can implement in your own objects; ArrayObject, on the other hand, is a class, which you can either use or extend. ArrayAccess ArrayAccess is an interface built in to PHP which lets you dictate how PHP behaves when an object has array syntax (square brackets) attached to...

Script-Tutorials.com: How to Use APC Caching with PHP

Script-Tutorials.com: How to Use APC Caching with PHP
On Script-Tutorials.com today there's a new article introducing you to using APC caching in your PHP applications. Their simple example sets up a caching class that handles the dirty work for you.Today I have another interesting article for PHP. We will talking about caching, and practice of using caching in php. I will make review of APC caching and will show you how you can use APC in PHP. [...] Now people have learned to use the server memory for data storage. RAM much faster than hard disk, and the...

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:Perplexed Labs: Convert HTML to PDF in PHP (libwkhtmltox extension) Gonzalo Ayuso's Blog: Building an ORM with PHP Cal Evans' Blog: How do I find good PHP developers? Qafoo.com: Practical PHPUnit: Testing XML generation Daniel Cousineau's Blog: Doctrine 1.2 MSSQL Alternative LIMIT/Paging Brandon Beasley's Blog: Codeigniter Vanity URLs Ralph Schindler's Blog: Exception Best Practices in PHP 5.3 Kevin Shroeder's Blog: Zend_Log with multiple...

Quality Assurance on PHP projects - PHPUnit lessons learned

Quality Assurance on PHP projects - PHPUnit lessons learned
This is what I like about the PHP community: people work out similar ideas and share what they've learned in the process. Sometimes people pick up ideas and work them out, sometimes people just continue the conversation.And I believe Lars Tesmer has done the latter, where he blogs on testing PHPUnit itself and the lessons learned in that process.Thank you Lars for sharing your lessons.