PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 61 to 80 of 103

TestFest 2010

TestFest 2010
PHP is proud to announce TestFest 2010. TestFest is PHP's annual campaign to increase the overall code coverage of PHP through PHPT tests. During TestFest, PHP User Groups and individuals around the world organize local events where new tests are written and new contributors are introduced to PHP's testing suite. Last year was very successful with 887 tests submitted and a code coverage increase of 2.5%. This year we hope to do better. TestFest's own SVN repository and reporting tools are back online for...

Zend Framework 1.10.6 Released

Zend Framework 1.10.6 Released
The Zend Framework team announces the immediate availability of Zend Framework 1.10.6, our sixth maintenance release in the 1.10 series. This release includes more than 30 bug fixes. You may download it from the Zend Framework site .

Eran Galperin's Blog: On the pitfalls of date validation with the Zend Framework

Eran Galperin's Blog: On the pitfalls of date validation with the Zend Framework
On his techfounder.net blog today Eran Galperin talks about one of the issues you might currently see with the date validation in your Zend Framework application - a problem in the Zend_Validation_Date component related to its use of Zend_Locale.Zend_Date tries to validate dates according to a given format (with a default fallback). The dangerous behavior is that it tries to convert the given format to a localized format using Zend_Locale. Zend_Locale attempts to detect automatically the locale of the...

Ilia Alshanetsky's Blog: Google Docs Backup Script

Ilia Alshanetsky's Blog: Google Docs Backup Script
Ilia Alshanetsky has created a simple script (that uses curl) to make a backup of your Google Docs to keep you and your data a bit safer (since Google provides no backup capabilities).As part of the backup strategy we also wanted to capture incremental versions of the documents (on a daily basis) in the event we needed to go back to the prior versions. To this affect I whipped up a small (120 lines) PHP script that will retrieve all your Google documents and save them to a local directory, in the event...

Sameer Borate's Blog: Printing relative dates in php

Sameer Borate's Blog: Printing relative dates in php
Sameer Borate has a quick, helpful tip for anyone working with dates in PHP and wanting something a bit more readable than just the standard month-day-year kind of format.A couple of days back while writing some date code for a messaging service, I required to print the date of the messages in a relative format - 'today', 'yesterday', '3 weeks ago' etc. I wrote a small function for the same.The technique uses a "DateToWords" function he's created that finds the difference between now and the date being...

Pingdom.com: Exploring the software behind Facebook, the world's largest site

Pingdom.com: Exploring the software behind Facebook, the world's largest site
On pingdom.com there's a recent article posted looking at some of the technology behind Facebook and how they manage to keep up with the huge demand put on them and their servers.At the scale that Facebook operates, a lot of traditional approaches to serving web content break down or simply aren't practical. The challenge for Facebook's engineers has been to keep the site up and running smoothly in spite of handling close to half a billion active users. This article takes a look at some of the software...

Muhammad Hussein Fattahizadeh's Blog: Zend Config tree solution

Muhammad Hussein Fattahizadeh's Blog: Zend Config tree solution
In a new post to his blog Muhammad Hussein Fattahizadeh talks about defining a system that's a bit more handy than the usual one configuration file to one Zend_Config object relationship most projects use. His alternative uses a class to load multiple config files all at once.The best part of my favorite PHP framework, Zend framework is Zend_Config. With Zend Config you can run you web application with more power full configuration that any one can change your application setting for use. [...] But in...

Monkey patching in PHP

Monkey patching in PHP
I haven't really had the chance or time to play with PHP 5.3 until recently when Ubuntu 10.04 upgraded my local installations and kind of forced me to dive into it a little. And I'm also probably the last person on the planet to notice, but namespaces in PHP 5.3 allow you to monkey-patch core PHP code. What's monkey patching?So monkey patching is a technique to replace functions at runtime. One of the more common applications is stubbing (or mocking) code in unit tests. So for example mocking the...

Community News: Latest PECL Releases for 06.22.2010

Community News: Latest PECL Releases for 06.22.2010
Latest PECL Releases: chdb 0.1.0 gmagick 1.0.5b1 amqp 0.1.0

PHP BBQs 2010 - Karlsruhe today, Frankfurt 27th

PHP BBQs 2010 - Karlsruhe today, Frankfurt 27th
Pretty much exactly a year ago many german PHP meetups have held BBQs to celebrate the summer, to invite guests to join their meetups in a very relaxed atmosphere and to enjoy themselves. During the PHP BBQ week 2009 more than 140 people got connected and had fun . And, of course, I loved visiting all the meetups. I am not touring through the user groups this year. However, and that is fantastic news, some user groups have organized BBQs again. Today, June 22th - 19:00, you can enjoy a BBQ in Karlsruhe...

aY Software, APIs and all the king's men

