PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 1 to 20 of 248

Site News: Job Postings for the week of 04.24.2011

Site News: Job Postings for the week of 04.24.2011
Job postings for the past week:Job Posting: Perforce Software Seeks Web Application Developer (Victoria, BC Canada) Job Posting: Options Consulting Solutions Seeks PHP Developer Team Lead (Toronto, Canada) Job Posting: FireScope Seeks Experienced Web Application Developer/Manager (Dallas, TX)

PHPRiot.com: Reducing a Map Path Using Douglas-Peucker Algorithm

PHPRiot.com: Reducing a Map Path Using Douglas-Peucker Algorithm
On PHPRiot.com there's a new tutorial showing you how to use the Douglas-Peucker algorithm to make the pathing on your map the simplest possible (the fewer points the better) having serious benefits a wide range of users, most notably those on mobile devices.When drawing a path on a map (for instance, the directions from point A to point B) it is important to consider the limitations of the device you're drawing the path on. In this article, I will show you how to reduce the number of points in a path so...

Voices of the ElePHPant: Interview with Elizabeth Tucker Long

Voices of the ElePHPant: Interview with Elizabeth Tucker Long
The Voices of the ElePHPant podcast has posted their latest episode - an interview with Beth Tucker Long, Editor-In-Chief of php|architect.Cal's "three questions" this time are related to her experience coming in to PHP and her thoughts on the community: How did you get started in PHP? What do you look for in authors for [php|architect]? What new technology do you think will have the biggest impact on PHP developers in the coming year? You can listen to this latest episode either using the in-page player...

Symfony Blog: Symfony2: Getting easier

Symfony Blog: Symfony2: Getting easier
On the Symfony blog there's a new post about how Symfony2 is "getting easier" thanks to some recent changes with improved error handling and simpler configuration options.With the release of the first beta approaching fast, our main focus has switched from adding new features to polishing existing ones. [...] Recently, Ryan and I have spent our time tweaking error messages, simplifying the code and the configuration, adding more documentation, and making things more consistent throughout the framework....

Hannes Magnusson's Blog: There is an app^Wppa for that

Hannes Magnusson's Blog: There is an app^Wppa for that
Hannes Magnusson, in an effort to make it easier for developers to play with the latest shiny features of the current PHP development, has created a PPA for the latest daily status of the PHP project's trunk line of code.There is still no public "development preview" or alpha release, but that doesn't mean we can't play around with it, report bugs, ensuring our apps still properly work with it etc etc etc. It is however a bit annoying needing to "go old-school" and fetch a snapshot and build it yourself...

Visualizing PHPUnit runs

Visualizing PHPUnit runs
LESS, a project I'm currently hacking on @work, has has a unit test suite that was a pain to use because the ~80 tests took 45 seconds to run. The problem with that test suite is that you just don't run it often enought during development because it's just too long. Running the specific test cases for the part of the application you're working on is easy and fast, but that does not tell you when changes in part A of the app break part B - which happened several times, and all just because...

Ibuildings techPortal: DPCRadio: Technical Writing

Ibuildings techPortal: DPCRadio: Technical Writing
On the Ibuildings techPortal they've posted a new episode of their recordings from the Dutch PHP Conference 2010, DPCRadio - a recording of Elizabeth Naramore's session Technical Writing.If you've had an idea for writing a blog post or article, but you're not sure where to start, this talk is for you! Maybe you've had difficulty effectively documenting your code, or communicating your ideas to non-techies. This talk will help you, too! In this fun and informative session, we'll discuss the basics of...

API documentation in Jenkins with DocBlox

API documentation in Jenkins with DocBlox
People using PHP that want API documentation usually automatically think of phpDocumentor, which used to be the de facto standard for generating API documentation from your PHP projects. However, the project has been dormant for a long time now and definitely does not support new PHP features such as namespaces, so it was really time to look for an alternative. In this blogpost, I'll show you how I set up my Jenkins CI to use DocBlox, one of the new API documentation generators currently available.

Site News: Popular Posts for the Week of 04.29.2011

Site News: Popular Posts for the Week of 04.29.2011
Popular posts from PHPDeveloper.org for the past week:DreamInCode.com: Preventing PHP Mail(...) Header Injections NetTuts.com: Protect a CodeIgniter Application Against CSRF Brian Moon's Blog: PHP Frameworks Chris Roane's Blog: The Last Few Years: What a PHP Programmer Has Learned James Cohen's Blog: How to Avoid Character Encoding Problems in PHP CodeIgniter.com: Tickets On Sale For CICON2011: The First US CodeIgniter Conference Eric Hogue's Blog: Late Static Binding Zend Developer Zone: My Favorite...

May is conference month!

May is conference month!
The upcoming month is a crazy month in terms of PHP conferences. There is a lot of very good conferences going on, and I'm very happy to be attending three of them! I will either be speaking or hosting an uncon. It is a busy month and I'm looking forward to it, and I hope to see you at one of these!

Community News: ZendCon 2011 Call for Papers Opens!

