Quantcast
Browsing latest articles
Browse All 12 View Live

Packt Publishing: PHP Magic Features

Packt Publishing has posted a new article from Jani Hartikainen about the "magic methods" that PHP comes with - methods, properties and constants really. Magic methods, which are class methods with...

View Article


Joseph Crawford's Blog: MySpace PHP REST Library

For those still looking to interface with MySpace, Joseph Crawford has pointed out an official REST library for PHP to connect with their API. Over the last few days I have been digging deep into the...

View Article


Paul Reinheimer's Blog: Memcached Constants - Lame Code

If you've worked with memcached and have ever run into an error, you might get tossed a code, the value of the error's constant, rather than the actual constant name. Paul Reinheimer was seeing just...

View Article

Brandon Savage's Blog: Custom Apps: Some Strategies For Easy Configuration Files

In this new post to his blog today Brandon Savage looks at configuration options for PHP apps and gives some examples to help you get the thought process started for your development. One of the...

View Article

DevShed: Effects of Wrapping Code in Class Constructs

DevShed has a new tutorial posted today looking to help you counteract the bad practice of wrapping procedural code in "class" constructs and provide some useful suggestions of how to avoid it. Static...

View Article


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

View Article

Mike Purcell's Blog: PHPUnit - Constant Already Defined - -process-isolation

In this new post from Mike Purcell shares a solution to an error he came across in his unit testing - a "Constant already defined" message - and how he fixed it. When upgrading the unit tests I had no...

View Article

Lee Davis' Blog: The enum conundrum

In a new post to his blog Lee Davis describes the enum conundrum - what's the right solution for effectively using ENUM-type fields in your data? So a user signs up and I want to store a status that...

View Article


The PHP.cc: PHP 5.5: New CLASS Constant

The PHP.cc have posted another article in their series looking at the new features that come with the latest release of PHP (5.5). In this new post they cover the "CLASS" constant. Last week, the...

View Article


NetTuts.com: Refactoring Legacy Code: Part 2 - Magic Strings & Constants

NetTuts.com has posted the second part of their "Refactoring Legacy Code" series today continuing on from their beginning of the series. They continue the refactor of their "trivia" application. Old...

View Article
Browsing latest articles
Browse All 12 View Live