PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 5961 to 5980 of 6889

Web Builder Zone: PHPUnit 3.5: easier asserting and mocking

Web Builder Zone: PHPUnit 3.5: easier asserting and mocking
On the Web Builder Zone (part of DZone) Giorgio Sironi has a new article talking about new features in the latest release of PHPUnit including one of his own introduction - the MockBuilder to make mocking in tests simpler.The official release of PHPUnit 3.5 is now available for PEAR installation, after a long beta period. PHPUnit 3.5 provides many new features such as a bunch of new assertions methods and annotations, and a little but very useful contribution of mine: the MockBuilder. [...] As you may...

Community News: Latest PECL Releases for 09.28.2010

Community News: Latest PECL Releases for 09.28.2010
Latest PECL Releases: Judy 0.1.1 Judy 0.1.2 timezonedb 2010.13

Manipulating Configuration Data with Zend_Config

Manipulating Configuration Data with Zend_Config
When building a Web application, you'll often find it necessary to save and retrieve user-defined configuration values. Rather than rolling your own code, consider using Zend_Config, which offers a complete API to read and write configuration data in INI, XML and PHP array formats. In this article, I'll give you a crash course in how Zend_Config works, and show you how you can integrate it into a PHP application.

Authenticating with OAuth from PHP

Authenticating with OAuth from PHP
I've been looking into OAuth recently and really like what I see, so I started looking at actually starting to play with something that uses it (and isn't twitter). In the pursuit of this, I spent some time walking through the process of how to actually authenticate using OAuth, as a client. I chose Yahoo!'s service, because they have some fabulous developer documentation and have a standard OAuth implementation. Although you don't strictly need any special libraries to handle OAuth, that would be a bit...

Magic has a price, but it doesn't need to be your life

Magic has a price, but it doesn't need to be your life
So I heard rumors that one of the teams at Liip was struggling with the performance of a symfony app, which was casting doubt on symfony in general. Now that team solved their performance issues by using a filter to do some aggressive caching. This fit nicely in the content workflow anyway since updates do not come in all the frequently anyway. So they just cache everything and added a feature to prime the caches for content changes. Problem solved, but doubts remained for other projects. So I wanted to...

Another PHP Unconference is over - A wrap up

Another PHP Unconference is over - A wrap up
This years PHPUnconference is over. As every year before, it has been a fantastic event. The Unconference in Hamburg is one of the meet-ups, which I am happily looking forward to each year.

Symfony News: Translation Component Now Avabilable (Symfony2)

Symfony News: Translation Component Now Avabilable (Symfony2)
As Fabien Potencier recently mentioned, the Translation component for the Symfony framework has recently been made available for use in the Symfony2 framework.The Symfony2 Translation Component is now available. The documentation is here on github. As always, I need your feedback.The documentation includes some best practices examples and describes how to use it to internationalize all of the messages in your application. You'll need to update your configuration yaml files with a few settings so you can...

Lorna Mitchell's Blog: Missing pcre.h when installing pecl_oauth

Lorna Mitchell's Blog: Missing pcre.h when installing pecl_oauth
If you've ever come up against an error when trying to compile the pecl_oauth package (from the PECL repository), you might take a look at this new post from Lorna Mitchell on how she solved the issue and got the compile running smoothly again.When I tried to install from PECL, it grabbed the files, ran the configure step but stopped with an error status during make. [...] Closer inspection showed this line around the point things started to go wrong: Error [...] pcre.h: No such file or directory. I...

Rob Allen's Blog: ZendTool providers in ZF2 (dev1)

Rob Allen's Blog: ZendTool providers in ZF2 (dev1)
Rob Allen has a quick post about his conversion of his schema manager over from the Zend Framework version 1 to the upcoming version 2 - a simple task, as it turns out.I've started playing with the development versions of ZF 2.0 and one of the first things I thought I'd do was to port Akrabat_Db_Schema_Manager. It turned out to be reasonably easy. All I needed to do was rework my use of ZF components to use the new ZF2 ones. Whilst I was at it, I also converted it to use namespaces. I also had to...

Brian Swan's Blog: Rendering SQL Server Reports as Excel Documents with PHP

Brian Swan's Blog: Rendering SQL Server Reports as Excel Documents with PHP
Brian Swan has a new post to his blog that looks at a method for pulling back the reports from a SQL Server instance in something a bit more readable/useful - an Excel document.One of the most common questions [from his previous post] has been "How do I render a report as an Excel document?" I've been telling folks that this is easy with the SSRS SDK for PHP (and it is easy), but when I sat down to do it, I ran into a problem. So, in this post, I'll show you how to render a SSRS report as an Excel...

Michelangelo Van Dam's Blog: ZendCon Unconference Announcement

