PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 121 to 140 of 248

Book Report: Easy PHP Websites with the Zend Framework

Book Report: Easy PHP Websites with the Zend Framework
Jason Gilmore recently released a new book on developing websites with Zend Framework. Click on in, let's take a look at it, shall we?

Robert Basic's Blog: A hack for Zend Framework's translated route segments

Robert Basic's Blog: A hack for Zend Framework's translated route segments
Robert Basic has put together a new post to his blog about a hack he's found for the Zend Framework translated route segments when a "gotcha" popped up when he was trying to use them in a multi-language website.The web site's default locale, language, is English. If the user has no locale in the session/cookie, she, or he, will get the English version of the web site. [...] But! If the user's first visit is on the http://example.com/vesti URL ("vesti" is "news" in Serbian), the router can't route that...

Lorna Mitchell's Blog: Script for Database Patching at Deploy Time

Lorna Mitchell's Blog: Script for Database Patching at Deploy Time
As a part of one of her projects, Lorna Mitchell had a need to deploy database patches as a part of her overall deployment process. Obviously, doing this manually every time can be a hassle so she came up with a script that does the work for her (based on a patch_history table).My current project (BiteStats, a simple report of your google analytics data) uses a basic system where there are numbered patches, and a patch_history table with a row for every patch that was run, showing the version number and...

Site News: Popular Posts for the Week of 04.15.2011

Site News: Popular Posts for the Week of 04.15.2011
Popular posts from PHPDeveloper.org for the past week:Site News: Popular Posts for the Week of 04.08.2011 Lukas Smith's Blog: Symfony2 community pushing the PHP ecosystem PHPBuilder.com: 5 Popular PHP Template Engines Worth Checking Out Cal Evans' Blog: Four reasons why Drupal should fork PHP NetTuts.com: Managing Cron Jobs with PHP Kevin Schroeder's Blog: Why do you use PHP? Oracle Technology Network: Scaling a PHP MySQL Web Application, Part 2 RubySource.com: Confessions of a Converted PHP Developer:...

Script for Database Patching at Deploy Time

Script for Database Patching at Deploy Time
I've written before about a simple way of patching database versions and there's a much more comprehensive article from Harrie on TechPortal as well. I often find though that projects with patching strategies are missing the scripts to apply these automatically when the code is deployed, so I thought I'd share mine. My current project (BiteStats, a simple report of your google analytics data) uses a basic system where there are numbered patches, and a patch_history table with a row for every patch that...

Kenny Katzgrau's Blog: Why PHP Was a Ghetto

Kenny Katzgrau's Blog: Why PHP Was a Ghetto
In a recent post to his blog Kenny Katzgrau talks about why PHP was a ghetto (both on the quality front and the public perception) but how things have turned around and the language is being perceived as stronger all the time.I was talking with the Co-founder of a pretty cool start-up in DUMBO the other day about why the non-PHP development world generally has such disdain for PHP and the community surrounding it. He brought up an interesting point that stuck with me, largely because I hadn't heard it...

Job hunting? Here's a couple of quickies for you.

Job hunting? Here's a couple of quickies for you.
Things are starting to turn the corner on the jobs front. While tech jobs in general - and PHP developer jobs in specific - fared better than most sectors, it was rough there for a while. So now that things are starting to turn around, many developers are starting to move from aohunkered downa mode and are starting to consider their options. Here are a couple of recent blog posts to start you thinking.

WinCache and WordPress plugin upgrade problem

WinCache and WordPress plugin upgrade problem
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. The new build of WinCache with the fix for this problem is available now at the following location: https://sourceforge.net/projects/wincache/files/development/ The build 1.2.411 is a release candidate build....

Justin Carmony's Blog: PHP Itch to Scratch: Object Notation

Justin Carmony's Blog: PHP Itch to Scratch: Object Notation
In a new post to his blog Justin Carmony talks about a few "itches" he's wanted to scratched when it comes to features of the PHP language - in this post it's the notation that's used surrounding the use of objects.At the end [of Marco's post to his blog], he states it ultimately boils down to find a better way to bring features build downstream back upstream. So I thought I would do my part by first my blogging about a few "itches" I'd love to see scratched. My first itch would be some form of Object...

WebTutor.pl: Strong data typing in PHP, part II: autoboxing and indestructable objects

WebTutor.pl: Strong data typing in PHP, part II: autoboxing and indestructable objects
In the second part of their series looking at data typing in PHP, the WebTutor blog takes a different approach to supporting strong typing in PHP, using autoboxing and indestructible objects.In an earlier article on the strong typing I've described the typehint mechanism that provides data type enforcement for the values sent to the methods and functions. Unfortunately said implementation does not protect against another problem associated with the dynamic typing of variables: a lack of type enforcement...

Volker Dusch's Blog: Dealing with segfaults while PHPUnit code coverage generation for CI

Volker Dusch's Blog: Dealing with segfaults while PHPUnit code coverage generation for CI
Volker Dusch has a new post to his blog looking at handling segfaults during code coverage generation that might come up during your continuous integration process (with PHPUnit flavor unit tests).About half the "Build failed" mails I've gotten from Jenkins in the last two weeks where not due to me breaking the tests but just PHPUnit segfaulting. "Wait! I know PHPUnit can't segfault!", only PHP itself can. And it does, quite often. For some reason that probably has to do with using PHP 5.2.OLD it doesn't...

