PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 101 to 120 of 248

Community News: Latest PECL Releases for 04.19.2011

Community News: Latest PECL Releases for 04.19.2011
Latest PECL Releases: rrd 1.0.0 hidef 0.1.7 rrd 1.0.1

Symfony2, what I think is still left to do

Symfony2, what I think is still left to do
The goal of this blog post is to number one serve me as a todo list of stuff that I personally think needs to be fixed before Symfony2 can be released. Hopefully it will also entice some people to help out with these tasks. I am focusing on the medium to large tasks. There are of course still a fair number of smaller fixes that need to be applied. finish form layer rewrite (and close the many related tickets and PRs) attempt to automatically determine service scopes clean up Security component...

Escaping MySQL strings with no connection available

Escaping MySQL strings with no connection available
We're all being drilled over and over again to always use mysqli::escape_string, PDO::quote, or preferably prepared statements when escaping user-supplied strings for use in MySQL queries. The downside to these methods is that they only work when there's an open connection to a server. So what if there's no connection available? In traditional Unix philosophy I'm writing an export script that doesn't execute SQL statements right to a server, but sends them to stdout. Forcing people to make a connection...

PHP replication and load balancing plugin: master_on_write, documentation

PHP replication and load balancing plugin: master_on_write, documentation
Hours ago, I have committed the first documentation draft for PECL/mysqlnd_ms. The mirrors should show it on Saturday. PECL/mysqlnd_ms is a replication and load balancing plugin for the mysqlnd library. Its latest feature, master_on_write, helps to work around the issue of replication lag. If master_on_write=1, the plugin ...

Zend Developer Zone: Book Report: Easy PHP Websites with the Zend Framework

Zend Developer Zone: Book Report: Easy PHP Websites with the Zend Framework
On the Zend Developer Zone Cal Evans has written up a "book report" about a new release from Jason Gilmore, "Easy PHP Websites with the Zend Framework". Cal's review covers some of the good, the bad and the "interesting" he found while reading through the book.Those readers who know me, know that I'll pass on writing a review on a book I don't like. Having written one (and have another in the works), I know the work that goes into even a bad one. So instead of denigrating someone else's work, I'll simply...

A few podcast goodies to kick your week off right

A few podcast goodies to kick your week off right
I love podcasts. I listen to them in most of my spare time. Walking the dog, cutting the grass or just cooling my heels waiting on the next great thing that is happening, i can usually be found with ear-bud inserted and MP3 player handy, ready to use the time constructively. Recently, I've listened to a couple of good episodes of my favorites acasts. Click on in, I'll share with you so you can enjoy them as well.

A few podcast goodies to kick your week of right

A few podcast goodies to kick your week of right
I love podcasts. I listen to them in most of my spare time. Walking the dog, cutting the grass or just cooling my heels waiting on the next great thing that is happening, i can usually be found with ear-bud inserted and MP3 player handy, ready to use the time constructively. Recently, I've listened to a couple of good episodes of my favorites acasts. Click on in, I'll share with you so you can enjoy them as well.

DZone.com: Profiling a PHP Application

DZone.com: Profiling a PHP Application
On DZone.com's Web Builder Zone today there's a new post from Eric Hogue talking about some of the tools you can use to profile your PHP application and squeeze that much more performance out of it (or maybe just find that pesky, elusive bug).When developing web applications, we often run into performance issues. People often blame PHP or MySQL for bad performance, but in most case the answer is not that easy. Blindly trying to optimize random parts of our applications can lead to some uneven results....

Thijs Lensselink's Blog: VIM for a PHP Developer

Thijs Lensselink's Blog: VIM for a PHP Developer
Thijs Lensselink has a new post to his blog today showing a step-by-step guide to setting up a vim editor environment to provide a richer experience than the plain-text defaults for working with your PHP code.For my coding work i mostly use Zend Studio. And i am a big fan of this IDE. But i also do a lot of work in the shell. And that asks for at least basic vim knowledge. My colleague is a big vim fan. And does most of his work in vim. So last week i was compiling a cheat-sheet for my self. And came...

PHPComCon Web Services Tutorial

PHPComCon Web Services Tutorial
If you are attending my Web Services tutorial at PHP Community Conference (if not, probably nothing for you to see here) later this week then you might like to download the sample code. I'll be referring to this and inviting you to "play along" as I go creating services during the session on Thursday - see you there!

Robert Basic's Blog: Grouping Zend Framework controllers in subdirectories

Robert Basic's Blog: Grouping Zend Framework controllers in subdirectories
Robert Basic has a new post today showing you how you can group your controllers in your Zend Framework application into subdirectories for easier organization.Thanks to a discussion on the Zend Framework mailing list I learned about a new feature, a feature that allows for grouping action controllers in subdirectories! Well, this is more of an unknown and undocumented feature than new, as it is the part of the framework for at least 3 years. Why am I so hyped about this? Because it allows for better...