aY Software, APIs and all the king's men
These days, it's a rare occurrence that a web-based application is only ever going to remain web-based. What starts as a website usually ends up taking on a life of its own and expanding into mobile apps, GUI-based interfaces, and so on. Unfortunately, the vast majority of websites are still built with the old aoweb-onlya approach in mind-which, in today's world, introduces by-design limitations in what your software can do: when the client comes calling and asking for, say, an iPhone version of your...

Fawad Hassan's Blog: CRUD using jQuery and Codeigniter - I

Fawad Hassan's Blog: CRUD using jQuery and Codeigniter - I
On his blog today Fawad Hassan has the first part of a series where he's showing you how to create a CRUD interface by combining jQuery and the CodeIgniter framework.In this tutorial you will learn: how to use jQuery with Codeigniter, how to send Ajax request to perform READ operation, how to use jQuery UI tabs widget and how to use Microsoft's jQuery templating plugin.He provides a link to download the source to follow along with the tutorial as well as links to the other technologies involved. He...

Symfony Blog: Symfony plugin deprecation

Symfony Blog: Symfony plugin deprecation
The Symfony project has officially introduced something that can help with the future of your Symfony-related code/plugin - the ability to deprecate the plugin (via the plguin system) and let everyone using it know it's no longer in development.There are several reasons why a plugin may be deprecated. The symfony core framework might have included the functionality of the plugin in a recent release, or another plugin with the same functionality might be doing a better job at it. Whatever the reason, a...

Zend Config tree solution

Zend Config tree solution
The best part of my favorite PHP framework, Zend framework is Zend_Config. With Zend Config you can run you web application with more power full configuration that any one can change your application setting for use. Read more information about Zend Config at Zend framework manual for Zend Config.But in most web application you may have many configuration file with special format such as INI, XML or PHP . Also some of configuration is for one part of your application and may you put in special folders.

Prescot Linux Blog: Finding the Right PHP Developer

Prescot Linux Blog: Finding the Right PHP Developer
From the Prescot Linux blog today there's a new post with some advice on hiring a good PHP developer for you or your company.There are a good number of programming platforms and languages that developers use today to provide businesses and consumers the right web applications to help them with their requirements. PHP is one such programming language that has gained a huge popularity over time, and that too quite rightfully. [...] However there are a number of factors that you must consider while looking...

Brian Moon's Blog: PHP generated code tricks

Brian Moon's Blog: PHP generated code tricks
Brian Moon has posted a few tricks he's figured out in relation to generating dynamic PHP code (a questionable method for some) you can use elsewhere in your application.Something that is great about PHP is that you can write code that generates more PHP code to be used later. Now, I am not saying this a best practice. I am sure it violates some rule in some book somewhere. But, sometimes you need to be a rule breaker.He gives the example of pushing the contents of an array out to a cache file (since the...

Google Docs Backup Script

Google Docs Backup Script
We are starting to use Google Docs quite a bit more at work and unsurprisingly the question of backup and offline availability comes into play. As part of the backup strategy we also wanted to capture incremental versions of the documents (on a daily basis) in the event we needed to go back to the prior versions. To this affect I whipped up a small (120 lines) PHP script that will retrieve all your Google documents and save them to a local directory, in the event the document was created/updated in the...

Rob Allen's Blog: Akrabat_Db_Schema_Manager: table prefix support

Rob Allen's Blog: Akrabat_Db_Schema_Manager: table prefix support
Rob Allen has a new post to his blog today talking about an update he's made to the Akrabat_Db_Schema_Manager component for the Zend Framework to allow it to support table prefixes.I've updated Akrabat_Db_Schema_Manager so that it now supports table prefixes. It uses the application.ini key of resources.db.table_prefix as I couldn't think of a better one :) and then uses that for the schema_version table's name and also makes it available in your change objects.He illustrates with a sample setting for...

Brian Swan's Blog: Interview w/Claudio Caldato, Program Manager for Microsoft Interoperability Team

Brian Swan's Blog: Interview w/Claudio Caldato, Program Manager for Microsoft Interoperability Team
Brian Swan has posted an interview with Claudio Caldato, the Senior Program Manager for the Interoperability Team at Microsoft.The theme for my presentation at the Dutch PHP Conference last week was "recent improvements in PHP-Microsoft interoperability". In my talk, I showcased several of the PHP tools that the Interoperability Team at Microsoft has released on CodePlex. [...] I thought it would be a good idea to give you a bit more insight to this team's work by sharing a conversation I had with...

PHP remote debugging with Xdebug and Eclipse PDT

PHP remote debugging with Xdebug and Eclipse PDT
Debugging is an invaluable part of software development. I find it very useful in a variety of situations, for instance when I want to understand how a routine works or I need to get rid of a bug that is not exactly easy to fix just by reading the code. My main goal in this post is to show you how to set your debugging environment with Eclipse PDT and Xdebug.