Michelangelo Van Dam's Blog: ZendCon Unconference Announcement
Following the announcement of this year's unconference at the Zend/PHP Conference, Michelangelo Van Dam has posted some of his thoughts about being the one running the show this year.Yes, there's going to be unconference (uncon) sessions at ZendCon 2010 ! I was chosen to run these very interesting, educative and as-equally high-valued parallel sessions at the PHP conference in Santa-Clara, CA. [...] I'm looking forward being your host for the ZendCon unconference and I hope I can achieve the same passion...

Christian Weiske's Blog: First work on the Generic PHP Application Installer

Christian Weiske's Blog: First work on the Generic PHP Application Installer
In a recent post to his site Christian Weiske shares some of the first steps being made toward an installer he's made that could be used for installing PHP applications of just about any type.Half a year after I collected requirements for a generic PHP application installer, Kore already implemented the first bits of it for the Arbit installer, which is supposed to be generic enough for other PHP applications, too. He also held a talk at the PHP Unconference in Hamburg, collecting more requirements for...

Community News: Latest PEAR Releases for 09.27.2010

Community News: Latest PEAR Releases for 09.27.2010
Latest PEAR Releases: DB_Sqlite_Tools 0.1.7 MP3_Playlist 0.5.2 Net_Monitor 0.2.5 Image_Color2 0.1.5

PHP Barcelona Conference 2010 is here!

PHP Barcelona Conference 2010 is here!
The PHP Barcelona User Group is pleased to announce the 4th edition of the PHP Barcelona Conference . Come to the shores of the Mediterranean for two fun-packed days of cutting edge PHP, Application Scalability, High Performance, Databases, Integration, Testing, Clouds (not in the sky, we hope) and many many more topics and surprises. The event will take place from the 29th to the 30th of October and will bring together Ilia Alshanetsky, Fabien Potencier, Stefan Priebsch, Lorenzo Alberton, Enrico Zimuel...

Architectural priorities

Architectural priorities
As anyone who has followed my past work knows, software architecture is a particular interest of mine. I find the subject fascinating, but my interest is not entirely selfish. Understanding architecture, and the trade-offs that different architectures imply, is an important part of any software project. Whether you're discussing a Content Management Platform like Drupal, a language like PHP, or a particular web site, having a solid understanding of the "big picture" is crucial not only for building the...

First work on the Generic PHP Application Installer

First work on the Generic PHP Application Installer
Half a year after I collected requirements for a generic PHP application installer , Kore already implemented the first bits of it for the Arbit installer, which is supposed to be generic enough for other PHP applications, too. He also held a talk at the PHP Unconference in Hamburg, collecting more requirements for it. There is already some code in arbit's svn repository which at least generates a .phar file that checks your application requirements and collects configuration...

Doctrine2 CouchDB support! But Why?

Doctrine2 CouchDB support! But Why?
As I blogged recently we started working on CouchDB support on top of the Doctrine2 infrastructure back at FrOSCamp. For me its been a while since I have taken a leading role in the development of an OSS component. Ever since I left PEAR, I have mainly been helping out here and there and with php.net I was doing organizational stuff. So its kinda fun to be back at working on some OSS code with significant contributions in terms of code. There is still a lot of work ahead, so I wouldn't mind a few helping...

Killing a dead ssh connection

Killing a dead ssh connection
One feature telnet has and I always missed from ssh was the ^] shortcut, giving you a way to terminate the connection.ssh has a similar feature. If you setup 'escape characters', you can terminate the connection by typing '~.' Just add the following to your .ssh/config:Host *EscapeChar ~You can change the character here too, but ~ is the default and a sensible one.If you're dealing with crappy ssh connections that often terminate, you can add the following to make the client send a keep-alive package...

PHP Barcelona Conference 2010

PHP Barcelona Conference 2010
The PHP Barcelona User Group is pleased to announce the 4th edition of the PHP Barcelona Conference. Come to the shores of the Mediterranean for two fun-packed days of cutting edge PHP, Application Scalability, High Performance, Databases, Integration, Testing, Clouds (not in the sky, we hope) and many many more topics and surprises. The event will take place from the 29th to the 30th of October and will bring together Ilia Alshanetsky, Fabien Potencier, Stefan Priebsch, Lorenzo Alberton, Enrico Zimuel...

International PHP Conference

International PHP Conference
Not just another conference - this year has seen some high-valued conferences (like our IPC Spring Edition in Berlin) and we are already preparing the next big PHP conference. But this year makes a difference. It's the 10th. anniversary of the International PHP Conference. Being in business for ten years, we met some great people, made true fans and encouraged PHP developers all over the world to commit their passion for web-development to a growing community, that is behind some of the most...

Latest PHP Tweets