PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 5301 to 5320 of 6889

Web Builder Zone: Real-life closures examples...for real

Web Builder Zone: Real-life closures examples...for real
On the Web Builder Zone (from DZone.com) Giorgio Sironi has a new post about closures with some real life examples...no really, real ones.I wrote an article long time ago about array_map(), array_filter(), and they are very handy in some cases, but I discovered there is a catch: they do their best when you already have a defined function to pass them. [...] So here's my real real-life example for closures: in my opinion, they are not meant for substituting foreach(), but for example to pass a curried...

Site News: Popular Posts for the Week of 12.17.2010

Site News: Popular Posts for the Week of 12.17.2010
Popular posts from PHPDeveloper.org for the past week:PHP.net: PHP versions 5.2.15 and 5.3.4 Released! Webgeekly.com: 20 Tips you need to learn to become a better PHP Programmer PHPBuilder.com: 10 PHP Tricks for Associative Array Manipulation Lorna Mitchell's Blog: Declaring Static Methods in PHP QaFoo.com: Testing file uploads with PHP Community News: Ibuildings announces Dutch PHP Conference 2011 Francesco Montefoschi's Blog: PHPADD: abandoned docblocks detector Brian Swan's Blog: How to Change...

Community News: ElePHPants - the Next generation

Community News: ElePHPants - the Next generation
If you've been trying to get your hands on one of the cuddly little mascots for PHP (the elePHPant) but haven't managed to yet, there's some good news! Another run of the fuzzy little animals is being done (the 6th) and this time they're offering something new - pink elePHPants.As we are now out of every of the 5 first generation of the elephpants, it is time to start a 6th. You'll find here all information to include yourself. [...] Fill in your elephpants wishes. We do not need any payement now. We...

Thumbnails

Thumbnails
Many of us have had the pleasure of building a web application that requires the automated building of thumbnails from images that are uploaded at runtime. Thumbnails are hardly the stuff of Nobel laureates, but they're an uncommon enough annoyance that implementing code to produce them seems like a fresh experience each time. The easiest way to produce thumbnails for a site is to use a pre-built library designed for that purpose. There are a few decent libraries for this, including the PHP Thumbnailer...

iFadey.com: Get Flickr Images Using SimpleXML

iFadey.com: Get Flickr Images Using SimpleXML
In this new post to the iFadey blog, there's a quick tutorial on using SimpleXML to fetch and parse the image feeds from Flickr.In this article you will learn two main things: how to parse XML using SimpleXML and how to get Flickr images from RSS feed and display them on your web page.He offers both a demo of it in action and a download of the source for those that want to jump right in. The tutorial walks you through fetching the XML feed for a Flickr gallery, loading it into a SimpleXML object and...

Chris Hartjes' Blog: Fun with API's - FRAPI and django-tastypie

Chris Hartjes' Blog: Fun with API's - FRAPI and django-tastypie
In some of his development work, Chris Hartjes has come across two tools that have made his life simpler, one that's specifically related to PHP and building APIs.Well folks, I've had another one of these ["why didn't I see this earlier"] moments. What is it? Repeat after me: THOU SHALL BUILD YOUR APPLICATION AS AN API FIRST, AND FRONT END SECOND. [...] So, here are two tools that I think my readers should know about. For those working with PHP, I cannot recommend enough the use of FRAPI if you have a...

ServerGrove Blog: ServerGrove is Once Again Sponsoring PHPBenelux

ServerGrove Blog: ServerGrove is Once Again Sponsoring PHPBenelux
As is mentioned in this new post to the ServerGrove blog, the company will be sponsoring the upcoming PHP Benelux conference happening January 28th and 29th, 2011 in Antwerp, Belgium.ServerGrove will be sponsoring the PHPBenelux Conference 2011 this year. PHPBenelux is one of the most active PHP organizations in Europe steadily promoting knowledge sharing events like this one. The 2011 conference offers an awesome schedule over two days. Friday January 28th offers tutorial sessions in the morning and the...

Oracle Technology Network: Using PHP and Oracle Database 11g (Tutorials)

Oracle Technology Network: Using PHP and Oracle Database 11g (Tutorials)
As mentioned by Chris Jones today, the Oracle Technology Network has posted a few new tutorials in their "Oracle By Example" series. Two of them deal with using PHP and the 11g version of the Oracle database.The first, Using PHP with Oracle Database 11g, is an introduction to some of the basics of interacting with the database including using connection pooling and tips on query optimization.The second tutorial, Developing a PHP Web Application with Oracle Database 11g, shows you how to build up a basic...

PHP.net: PHP 5.2.16 Released (End of Support for 5.2.x Series)

PHP.net: PHP 5.2.16 Released (End of Support for 5.2.x Series)
The latest version in the PHP 5.2.x series has been released today - PHP 5.2.16, the end of support for the 5.2.x series.This release focuses on addressing a regression in open_basedir implementation introduced in 5.2.15 in addition to fixing a crash inside PDO::pgsql on data retrieval when the server is down. All users who have upgraded to 5.2.15 and are utilizing open_basedir are strongly encouraged to upgrade to 5.2.16 or 5.3.4.They also link to the PHP 5.3 migration guide to help make the upgrade to...

The PHP collective

