PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 141 to 160 of 248

Liip Blog: PHP 5.3 for OS X 10.6 One-Line Installer

Liip Blog: PHP 5.3 for OS X 10.6 One-Line Installer
On the Liip blog today Christian Stocker talks about a one-line installer that's been developed to get PHP 5.3 up and working on an OS X 10.6 platform without much hassle. The tool updates everything needed to get a bit more robust version of the language installed and ready for use.Apple computers and OS X are quite common here at Liip (and local.ch) as developer machines. But while OS X comes with a not-too-old PHP installation, it nevertheless doesn't have everything we need (for example the infamous...

PHPBuilder.com: Using the PEAR Pager Package to Paginate MySQL Results

PHPBuilder.com: Using the PEAR Pager Package to Paginate MySQL Results
On PHPBuilder.com today there's a new tutorial about using the PEAR Pager package to paginate through results from a MySQL query. The package makes it easy to pass in a data set and handle the pagination requests and interface.Fortunately a great solution [for paginating data] is at your disposal which has been created expressly for this purchase. The PEAR Pager package will not only handle all of the gory tracking details for you, but it can also create a linked navigation list which you can embed into...

Community News: FrOSCon Call for Papers Announced

Community News: FrOSCon Call for Papers Announced
This year's FrOSCon conference has officially opened their Call for Papers for this year's event. It's happening August 20th and 21st at the University of Bonn-Rhein-Sieg.The sixth Free and Open Source Software Conference in Sankt Augustin, near Bonn, will take place on August, 20th and 21st 2011. We are looking for submissions in order to again have a comprehensive and interesting program. You can find all you need to know at http://www.froscon.de/en/program/call-for-papers.html. You can find the...

Till Klampaeckel's Blog: A roundhouse kick, or the state of PHP

Till Klampaeckel's Blog: A roundhouse kick, or the state of PHP
Inspired by some of the recent discussions in the PHP community about the future of the language and the software that uses it, Till Klampaeckel has posted some of his own thoughts on the matter.Last week the usual round of PEAR-bashing on Twitter took place, then this morning Marco Tabini asked if PHP (core) was running out of scratches to itch. He also suggests he got this idea from Cal Evan's blog post about Drupal forking PHP.Till talks about a few different points others have made in their comments...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Advanced Sourcecode Reflection in PHP Data Base Process Output Handler Management Class DB Version Manager Ebay TurbolisterShipping Service Options MySQL Wrapper Class 2 XML-RPC DB URI Reputation Error Talk

PHP 5.3 for OS X 10.6 one-line installer

PHP 5.3 for OS X 10.6 one-line installer
Apple computers and OS X are quite common here at Liip (and local.ch) as developer machines. But while OS X comes with a not-too-old PHP installation, it nevertheless doesn't have everything we need (for example the infamous intl extension) and it's not that easily extendable with self-compiled extensions. The first reaction to that situation was usually to install one of the many available solutions to get everything we need. Like MAMP, XAMPP or install it with a package manager like homebrew or...

Wishing For A PEAR Channel Aggregator? Yes, Please!

Wishing For A PEAR Channel Aggregator? Yes, Please!
Image via Wikipedia There are a few things many PHP developers should be familiar with. We should be familiar with PEAR packages. We should be familiar with the PEAR installer. More and more of us actually are getting familiar with running PEAR channels. The problem that some of us have, like me, is that we're working against an architecture which focuses on the central PEAR repository. It's the elephant in the room, so to speak, and we spend year after year working around or completely ignoring it....

Ibuildings techPortal: DPCRadio: Real World Dependency Injection

Ibuildings techPortal: DPCRadio: Real World Dependency Injection
On the Ibuildings techPortal today they've posted the latest episode in their DPCRadio series (as recorded at last year's Dutch PHP Conference) - Stephan Hochdoerfer's talk Real World Dependency Injection.The Dependency Injection (DI) pattern is getting more and more attention in the PHP world due to it's code simplification effects. It focuses on the complete separation of object instantiation and dependency tracking from the business logic resulting in a loosely coupled system. In addition to that the...

Dries Buytaert: Staking our future on PHP

Dries Buytaert: Staking our future on PHP
Dries Buytaert recently came down off the mountain (literally, he was snow skiing) to write a post for his blog. Click on inside, I'll share the link, some of my own thoughts, and a call to action for you to speak up.

Oracle Technology Network: Scaling a PHP MySQL Web Application, Part 2

Oracle Technology Network: Scaling a PHP MySQL Web Application, Part 2
On the Oracle Technology Network today, the part two of "Scaling PHP MySQL Web Applications" (from Eli White) has been published. Part one can be found here.In Part 1 of this article, I explained the basic steps to move your application from a single server to a scalable solution for both PHP and MySQL. While most Web applications will never need to expand beyond the concepts presented in that article, eventually you may find yourself in a situation where the basic steps aren't enough. Here are some more...

Marco Tabini's Blog: Is PHP running out of itches to scratch?