Hannes Magnusson's Blog: up2date PHP5.3 packages for Ubuntu

Hannes Magnusson's Blog: up2date PHP5.3 packages for Ubuntu
In a new post to his blog Hannes Magnusson mentions that the PHP packages for Ubuntu linux installs are woefully out of date and can make a developer's live even more difficult than it already can be. It help ease the situation a bit, he's figured out how to provide custom PHP 5.3 packages to anyone who wants them through a service called Launchpad.Launchpad makes it really easy to provide your own custom packages, and even has a vast build farm to build packages automatically for different architectures...

Community News: Latest PEAR Releases for 04.18.2011

Community News: Latest PEAR Releases for 04.18.2011
Latest PEAR Releases: Net_SMTP 1.5.2

Me and Symfony2 learning about REST

Me and Symfony2 learning about REST
I hate the frontend. Maybe its just all the scars from the IE4 and IE6 days I had to suffer through, but since then I have taken every opportunity to move myself further away from the frontend. Database-land seemed equally ridden with incompatibilities but for some reason I coped better with that. Anyway, somehow this entire REST thing seemed frontend to me. I think at some point I ended up with the misconception that REST is about URLs. Mea culpa. Thanks to Fabien and his advocacy around learning the...

up2date PHP5.3 packages for Ubuntu

up2date PHP5.3 packages for Ubuntu
Most Linux distributions have a policy of not being to up to date with upstream releases of software, mostly for good reasons.AThis however is extremely painful for developers, as it means they often need to use really outdated version, containing all sorts of bugs - and even missing features. This has been pissing me off for quite some time, so I have been running my own PHP builds for a while - but when it comes to deploying the apps... the sysadmins obviously start complaining that they have to...

Ade Slade's DbUnit Talk

Ade Slade's DbUnit Talk
At #phpsw this week, former Gradwell-er and all-round good guy Ade Slade delivered a great talk about DbUnit. Testing in general, and doing testing the right way in particular, is one of his great passions as a developer, and he certainly brought a lot of enthusiasm and hands-on experience to an often-neglected part of unit testing one's code. The talk and slides are on Ade's blog.

Kenny Meyers' Blog: How CodeIgniter Works (Video from EECI 2010)

Kenny Meyers' Blog: How CodeIgniter Works (Video from EECI 2010)
If you've been wanting to get into development with CodeIgniter but are still struggling with some of the first steps, you should check out this new post (and video) from Kenny Meyers that steps you through some of the basics of using the framework and how it handles requests.Want to know how CodeIgniter works? I mean that question quite literally. What happens when someone visits your site and index.php is loaded by Apache/nginx/php-fpm? I gave a talk at EECI 2010 last year about this and it's finally...

Community News: IPC10 - PHP: Yesterdays Scala and the Cobol of tomorrow? (video)

Community News: IPC10 - PHP: Yesterdays Scala and the Cobol of tomorrow? (video)
The International PHP Conference has posted the video they recorded at their 2010 event of Pierre Joye and Johann-Peter Hartmann's keynote presentation "PHP: Yesterday's Scala and the Cobol of Tomorrow".PHP came a long way, and we are no longer the cool new kid on the block. On the other hand side we are still far away from being the new cobol, and there is a lot of great stuff going on inside php and the php community. What happened to PHP the last few years, what is happening right now and what will be...

Victor Farazdagi's Blog: New Project: Phrozn - static site generator in PHP

Victor Farazdagi's Blog: New Project: Phrozn - static site generator in PHP
On his blog today Victor Farazdagi introduces a new tool he's developed to help make the creation of static sites even easier - Phrozn, a static site generator that takes content and wraps it in a site's template and structure and outputs it for easy integration.Given the scale of how client-side technologies (such as JavaScript) evolved, most of dynamic functionality can be implemented using client-side scripts + remote web-services (e.g. Disqus for comments). More than often we a going down that road...

Ruslan Yakushev's Blog: WinCache and WordPress plugin upgrade problem

Ruslan Yakushev's Blog: WinCache and WordPress plugin upgrade problem
In a new post to his blog Ruslan Yakushev points out a new build of WinCache (the Windows caching tool for PHP) that makes life easier for WordPress users who want it to be able to to the auto-upgrade correctly.The WinCache extension 1.1 for PHP has been released last year. Since then several customers reported a bug in the extension that prevents WordPress and other PHP applications from performing automatic upgrades or their plugins. This was reported on WordPress forum as well as on WinCache forum....