The PHP collective
The PHP collective (or the "PHP-Kolektiv" in German) provides you with a new amazing alternative for PHP training in Germany. Read more for schedule, dates and prices.

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:Ken Guest's Blog: Book Review: jQuery 1.3 with PHP PHPBuilder.com: Build an MVC Framework with PHP Konstantin's Blog: The Twitter OAuth PHP Class Gets Even Better IBuildings Blog: 137 CMS Systems NETTUTS.com: How to Build a Shopping Cart using CodeIgniter and jQuery WPEngineer.com: Use WordPress Cron NETTUTS.com: Tools of the Trade: Web Development Frameworks that the Pros Use PHP.net: PHP 5.2.12 Released! Sameer Borate's Blog: 7 essential...

Tutorial: Introduction to Unit Testing in PHP with PHPUnit

Tutorial: Introduction to Unit Testing in PHP with PHPUnit
It's a familiar situation: you've been developing on an application for hours and you feel like you've been going round in circles. You fix one bug and another pops up. Sometimes, it's the same one you found 30 minutes ago, and sometimes it's new, but you just know it's related. For most developers, debugging means either clicking around on the site, or putting in a whole load of debugging statements to hunt the problem down. You've been there, right? You've had these same frustrations with all your...

PHP 5.2.16 Released!

PHP 5.2.16 Released!
The PHP development team would like to announce the immediate availability of PHP 5.2.16. This release marks the end of support for PHP 5.2. All users of PHP 5.2 are encouraged to upgrade to PHP 5.3. This release focuses on addressing a regression in open_basedir implementation introduced in 5.2.15 in addition to fixing a crash inside PDO::pgsql on data retrieval when the server is down. All users who have upgraded to 5.2.15 and are utilizing open_basedir are strongly encouraged to upgrade to...

Legacy Jungle

Legacy Jungle
At some point in every developer's career, they get the opportunity to work on a gnarly, horrible briar patch of a project. Surviving that experience sharpens one's mind and skills. I like to believe that no developer sets out to create a monstrous mess of code. Instead, messes grow organically. As developers are pressed for time, lack experience, or are faced with ever-shifting requirements, the mess gets bigger until it's too big and hairy to handle. However these messes come to be, it could one day be...

Learn to use PHP and Python with Oracle Database

Learn to use PHP and Python with Oracle Database
The Oracle Learning Library has posted up the latest "Oracle By Example" labs giving an introduction to PHP & Python with the Oracle Database : Using PHP with Oracle Database 11g - a basic introduction Developing a PHP Web Application...

PHPBuilder.com: PHP Scripts for Interacting with Networks

PHPBuilder.com: PHP Scripts for Interacting with Networks
On PHPBuilder.com there's a new tutorial showing you some of the PHP functions that you can use to interact with the network surrounding (and even vaguely related to) your application.PHP has a great many tools for interacting with a network and also with the Internet. In this article, I examine some of those tools and functions to show how exactly you can use them to make your scripts more useful in a network environment. Click here to download the accompanying source code.They show how to use fopen to...

SitePoint PHP Blog: MySQL Transactions & Why They Can't Be Emulated in PHP

SitePoint PHP Blog: MySQL Transactions & Why They Can't Be Emulated in PHP
On the SitePoint blog there's a new article from Craig Buckler stating that MySQL transactions can't be emulated in PHP and shouldn't be discounted despite many developers seeing them as not much more than a performance hit.My recent article, "Top 10 MySQL Mistakes Made by PHP Developers" was far more controversial than I expected. Several of the more intriguing responses were from PHP coders who considered transactions to be an unnecessary overhead. With good-quality PHP code, they argued, you don't...

Zend Developer Zone: Announcing the December 2010 Zend Framework Bug-Hunt

Zend Developer Zone: Announcing the December 2010 Zend Framework Bug-Hunt
On the Zend Developer Zone today there's a new announcement from Ralph Schindler about this month's Zend Framework Bug Hunt happening this Thursday, Friday and Saturday (the 16th through the 18th).Has Zend Framework been good to you this year? Are you trying to figure out what to give to Zend Framework for Christmas? Well, search no more- Zend Framework wants one thing: for you to close some bugs at this month's bug-hunt! This Thursday, Friday and Saturday of December (the 16th, 17th and 18th 2010),...

Mayflower Blog: PHP_CodeBrowser goes stable

Mayflower Blog: PHP_CodeBrowser goes stable
According to this new post on the Mayflower blog, the PHP_CodeBrowser PEAR package has finally reached a stable state.We already wrote about CodeBrowser 0.9 in August and after fixing a few minor bugs the Mayflower Open Source Labs Team is very happy to present PHP_CodeBrowser 1.0.0.The PHP_CodeBrowser package allows quality assurance tools (like PHPUnit) to create enhanced output including syntax highlighting and colored error sections. It comes with some basic template, CSS, Javascript and image files...

Richard McIntyre's Blog: Weaving Lithium #li3 into a legacy PHP application incrementally

Richard McIntyre's Blog: Weaving Lithium #li3 into a legacy PHP application incrementally
Richard McIntyre has posted about his experiences in working the features the Lithium framework into one of his current applications, mostly because of its support for Doctrine and its heavily decoupled nature.I have a legacy application which was originally written in straight PHP with a few classes that I have created for convenience, but this is old and I am wanting to get this into a modern web framework. [...] I wanted to update my site with better validations anyway so I will start with flash...

Latest PHP Tweets