PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

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

PHP Benelux 2012 - Learning lessons

PHP Benelux 2012 - Learning lessons
After hearing about how great PHP Benelux Conferences were I finally made it over to Belgium to check it out, and i was impressed. To catch you up on the new, I moved to Amsterdam last december and thus had the chance of attending the conference which is now 2 hours away on a train ride. I could not expect less of a wonderful conference when names like Michelangelo van DamAare involved and this was no exception. Its a community conference, planned and organized by community leaders and for community...

Alessandro Nadalin's Blog: Managing PHP dependencies with composer

Alessandro Nadalin's Blog: Managing PHP dependencies with composer
Alessandro Nadalin has a new post to his blog looking at the Composer project and using it to manage packages and dependencies in PHP applications.Managing dependencies between pieces of software, in PHP, hasn't always been a relief: we had PEAR and PECL with their workflows and problems while, in other ecosystems, the solution to this problem has been solved in better ways, like NodeJS's NPM.He takes a first look at the tool, describing how to get it set up, create a sample configuration (describing...

PECL/mysqlnd_ms: faster slave reads

PECL/mysqlnd_ms: faster slave reads
Why read stale data from an asynchronous MySQL replica (slave)? Fetch it from a local cache instead! Good for the clusters overall load, good for your applications performance. And, possible with PECL/mysqlnd_ms 1.3, the replication and load balancing plugin for PHP MySQL users. The idea is simple Any application using asynchronous MySQL replication must be capable of handling stale results read from a slave (replica) that is lagging behind the master. The quality of service that the application...

Justin Carmony's Blog: SMS Nagios Notifications with PHP & Twilio

Justin Carmony's Blog: SMS Nagios Notifications with PHP & Twilio
In this latest post to his blog Justin Carmony looks at a system he created to hook his Nagios notifications into the Twilio web service and have it notify him via SMS with something was wrong.In the past I would just use my iPhone's email-to-txt email address. However, when I received the txt message, it wasn't formated very pretty, and it would have a different "From Number." So if we had a crazy day, I would have 20-30 message threads in my iPhone all about Nagios. [...] What I like out this setup is...

PHPMaster.com: Under the Hood of Yii's Component Architecture, Part 1

PHPMaster.com: Under the Hood of Yii's Component Architecture, Part 1
On PHPMaster.com today Steven O'Brien takes a look at a popular PHP-based framework, Yii - specifically one of the components that makes it up, the CComponent that provides a base for all other components in the framework.There's been a lot of buzz surrounding the use of frameworks for quite a while now and there are many great PHP frameworks to choose from. I was blown away by the simplicity and power of the base CComponent class in the Yii framework. [...] Every class in the framework extends from the...

PHPClasses.org: PHP 5.4 Features: Shall you Upgrade to the newer PHP Version?

PHPClasses.org: PHP 5.4 Features: Shall you Upgrade to the newer PHP Version?
Over on the PHPClasses.org blog today there's a new post looking at the next major upcoming PHP version (5.4), what it comes with and why you might want to make the upgrade.PHP 5.4.0 is planned to be released on February, 2 2012. By the time you are reading this, it may already been out. It is a result of many months of development. Many features were proposed for this release. Some made into this version, others did not make it at least for now. So, now you may be wondering which interesting features...

Charles Sprayberry's Blog: DI and global state

Charles Sprayberry's Blog: DI and global state
In response to some of the comments made on his previous post about why you should use dependency injection in your applications, Charles Sprayberry is back with some more concrete examples showing how it all works with some code to back it up.To help better explain each of the three aspects of DI I discussed in the previous article I'll be going over each more thoroughly and with those code examples requested. I'll be going through each point one at a time as the explanations will likely be of some...

Marcelo Gornstein's Blog: Writing PHP applications with Doctrine2 as ORM and Ding as DI container

Marcelo Gornstein's Blog: Writing PHP applications with Doctrine2 as ORM and Ding as DI container
In a recent post Marcelo Gornstein takes a look at using dependency injection with Doctrine2 using his Ding container.This article will show how we can develop software in php with a nifty design and architecture, and very much like other languages like java, using an ORM and an AOP, DI, Events container. I will assume you've read (or at least took a quick look) at this article that explains the tree layout used throughout the code, and that you have some basic knowledge of Doctrine2 and used it before...

Plat_Forms 2012 announcement

Plat_Forms 2012 announcement
Heise and the university of Berlin just announced the next iteration of the Plat_Forms programming contest. This time, the task all teams need to implement will be more "cloudy", not that frontend-heavy. Hopefully, PHP will perform better than in 2011 this time. If you have a team of 3 PHP developers and if you think you can compete with Ruby and Java: registration is open!

Presentation Tips from Benelux

Presentation Tips from Benelux
I had a great time at the recent PHP Benelux Conference in Belgium. There was a real mix of very interesting people to talk to, and I came away from it buzzing with new ideas (and a ridiculously long todo list). Some of the conversations I had during the weekend were around technical presenting at conferences and usergroups, so I thought I'd collect a handful of the tips that were discussed into a post, and use a few of my favourite speakers at the event to illustrate them.David ZAlkeDavid is the project...

Community News: Latest PECL Releases for 01.31.2012

Community News: Latest PECL Releases for 01.31.2012
Latest PECL Releases: xdebug 2.1.3 mysqlnd_ms 1.2.1

High quality JavaScript

High quality JavaScript
It's time for something big: Qafoo goes JavaScript and from now on provides expert consulting, training and engineering for the full stack of your web application. We warmly welcome Jakob Westhoff, a well-known expert for PHP and JavaScript, in our team.

Phix 0.15 Released

Phix 0.15 Released
Phix v0.15 is now available from pear.phix-project.org. This release is dedicated to my Dad, Leslie Herbert, who passed away in December 2011 whilst I was recovering from surgery. He was always encouraging me to spend as much time as possible working on my own software, and I'm sure he'd be happy that his PC has become my new dev box for working on things like Phix. What's New In This Release phploc support - the aophing code-reviewa command now also calculates the size of your component using phploc....

Roo J Solutions Limited is recruiting

Roo J Solutions Limited is recruiting
Article originally from rooJSolutions blog Since we have been very busy already this year, I have now almost completed the process of migrating from a Sole Proprietor into a Limited Company. Roo J Solutions Limited is now a registered Hong Kong Company. We are now looking for full or part-time staff (based in Hong Kong).APlease read the full post for details.A

Anson Cheung's Blog: Top 10 PHP Best Security Practices for Sys Admins

Anson Cheung's Blog: Top 10 PHP Best Security Practices for Sys Admins
In this recent post to his blog Anson Cheung provides a set of helpful hints for sysadmins to follow when installing (or just securing) the PHP installations on their systems.PHP is widely used for various of web development. However, misconfigured server-side scripting would create all sorts of problem. And here are php security best practices that you should aware when configuring PHP securely. Nowadays most of the web servers are operated under Linux environment (like: Ubuntu, Debian...etc). Hence, in...

Explore Cairo your self without a manual or tutorial

Explore Cairo your self without a manual or tutorial
There are some very good tutorials for doing some basic or a bit more advanced things in php gtk cairo. However it is logical that they do not cover everything. But luckily one can go further in using cairo by him self, I provide a single and very simple example script that allows you to discover all by your self things like: read more

DevShed: PHP Closures as View Helpers: Lazy-Loading File Data

DevShed: PHP Closures as View Helpers: Lazy-Loading File Data
In the second part of their look at using closures in PHP as view helpers, DevShed improves upon their original code by adding some additional classes and using them in the closures.The best way to show you how using anonymous functions can help you to develop more efficient OO applications is with some functional, hands-on examples. With this idea in mind, in the installment that preceded this one, I implemented an extendable template system. This system could spawn view objects and render the template...

PHPMaster.com: Pagination with CodeIgniter

PHPMaster.com: Pagination with CodeIgniter
On PHPMaster.com today there's a new tutorial showing you how to handle simple pagination in a popular PHP framework, CodeIgniter.Pagination is particularly useful when you are coding an application that interfaces with a database. A large dataset might have hundreds of possible results for one query, and pagination creates a much nicer user experience. In this tutorial, I'll use CodeIgniter's pagination library to show you how you can create a paginated list of results from a MySQL database. Along the...

Lorna Mitchell's Blog: PHP 5.4 Built In Webserver

Lorna Mitchell's Blog: PHP 5.4 Built In Webserver
Lorna Mitchell has posted a quick tutorial about a feature of the upcoming PHP 5.4 release, the built-in web server, and some tips on doing things like routing requests and changing the hostname.One of the big features arriving with PHP 5.4 is the addition of a built-in basic webserver for use in development environments. Quite a few of the other scripting languages have something like this so I'm very pleased to see it in PHP. Using a server like this makes it easy to quickly try out some scripts...

Jason Grimes' Blog: Using Doctrine 2 in Zend Framework 2

Jason Grimes' Blog: Using Doctrine 2 in Zend Framework 2
Jason Grimes has posted a new tutorial to his blog about integrating Zend Framework 2 with Doctrine, the powerful (and popular) ORM tool for PHP. In his example, he shows how to use them to store the album information from Rob's tutorial.Zend Framework 2 is getting close to release, and among the changes are new ways to handle dependency injection, and new ways to work with third-party code as modules. Rob "Akrabat" Allen has updated his iconic Getting Started with Zend Framework tutorial for ZF2, and...