PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 6141 to 6160 of 6889

listen to php conferences online

listen to php conferences online
I stumbled upon a nice source of PHP information today (I've apparently been hiding under a rock) and think other PHP geeks will be interested. The audio version of the Zend Conference Talks are online, meaning, you may freely listen to them at your leisure. So go there now, download the talk slides, then press [...]

Learning how to help people contribute to the PHP.net Project

Learning how to help people contribute to the PHP.net Project
While exploring ways to improve how the PHP project finds and teaches new contributors, I wondered how other projects do it so started the process of evaluating several. So far I've fallen in love with the Ubuntu approach because they offer a ton of information and promote it well. The PHP project does neither of [...]

a kudos to php geek felipe pena

a kudos to php geek felipe pena
Paul has written a few posts about members of the PHP community and this inspired one by me. It's about a guy few hear about but all benefit from and his name is Felipe Pena. Somewhat anonymous in the PHP community, he's a true superstar within the PHP.net project itself. His path began with several [...]

PHPVille almost released today

PHPVille almost released today
Today Facebook released a HipHop l33t shizznizzle of a tool for PHP but sadly it's not the PHPVille I was hoping for. PHPVille is probably a game that encourages PHP community members to work on the PHP project (over at php.net). Much like FarmVille, users simply cannot stop playing! Possible game features: Each SVN commit [...]

Chris Roane's Blog: Should PHP web programmers go to college?

Chris Roane's Blog: Should PHP web programmers go to college?
Chris Roane has a new post to his blog asking an interesting question - should PHP programmers/developers spend the time to go to college?A common debate in our field is whether or not a college education is worth it when becoming a PHP programmer. People will throw statistics in how much more money you can make with a college degree. But is the cost of college (time + tuition) for a four year degree better than the benefits of having four years of experience in the web programming field?He qualifies it...

Chris Jones' Blog: Zend Framework .htacess and Multiple Controllers

Chris Jones' Blog: Zend Framework .htacess and Multiple Controllers
Chris Jones has a new post to his Oracle blog today about a situation he found himself in with his recent Zend Framework application. The issue popped up when he tried to use more than just the basic controller.I've been using NetBeans with Frameworks recently. I had no problem when doing a single controller example in Zend Framework, so I knew everything was installed OK and mod_rewrite was "working" fine. But I would click a URL that should be routed to a second controller and see an error [about the...

Rob Allen's Blog: Unit testing controller actions with Zend_Test_PHPUnit_ControllerTestCase

Rob Allen's Blog: Unit testing controller actions with Zend_Test_PHPUnit_ControllerTestCase
Rob Allen has a new post for all of the unit test fans out there wanting to test their Zend Framework controllers. He show how to make it worlds easier with the help of Zend_Test_PHPUnit_ControllerTestCase.Testing controllers has traditionally been a hassle due to the requirements of setting up the bootstrap, the front controller and initiating the dispatch cycle. In June, Matthew addressed this with the release of Zend_Test_PHPUnit_ControllerTestCase way back in 2008. Later, Matthew helpfully wrote an...

Kevin Schroeder's Blog: Zend_Server

Kevin Schroeder's Blog: Zend_Server
In a new post to his blog Kevin Schroeder shows how to use the Zend_Server component of the Zend Framework to make a script that automatically makes the server you need based off of the request type.I've been doing some work with Adobe on some articles and one of them was on working with mobile clients with Flash. Well, me being the masochist I did more. What I did was write an example that worked as a full website, an Ajax website, a Flash service and an XML-RPC service. [...] In a plugin, which I will...

Gonzalo Ayuso's Blog: Using a stream wrapper to access CouchDb attachments with PHP

Gonzalo Ayuso's Blog: Using a stream wrapper to access CouchDb attachments with PHP
In his continuing look at using CouchDb as a file system, Gonzalo Ayuso has posted this third part in the group of articles about using streams to connect your scripts to the database instance.I'm still working in my filesystem with CouchDb. After creating a library to enable working with PHP and CouchDB (see the post here), and after using Monkey Patching to override standard PHP's filesystem functions. I've created another solution now. Thanks to a comment in my last post (many thanks Benjamin) I've...

Community News: Latest PEAR Releases for 09.06.2010

Community News: Latest PEAR Releases for 09.06.2010
Latest PEAR Releases: Mail_mimeDecode 1.5.2 PHP_CodeSniffer 1.3.0RC1 Mail_mimeDecode 1.5.3

Zend Framework Proposal: Zend\Html\Filter (html Sanitisation And Manipulation)

Zend Framework Proposal: Zend\Html\Filter (html Sanitisation And Manipulation)
For a while now, I've been keen to build a html Sanitisation solution for PHP. Where else would I end up putting it other than in Zend Framework? As I've explored in past articles [1] [2], html Sanitisation in PHP is a very inconsistent practice. Sanitisers like htmlPurifier are very secure out of the box but undeniably slow and resource intensive while others based on regular expression powered html parsing are much faster but tend to lose out a lot in the security stakes. Isn't it possible to create a...

Collecting Garbage: Cleaning Up

Collecting Garbage: Cleaning Up
Collecting Garbage: Cleaning Up London, UK Monday, September 6th 2010, 09:23 BST This is the second part of three-parts column that was originally published in the May 2009 issues of php|architect. Part one is here. In this second part of the three part column on the new garbage collecting mechanism in PHP 5.3, we'll dive into a solution to the problem with circular references. If we look quickly back, we found that by using code like the following, an in-request memory leak is created:...

PHP segfaulting with pecl/uuid and pecl/imagick

PHP segfaulting with pecl/uuid and pecl/imagick
Ran into a bug yesterday, where http://pecl.php.net/uuid in combination with http://pecl.php.net/imagick yielded a segfault when using uuid_create(). GDB backtrace looks like this (without the exact place where it happens in libuuid, as there is unfortunatly no libuuid1-dbg-package in current Ubuntu versions): gdb --silent --ex run --args php -r "var_dump(uuid_create());" #0 0xb6e85321 in ?? () from /lib/libuuid.so.1 #1 0xb6e862bf in uuid_generate () from /lib/libuuid.so.1 #2 0xb6bcc67a in...

recent work with zend framework and doctrine2

recent work with zend framework and doctrine2
I recently began working with an organization and we are in the midst of making some changes. They were not far enough along that any changes now make that much of a difference, but it was an odd set of changes nonetheless. Initially, the client had started with CodeIgniter (during a phone call earlier, there was interest in ZF2, but when I started they'd gone with CI). One of the first things I tried to do was to get unit testing set up with CI, and the CIUnit failed out of the box. We're using PHP5.3,...

The Central Tension Of Programming

The Central Tension Of Programming
The central tension in the software process comes from the fact that we must go from an informally identified need that exists in-the-world to a formal model that operates in-the-computer. From aoBeyond Programminga by Bruce Blum, as quoted in aoThe Design of Designa by Frederick P. Brooks Jr.

Local video stores going away? Hopefully not.

Local video stores going away? Hopefully not.
Just saw a comment on a forum that aBlockbuster has a dead business model', and I've noticed that one branch of our local video store chain closed. The other store, while still big, is feeling empty. The rise of Netflix predicted the end of video stores years ago, but it didn't happen. At least, not quickly. The rise of avideo on demand' also was seen as a nail in the coffin for video stores, but it didn't happen right away either. aVideo on demand' is something we've had via Tivo for 3 years from...

Highlight source code lines in LaTeX

Highlight source code lines in LaTeX
I love LaTeX for any kind of text writing (actually typesetting), simply because it creates so nice looking and consistent layouts. And, of course, because I can write it in my favorite text editor. We use LaTeX especially for presentation slides at Qafoo, since the beamer package provides such a convenient environment. Combined with listings package, presenting source code snippets with nice syntax highlighting has never been easier. However, there was one problem we did not solve, yet, until some days...

Chris Tankersley's Blog: Getting Started with Reflection

Chris Tankersley's Blog: Getting Started with Reflection
Chris Tankersley has a new post to how blog looking at a powerful but sometimes seldom used feature of PHP - Reflection. His post introduces you to some of the basics you can use to have your code find out more about itself.Reflection is a metaprogramming construct that allows a program to look into itself and do a multitude of different things - gain meaning, watch execution, call code, or even provide feedback. [...] With PHP 5, PHP gained a robust reflection class that allows a developer to gain...

Brian Swan's Blog: Accessing OData for SQL Azure with AppFabric Access Control and PHP

Brian Swan's Blog: Accessing OData for SQL Azure with AppFabric Access Control and PHP
Brian Swan has a new post to his blog today about consuming protected feeds of OData coming from SQL Azure in a PHP application.I did write a post a few weeks ago that described how to enable anonymous access to SQL Azure OData feeds (Consuming SQL Azure Data with the OData SDK for PHP), but I had a few things to learn about AppFabric access control before I felt comfortable writing about authenticated access to these feeds.He starts from the Azure side, creating a sample OData feed and adding...

Lorna Mitchell's Blog: Tips for Event Hosting: On The Day

Lorna Mitchell's Blog: Tips for Event Hosting: On The Day
Lorna Mitchell has posted her second part of her "tips for [tech] event hosting" series (first part here) with some suggestions for the day of the event - those last minute things that might get forgotten.As an organiser you should know exactly where you are going on the day and what you need. [...] As an organiser you see all the small behind-the-scenes crises, but if they are invisible to the average attendee, then you're doing really well.She makes suggestions about the little things - ensuring name...

Latest PHP Tweets