PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

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

Community News: Day Camp 4 Developers

Community News: Day Camp 4 Developers
If you're a developer are are looking on a way to brush up on some of your "soft skills" in your career of choices, you should check out this day long camp being organized by Cal Evans - Day Camp 4 Developers.Invest a Saturday in your career. Learn the skills you need from your five camp counselors. We promise no wallets or lanyards. This one-day, technology agnostic, online conference will feature 5 sessions in a single track. You participate in this live conference from the comfort of your own home or...

DataModeler: Simple ORM - Part 1 Models

DataModeler: Simple ORM - Part 1 Models
DataModeler is an Open Source ORM I began writing at the beginning of the year. I had experience with ActiveRecord, but was dissuaded from using it too often because it was difficult to unit test (at least I felt so). Wanting to learn Test Driven Development better, I decided to create my own small ORM framework: DataModeler. In this article, I'll go over creating a Model and the different ways you can modify one.

Zend Developer Zone: Creating PDF Documents with Zend Framework

Zend Developer Zone: Creating PDF Documents with Zend Framework
On the Zend Developer Zone there's a new post by Vikram Vaswani about a method for creating PDF files directly from a Zend Framework application (hint: it uses Zend_Pdf).PHP comes with a number of options to help developers dynamically generate PDF files from within their applications. The Haru and PDFlib extensions offer a complete API for dynamic PDF generation, and there also exist a number of open-source PHP components that can be used for the same purpose. This article will introduce you to one such...

Kevin Schroeder's Blog: You want to do WHAT with PHP? Chapter 3

Kevin Schroeder's Blog: You want to do WHAT with PHP? Chapter 3
Kevin Schroeder has posted another excerpt from his "You Want to Do WHAT with PHP?" book to his blog today. This time it's from the third chapter that looks at character encodings like UTF-8 or ISO-8859-1.I realized that while this 3.5-year PHP consultant knew Unicode, UTF-8, character encodings such as ISO-8859-1 or ISO-8859-7, I didn't understand them as well as I thought I had. With that I threw this chapter in the book. Knowing about character encoding is what many developers have. Not as many truly...

SitePoint PHP Blog: How to Roll Your Own JavaScript Compressor with PHP and the Closure Compiler

SitePoint PHP Blog: How to Roll Your Own JavaScript Compressor with PHP and the Closure Compiler
On the SitePoint PHP blog today there's a quick new post showing you how to create a Javascript compressor tool with PHP that uses the Closure Compiler from Google.In my previous post, I discussed the Closure Compiler's REST API. In this article, we'll develop a small PHP program that shows how the API can be used to compress JavaScript code whenever you need it.He shows how to compress three "script" tags down into one that defines multiple files for the engine to grab and compress. This is passed into...

Brian Swan's Blog: Managing Multiple PHP Versions with PHP Manager for IIS 7

Brian Swan's Blog: Managing Multiple PHP Versions with PHP Manager for IIS 7
In this new post to his blog Brian Swan talks about a tool that's been released by the IIS Team at Microsoft to make it even simpler to run multiple versions of PHP under IIS - the PHP Manager.Not only does the PHP Manager make it a no-brainer to run different PHP versions side-by-side on IIS, it makes it easy to register PHP with IIS, configure various PHP settings, enable/disable PHP extensions, remotely manage PHP configuration via the php.ini file, and check the PHP runtime configuration and...

Derick Rethans' Blog: Collecting Garbage: PHP's take on variables

Derick Rethans' Blog: Collecting Garbage: PHP's take on variables
Derick Rethans is republishing an article series he wrote (originally for php|architect) about the garbage collection that is included with the PHP 5.3 releases. He kicks off the series with this first post introducing internal variable handling.Before we start with the intricate details of PHP's new GC engine I will explain why it is actually needed. This, combined with an introduction how PHP deals with variables in general is explained in this first part of the column. The second part will cover the...

Ilia Alshanetsky's Blog: Beware of the default Apache 2 config for PHP

Ilia Alshanetsky's Blog: Beware of the default Apache 2 config for PHP
Ilia Alshanetsky has a suggestion for those setting up PHP and Apache2 for the first time - beware of the default configuration!About a week ago, I was doing some upgrades on my development machine and came across a rather nasty issue when it comes to how .php(s) files are associated with PHP in Apache. It seems that a number of distros including Gentoo (which is what I was using) are using the [same] configuration directive to make the PHP module parse PHP filesThe problem comes from their use of...

Wouter Lagerweij's Blog: Reading Up: Books Every Programmer Should Read

Wouter Lagerweij's Blog: Reading Up: Books Every Programmer Should Read
Wouter Lagerweij has posted a list of books he thinks every programmer should read to help them get a better handle on their process overall (they apply to any language out there, really).When discussing books on software engineering with colleagues, I got the idea of listing the best books I've read in the past 15 years. Because it seems useful, but also because that will allow others to tell me which ones I should have read.He lists five books that cover some of the "meta" about programming: Applying...

Community News: Latest PECL Releases for 08.31.2010

Community News: Latest PECL Releases for 08.31.2010
Latest PECL Releases: mogilefs 0.7.5

Collecting Garbage: PHP's take on variables