Community News: ZendCon 2011 Call for Papers Opens!
As was mentioned by Kevin Schroeder, the Call for Papers for this year's Zend/PHP Conference has officially been announced!We are happy to announce that planning is underway for the 2011 Zend/PHP Conference which will be held in Santa Clara, October 17-20. ZendCon 2011 will be the best conference yet and we would like to invite you to be a part of it! A conference is only as good as its speakers and we are looking for the best speakers to share their knowledge and expertise with the PHP community....

PHP_CodeSniffer Article in php|architect

PHP_CodeSniffer Article in php|architect
TheAApril 2011 issue ofAphp|architect Magazine was published today and includes an article by me entitled aoKeeping Code Smelling Pretty With PHP_CodeSniffer.a Feel free to leave a comment on this blog post if you read it and enjoy it or have a suggestion on how to improve my presentation of the material. Thanks in advance!

SitePoint PHP Blog: Simple Object Iterators in PHP

SitePoint PHP Blog: Simple Object Iterators in PHP
On the SitePoint PHP blog today there's a new post from Craig Buckler looking (quickly) at a handy feature of the Standard PHP Library (SPL) that can help make working with objects and arrays simpler - object iterators.If you've been coding in PHP for a while, you may be familiar with the foreach loop. It provides an easy way to analyze every item in an array. As well as arrays, it's also possible loop through an object. If your object contains a collection of items, you can use a foreach loop to iterate...

Chris Jones' Blog: Malicious website use will never go away: how do you manage it?

Chris Jones' Blog: Malicious website use will never go away: how do you manage it?
Chris Jones has a new post to his OTN blog today pointing to two new articles by Eli White about managing malicious website use:The techniques Eli covers will always be applicable in one form or another. They should be a fundamental part of any website architect's bag of tricks.The first article focuses more on methods for preventing and dealing with the inevitable spamming that comes with running a larger site. Eli's experience at Digg has provided him with recommendations like creating hurdles for...

DZone.com: Using a stream wrapper to access CouchDb attachments with PHP

DZone.com: Using a stream wrapper to access CouchDb attachments with PHP
On DZone.com today there's a new post from Gonzalo Ayuso about using a stream wrapper to access CouchDb database directly from PHP (via a call to its local file).Thanks to a comment in my last post (many thanks Benjamin) I've discovered that it's possible to create a stream wrapper in PHP (I thought it was only available with a C extension). It's pretty straightforward to create the wrapper. Of course it's only an approach. We can create more functionality to our stram wrapper but at least this example...

Shay Ben Moshe's Blog: PHP's native array vs SplFixedArray performance

Shay Ben Moshe's Blog: PHP's native array vs SplFixedArray performance
Shay Ben Moshe has put together a quick post today where he benchmarks array handling performance differences between PHP's native array and the newer SplFixedArray data structure that's a part of the Standard PHP Library that comes with any recent version of the language. In PHP, arrays are one of the most fundamental data structures. We use them everywhere. They are very flexible, because they are implemented as associative arrays, and therefore let us use both string and integer keys. They are also...

Jeremy Brown's Blog: A Conversation About REST

Jeremy Brown's Blog: A Conversation About REST
As mentioned in this new post to his blog Jeremy Brown has put together a presentation he calls "A Conversation about REST", a discussion that centers less around the implementation of REST and more about the concepts needed to fully understand it.REST is a set of principles and not a specification, so as such you have freedom in how to develop your API. This freedom can lead to confusion though, as it's hard to find concrete examples of its implementation. This presentation explained what REST is and...

Zend Developer Zone: Announcing the April 2011 Zend Framework Bug-Hunt

Zend Developer Zone: Announcing the April 2011 Zend Framework Bug-Hunt
On the Zend Developer Zone there's a new post from Ralph Schindler announcing this month's bug hunt days for the Zend Framework project - April 28th (today!), 29th and 30th.Now that you're done paying the Tax Man (for the North Americans reading this blog post), it's time to pay it forward by helping an open source project close some issues! For those who haven't put the reoccurring event in their calendar, this announcement is for you. [...] For those of you unfamiliar with the event, each month, 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:ServerGrove.com: MongoDB with PHP and symfony WebDev Radio: Episode 76: Lithium Framework for PHP CMSReport.com: Expert PHP 5 Tools book NETTUTS.com: Quick Tip: Loop Through Folders with PHP's Glob() Vance Lucas' Blog: NoSQL First Impressions: Object Databases Missed the Boat Paul Reinheimer's Blog: A GUI for XHProf php|architect: OddWeek #7: Talking with a recruiter Abhinav Singh's Blog: Setting Nginx, PHP Fastcgi and XCache on a new...

There is an app^Wppa for that

There is an app^Wppa for that
Want to try out PHP5.next (PHP5.4?) on Ubuntu? After the death of PHP6.0 a while ago, development of PHP.next (PHP5.4 probably?) has been going on. There are a lot of cool features there try out - like traits, scalar type hint, and sh**loads of smaller features. There is still no public "development preview" or alpha release, but that doesn't mean we can't play around with it, report bugs, ensuring our apps still properly work with it etc etc etc. It is however a bit annoying needing to "go old-school"...