Marco Tabini's Blog: Is PHP running out of itches to scratch?
In a new post to his blog Marco Tabini poses an interesting question - is PHP running out of itches to scratch in the evolution of the language?think it's fair to say that the pace at which PHP core is being developed has slowed down considerably over the past couple of years, while the development of many projects based on it, like programming and application frameworks, has sped up and continues to grow at a fast pace. But this doesn't mean that we're running out of steam. The PHP ecosystem is simply...

A MIME type for .php files

A MIME type for .php files
While setting some svn properties at work, we wondered about the correct MIME type for .php files. Looking around in the various magic MIME type detection lists on our unix machines and the official IANA MIME type list . The options we came up with were: text/php text/x-php application/php application/x-php application/x-httpd-php application/x-httpd-php-source MIME type rules Since there is no official MIME type registered at IANA, only an extension type (x- prefixed)...

Voices of the ElePHPant: Brandon Savage & Scott Gordon discuss pros/cons of working with a recruiter

Voices of the ElePHPant: Brandon Savage & Scott Gordon discuss pros/cons of working with a recruiter
In a new episode of the Voices of the ElePHPant podcast, Cal Evans has taken a break from the normal "Three Questions" format of the podcast so far and has instead posted an discussion about recruiters. Brandon Savage and Scott Gordon talk about the pros and cons of working with recruiters.Once I read [Brandon's post on why recruiters are bad for your career], I knew that I needed to get Brandon, and another friend of mine, Scott Gordon - a recruiter for Vaco and serious social media bad-ass - together...

Lorna Mitchell's Blog: Invalid Protected Resource URL in pecl_oauth

Lorna Mitchell's Blog: Invalid Protected Resource URL in pecl_oauth
In a quick post to her blog today, Lorna Mitchell talks about an issue with pecl_outh tat came up during her development of a new API. A strange fatal error message was breaking her connection.I'd gone through all the handshaking steps, got the acces token and was ready to start talking to the service itself. However when I tried to call OAuth::fetch, I got an error message: Fatal error: Uncaught exception 'OAuthException' with message 'Invalid protected resource url, unable to generate signature base...

A roundhouse kick, or the state of PHP

A roundhouse kick, or the state of PHP
Last week the usual round of PEAR-bashing on Twitter took place, then this morning Marco Tabini asked if PHP (core) was running out of scratches to itch. He also suggests he got this idea from Cal Evan's blog post about Drupal forking PHP. http://blog.tabini.ca/2011/04/is-php-running-out-of-itches-to-scratch/ http://blog.calevans.com/2011/04/07/four-reasons-why-drupal-should-fork-php/ [Not submitting to your linkbait.]Pecl and PHPSo first off - moving libraries from the core to an external repository...

Chris Hartjes' Blog: Book Review -- Easy PHP Websites with the Zend Framework

Chris Hartjes' Blog: Book Review -- Easy PHP Websites with the Zend Framework
Chris Hartjes has posted a book review of one of the latest books from Jason Gilmore, "Easy PHP Websites with the Zend Framework" (published March 2011)At 240 pages I wouldn't say this is the type of book that you can really read cover-to-cover at a rapid pace. I think it is more suited as a very long and expanded HOWTO for building an application from scratch. I was also pleased to see that Jason had made the commitment to pushing Test Driven Development by having the reader write tests for the site...

Brian Swan's Blog: Updating PHP Settings in Windows Azure

Brian Swan's Blog: Updating PHP Settings in Windows Azure
Brian Swan has a new post today looking at how you can update some PHP settings in your Windows Azure instance - an alternative to redeploying your every time your php.ini file might need an update.I came across this question on Twitter last week: "How can I turn display_errors on for an application that is running in Windows Azure?" I have to admit that I was stumped. The only thing I could think of was to re-deploy the application with an updated php.ini file. But, I happened to mention this question...

Community News: Latest PECL Releases for 04.12.2011

Community News: Latest PECL Releases for 04.12.2011
Latest PECL Releases: PDO_CUBRID 8.3.1.0003 CUBRID 8.3.1.0006 memcache 3.0.6

News for the symfony2 cmf: Second PHPCR implementation, hackday announcement and PHPCR to become "official"

News for the symfony2 cmf: Second PHPCR implementation, hackday announcement and PHPCR to become "official"
The Midgard Project started to implement the PHPCR interfaces for their content repository. From their website: Midgard is a persistent storage framework built for the replicated world. It enables developers build applications that have their data in sync between the desktop, mobile devices and web services. It also allows for easy sharing of data between users. This prompted us to clean up the separation between phpcr and jackalope. You find now everything that is phpcr in general on...

Invalid Protected Resource URL in Pecl_Oauth

Invalid Protected Resource URL in Pecl_Oauth
I had a funny (funny weird, not funny haha) problem the other day when working with pecl_oauth in PHP to talk to a service. I'd gone through all the handshaking steps, got the acces token and was ready to start talking to the service itself. However when I tried to call OAuth::fetch, I got an error message: Fatal error: Uncaught exception 'OAuthException' with message 'Invalid protected resource url, unable to generate signature base string' There are two things to notice about this. The first one is...