Collecting Garbage: PHP's take on variables
Collecting Garbage: PHP's take on variables London, UK Tuesday, August 31st 2010, 09:23 BST This is the first part of three-parts column that was originally published in the April 2009 issues of php|architect. In this three part column I will explain the merits of the new Garbage Collection (also known as GC) mechanism that is part of PHP 5.3. Before we start with the intricate details of PHP's new GC engine I will explain why it is actually needed. This, combined with an introduction how PHP deals...

How to Roll Your Own JavaScript Compressor with PHP and the Closure Compiler

How to Roll Your Own JavaScript Compressor with PHP and the Closure Compiler
In my previous post, I discussed the Closure Compiler's REST API. In this article, we'll develop a small PHP program that shows how the API can be used to compress JavaScript code whenever you need it. Why write your own system? You'll find that several free tools handle this task; one of the first PHP JavaScript compressors was written by Ed Eliot. Sometimes, however, they require technologies you don't use - such as Java - or may not cater for internal workflow processes, including: distributing...

The fine art of application virtualization

The fine art of application virtualization
The new 8-core Intel Xeon 7550 processors are extremely powerful and a good platform for virtualised applications. My company is setting up PHP application running on a Xen based virtualisation on two HP Proliant DL580 for a total of 64 cores in a high availability environment. We are using Zend Server CE (PHP 5.2) and Oracle 11gR2. More info later as i have to go for dim-sum with relatives in a few minutes time.

NerdMom Blog: Kohana 3 & CodeIgniter 2

NerdMom Blog: Kohana 3 & CodeIgniter 2
On the NerdMom blog there's a recent post from Jen about her experiences in developing in both the CodeIgniter 2 framework and Kohana 3 frameworks (upcoming versions of both).For the last month or so I've been developing an app side-by-side with Kohana 3 and CodeIgniter 2 to see which framework fits my programming style better. Nothing terribly fancy; just a simple CMS. [...] In the end it comes down to framework stability for me. And in this case, CI wins, hands down. Don't get me wrong; Kohana is...

Beware of the default Apache 2 config for PHP

Beware of the default Apache 2 config for PHP
About a week ago, I was doing some upgrades on my development machine and came across a rather nasty issue when it comes to how .php(s) files are associated with PHP in Apache. It seems that a number of distros including Gentoo (which is what I was using) are using the following configuration directive to make the PHP module parse PHP files: AddHandler application/x-httpd-php .php AddHandler application/x-httpd-php-source .phps The non-obvious problem with the above is that it will allow not only...

Olek Janiszewski's Blog: Autotest-like PHPUnit runner for a Zend Framework application

Olek Janiszewski's Blog: Autotest-like PHPUnit runner for a Zend Framework application
On the Continuous Development blog there's a new post showing how Olek Janiszewski came up with a solution to integrate PHPUnit and the Zend Framework via the watchr Ruby gem.Whenever working on a Ruby project, I'd run autotest with test_notifier to get immediate feedback on my code. Unfortunately, I don't know a similar utility integrated with Zend Framework and PHPUnit. [...] My solution is not as well designed and portable as test_notifier, and it doesn't play as nicely with my Zend application as...

Zend Developer Zone: Quick Start Symfony DI (Dependency Injection) Tutorial

Zend Developer Zone: Quick Start Symfony DI (Dependency Injection) Tutorial
On the Zend Developer Zone there's a recent post from Steven Lloyd Watkin giving you a quick start to a technique becoming more popular in the PHP development community - dependency injection.Dependency injection is a technique that allows for loosely coupled objects within a software application. Generally if an object requires access to the functionality of another it would be instantiated internally leading to tightly coupled systems. By implementing dependency injection we inject the required objects...

Cal Evans' Blog: Tips on how to get accepted as a speaker at a PHP conference

Cal Evans' Blog: Tips on how to get accepted as a speaker at a PHP conference
If you've been considering making the jump from conference attendee to speaker, Cal Evans has some great tips for you to help you get that proposal accepted at that next PHP conference.The selection committee has a responsibility to pick the topics and speakers that they know will give the attendees the highest return on their training dollar. That is why you see a lot of the same speakers at each big conference. [...] So how does a new speaker break into the national level? Here is the advice I give...

PHP Manager for IIS 7 - beta release

PHP Manager for IIS 7 - beta release
Today I am releasing PHP Manager for IIS 7 - beta, which is an IIS extension for setting up and managing multiple PHP installations on IIS 7 servers. It can be used to: Register PHP with IIS; Run multiple PHP versions side by side; Check PHP runtime configuration and environment (output of phpinfo() function) Configure various PHP settings Enable or disable PHP extensions Remotely manage PHP configuration in php.ini fille The PHP Manager installation packages can be downloaded from these locations: PHP...

PHPClasses.org: Lately in PHP podcast Episode 4 (Michael Kimsal)

PHPClasses.org: Lately in PHP podcast Episode 4 (Michael Kimsal)
On PHPClasses.org today the latest episode of their "Lately in PHP" podcast has been posted - among other things, an interview with Michael Kimsal from WedDev Publishing.On this episode of the Lately in PHP podcast, Manuel Lemos and Ernani Joppert interview Michael Kimsal from the WebDev publishing company.Other topics include the launch of JSClasses.org, some of the new developments that have been made towards the next release in the PHP 5.x series (PHP 5.4?) like type hinting as well as some aspects of...