John Congdon's Blog: PHP User Groups (Orlando and Daytona Beach)

John Congdon's Blog: PHP User Groups (Orlando and Daytona Beach)
In this recent post to his blog John Congdon looks at some of his local user groups - Orlando and Daytona Beach in Florida - and how they handle their meetings and groups differently.I am a member of two PHP user groups. Each one runs a little bit differently. I am looking for feedback from other people in other PHP user groups to find ways we may be able to make these better. he East Central Florida PHP User Group (Daytona Beach area) is new/restarting. [...] They seem to be more geared towards teaching...

Christian Weiske's Blog: A MIME type for .php files

Christian Weiske's Blog: A MIME type for .php files
Christian Weiske has a recent post to his site looking at something most PHP developers don't even think about when serving up their scripts - the MIME types for PHP files.While setting some svn properties at work, we wondered about the correct MIME type for .php files.He found several in the official IANA list including "text/php", "application/php" and "application/x-http-php" - all valid but none of them considered a standard. He talks about the ones supported by linux distributions (like...

Voices of the ElePHPant: Interview with Ryan Weaver

Voices of the ElePHPant: Interview with Ryan Weaver
The Voices of the ElePHPant podcast has returned back to its usual interview format in this latest episode, an interview with Ryan Weaver an organizer of the Nashville PHP user groupCal's "three questions" for Ryan about getting involved in local user groups: What advantage do you get out of the labor you put into the Nashville PHP user group? When you start looking for speakers, how do you find them? If you had to pick one piece of advice to give to other user group leaders, what would it be? You can...

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:php|architect Blog: Goodies for PHPers in Internet Explorer 9 Alex Bilbie's Blog: MongoDB + CodeIgniter 101 (Part 1) Giorgio Sironi's Blog: Java versus PHP Josh Holmes' Blog: Creating a Simple PHP Blog in Azure Michelangelo van Dam's Blog: Zend Framework context switching for HTML content SANIsoft Blog: The longer Lithium Blog tutorial using MySQL '" Part 1 Phil Sturgeon's Blog: CodeIgniter Packages != Modules php|architect: Exclusive:...

Not only SQL - memcache and MySQL 5.6

Not only SQL - memcache and MySQL 5.6
This week there are two big events for the MySQL community: The O'Reilly MySQL Conference and Oracle Collaborate run by the IOUG. At these events our Engineering VP, Tomas Ulin, announced the latest milestone releases for our main products. MySQL 5.6 and MySQL Cluster 7.1 as well as our new Windows Installer. There's lots of cool stuff in there but one feature really excited me: MySQL 5.6 contains a memcache interface for accessing InnoDB tables. This means you can access data stored in MySQL not only...

Community News: Drupal and the Future of PHP

Community News: Drupal and the Future of PHP
On the Zend Developer Zone Cal Evans has posted some encouragement about sharing your own thoughts about the post from Dried Buytaert about the future of PHP and Drupal.As Dries says in his blog:It seems that we have arrived at a point in which there is a symbiotic relationship between PHP and the most popular PHP applications. A relationship that did not exist when PHP was created. Symbiotic relationships are obligatory: we depend entirely on each other for survival. And yet, I feel like we've been...

RubySource.com: Confessions of a Converted PHP Developer: Ugly Code

RubySource.com: Confessions of a Converted PHP Developer: Ugly Code
On RubySource.com there's a recent post with a bit of a confession from an ex-PHP developer who's moved over to Ruby about some of he is experiences in making the shift and why he's a convert now.I've been a PHP developer for nearly a decade, and in January this year I started developing in Ruby. While initially a sceptic, I'm now a convert - and I'm here to share my experiences with you. [...] I'd like to think of myself as a fairly good PHP developer, and the idea of moving to Rails was both scary and...

Padraic Brady's Blog: Wishing For A PEAR Channel Aggregator? Yes, Please!

Padraic Brady's Blog: Wishing For A PEAR Channel Aggregator? Yes, Please!
In his latest post Padraic Brady talks about an effort that's been put out there (by Stuart Herbert) to come up with a PEAR channel aggregator - something he fully supports.Since we seem to like blaming the PEAR Group, and getting that ball kicked back to us, it's time we did something useful. We've spent too much time ignoring PEAR as we grew apart from it with our frameworks, standalone libraries and custom plugin architectures. We're making life harder for ourselves in doing so. Stuart Herbert has...

Terminal (Bash) arguments tricks

Terminal (Bash) arguments tricks
Reading David DeSandro's last post on how to store strings in variables in terminal, or any bash-y shell (I'd say any unix shell but I'm sure there is a weird one out there that does things differently) for that matter, it struck me that many web developers seem to have a big disconnect with the shell. Now I'm no expert, but I know that the use case he describes can be solved much more efficiently, so I felt like writing a little follow-up, and hopefully teach you, dear reader, a thing or two. The short...