PHP

  • submit to reddit

10 awesome PHP functions and snippets

Every web developer should keep useful code snippets in a personal library for future reference. Today, I’m showing you the 10 most useful snippets and...

0 replies - 1217 views - 05/28/13 by jb j in Articles

The Wheel: Monolog

Logging is one of the task that most application have to perform while getting no strategic advantage out of it (and hence not putting an investment into it)....

0 replies - 1718 views - 05/27/13 by Giorgio Sironi in Articles

Simplest PHP Generator Example

I really like the generators feature that's arriving in PHP 5.5, and since we're now into release candidate releases, it's actually not that far away. I've...

0 replies - 1335 views - 05/23/13 by Lorna Mitchell in Articles

DrupalCon 2013: Introducing Drupal Hooks and Views Metrics

This post comes from Belinda Runkle at the New Relic Blog. We <3 Drupal! DrupalCon has returned to Portland. And naturally we’re very...

0 replies - 898 views - 05/22/13 by Leigh Shevchik in Articles

Resize Image Class With PHP

A common feature that you will come across in websites is the ability to resize an image to fit an exact size so that it will be displayed correctly on your...

0 replies - 870 views - 05/21/13 by Paul Underwood in Articles

Cloning in PHP

Cloning is an operation consisting in the duplication of a data structure, usually to avoid the aliasing problem  of having different code modify the same...

0 replies - 1814 views - 05/15/13 by Giorgio Sironi in Articles

Getting Started WIth Laravel PHP

If you code for the web, you’ll most likely have seen all the fuss about the Laravel PHP framework. I’ve decided to take a look and see what all the fuss...

0 replies - 1547 views - 05/12/13 by Andy Hawthorne in Articles

Setting Multiple Headers in a PHP Stream Context

Last week I tried to create a PHP stream context which set multiple headers; an Authorization header and a Content-Type header. All the examples I could find...

0 replies - 993 views - 05/08/13 by Lorna Mitchell in Articles

Hit the Mobile Road with Top 5 Responsive Drupal Themes

Did you know- as of 2011, 1.1 Billion broadband subscribers used their mobile devices to browse the internet? The number of mobile internet users has...

0 replies - 608 views - 05/07/13 by Jason Roiz in Articles

Serializing Data Like a PHP Session

 PHP has several built-in ways of serializing/unserializing data. The most cross-platform is json_encode; pretty much every programming stack can JSON...

0 replies - 995 views - 05/05/13 by Josh Adell in Articles

The Wheel: Symfony Stopwatch

It's impossible to predict performance and you need the right tooling to measure it. The Stopwatch Symfony Component is a userland object that lets you time...

0 replies - 2023 views - 05/01/13 by Giorgio Sironi in Articles

Display A List Of Authors On WordPress

On some blogs it is important to post on a regular basis, but this can be difficult unless blogging is your full time job. For a single person to...

0 replies - 914 views - 04/30/13 by Paul Underwood in Articles

How to stub SOAP in PHP

I do not usually dismiss technologies without regarding to context, but if you have modern web applicatons in mind SOAP is simply wrong, starting from its...

0 replies - 853 views - 04/28/13 by Giorgio Sironi in Articles

Video: Testing Online Crazy Glue: Strategies for building testable PHP applications

I've been teaching programming for a few years now, and I've come to realize that the harder a languages is to teach, the more poorly designed it is.

0 replies - 2014 views - 04/28/13 by Allen Coin in Articles

API Crafting Secrets: Into Jamendo API

 Originally authored by Guillaume Balas ...

1 replies - 1173 views - 04/26/13 by Steven Willmott in Articles