PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 181 to 200 of 256

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:Steven Macintyre's Blog: Building a Modular Zend Framework CMS Community News: PHP Hits Top Three on TIOBE Programming Community Index Komunitasweb.com: Showing the weather with PHP and Google Weather API NETTUTS.com: CodeIgniter From Scratch: Day 6 '" Login Cal Evans' Blog: WinCache - Preliminary tests look REALLY good. Sudheer Satyanarayana's Blog: XML RPC Client Using PHP PEAR - A Real World Example: Ping Technorati Ibuildings Blog:...

Lars Strojny's Blog: PHP Segfaulting with PECL/UUID and PECL/IMAGICK

Lars Strojny's Blog: PHP Segfaulting with PECL/UUID and PECL/IMAGICK
If you've been using (or will be using) the uuid and imagick extensions for PHP, you might be able to save yourself a lot of headache by reading this new post from Lars Strojny about his segfault woes.Ran into a bug yesterday, where http://pecl.php.net/uuid in combination with http://pecl.php.net/imagick yielded a segfault when using uuid_create().After trying to trace it down with a backtrace and cachegrind results, he (and Mikko & Pierre) found that both extensions were built against the libuuid.so.1...

Till Klampaeckel's Blog: Selenium vs. Saucelenium

Till Klampaeckel's Blog: Selenium vs. Saucelenium
In this new post to his blog Till Klampaeckel talks about two tools for front-end interface testing - Selenium and Saucelenium - and how he used the latter in his application testing.Selenium and Saucelenium have the same root - in fact Saucelenium is a Selenium fork. While the Selenium project seems to focus on 2.x currently, stable 1.x development seems to really happen at Saucelabs. That is if you call a commit from January 22nd of this year active development.He talks about the installation process...

Mike Bernat's Blog: The Problem with Wordpress and Drupal

Mike Bernat's Blog: The Problem with Wordpress and Drupal
Mike Bernat has a new post to his blog today talking about what he considers the problem to be with both WordPress and Drupal - despite doing what they do well, they're not good examples for developers.If a young developer said to you 'I want to learn by looking at existing code from a successful PHP project. Can you point me in the right direction?' Would you ever feel comfortable sitting them down in front of Drupal or WordPress code? What if they responded by saying: 'But they are the most well-known...

Rob Allen's Blog: On Exceptions

Rob Allen's Blog: On Exceptions
Rob Allen caught an interesting feature of the proposed exception handling in the Zend Framework v2 - the ability to throw an exception and catch it at the interface level, not just the class.I've been reading the Proposal for Exceptions in ZF2 and like it. One thing that caught my attention was that it suggests that you can catch an interface. I hadn't heard of that ability before, so I pulled out my trusty text editor to have a play.He creates a basic bit of code - an interface for the exceptions, an...

Chris Hartjes' Blog: Twitter Asks: Continuous Integration Landscape for PHP Developers

Chris Hartjes' Blog: Twitter Asks: Continuous Integration Landscape for PHP Developers
After asking for topics to blog about on Twitter, Chris Hartjes has posted the first response to the suggestions - a look at continuous integration (CI) in PHP environments.For those not familiar with the concept of Continuous Integration, I can sum it up with one very glib phrase: it lets you break your code before you buy it. [...] If I were to design a Continuous Integration (hereafter referred to as CI) system, what would it look like?His requirements include version control integration, easy unit...

Zend Developer Zone: PHP, Flex and Mobile

Zend Developer Zone: PHP, Flex and Mobile
On the Zend Developer Zone today there's a new post from Cal Evans about an article from the minds of Ryan Stewart (Adobe) and Kevin Schroeder (Zend) about the powerful combination of Flex and PHP.These two have gotten together again to show how you can use Flex (Flash, ActionScript, AIR, you know the drill) and Zend Framework (Winner of a BOSSie) Their new article "Flex and PHP" from the most recent issue of Flash & Flex magazine, talks about using the same controllers and actions for returning both...

Stanislav Malyshev's Blog: Adding new extensions to Zend Studio

Stanislav Malyshev's Blog: Adding new extensions to Zend Studio
In a new post to his blog Stanislav Malyshev talks about how Zend Studio users can get the tool to recognize new extensions by adding in stubs with PHPDocumentor markup.If you have some extension, create stub file with PHPDOC descriptions [...] for each extension function, Studio will know to pick it up. You can put this file into Studio's prototypes directory - easiest way to find it is just write something like chdir() anywhere, select the name and press F3, the directory of the file that you'll get is...

Five tips for speeding up Eclipse PDT and Zend Studio

Five tips for speeding up Eclipse PDT and Zend Studio
Eclipse Helios (3.6) and Zend Studio 7.1 (and above) include a new version of Eclipse PDT, labeled 2.2. This new release uses a new repository for storing code reference information. With these simple tips you can significantly improve the performance of this repository which will speed up code completion, searching for definitions, type hierarchy views and more.

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Image compare Haversine Guitar Chord API class Atkin IP Net Calculator Image Crop DBPopulator Thumbnail images Raj DB Populator Paginatorfer Smooth Decrease Class First Person View Simple and small DB class PNG Data Encoder and Container Database Comparator

Project Importer v4.1 Release

Project Importer v4.1 Release
After a major cleanup of the structure and logic due to a handful of issues, v4.1 of the Project Importer is now available! You can download the latest version here: https://sourceforge.net/projects/web2project-mod/files/Project-Importer/ The purpose of the Project Importer is to allow users to import their project plans from other systems. Currently Microsoft Project and WBS Gantt Chart Pro are supported. The significant changes in this release include: Fixed a major issue where dependencies weren't...

Adding new extensions to Zend Studio

Adding new extensions to Zend Studio
I am using Zend Studio for my everyday PHP work, and I like it. I know many others do too, or use PDT. It has one very cool - though not widely known - feature that allows you you to add unknown extensions to code completion. I.e., if you have some extension, create stub file with PHPDOC descriptions - i.e. something like this: /** * Do stuff * @param string $arg * @return array */ function dostuff($arg) {} for each extension function, Studio will know to pick it up. You can put this file into...

The MongoDB vs MySQL debatea

The MongoDB vs MySQL debatea
Same stupid debate as so often before. Just the topics are different from time to time. Found via the Swedish Utvbloggen, RWW,Ahighscalability ochAmyNoSQL. Subscribe to the comments for this post? Share this on del.icio.us Share this on Facebook Post on Google Buzz Share this on LinkedIn Share this on Plaxo Stumble upon something good? Share it on StumbleUpon Tweet This!

Luc de Brouwer's Blog: Stop waiting, start array dereferencing in PHP now!

Luc de Brouwer's Blog: Stop waiting, start array dereferencing in PHP now!
In this recent post to his blog Luc de Brouwer makes a recommendation about dereferencing your arrays - start thinking about it now even before the feature's added to the stable release!Ever since I started programming object oriented PHP I've been using function chaining and function dereferencing. But there is another thing I'd like to be able to do that was added to the PHP trunk over 8 months ago that still hasn't made it to the current release. The function I'm referring to is array...

Project: Aleksey Martynov's lexa-xml-serialization Tool for PHP 5.3

Project: Aleksey Martynov's lexa-xml-serialization Tool for PHP 5.3
Aleksey Martynov has submitted a project that can come in quite handy of you do a lot of work with XML in your application - a XML serialization tool for PHP 5.3 that lets you easily translate objects into valid XML.lexa-xml-serialization is a lightweight library for serializing PHP objects to XML like it's done in .NET. My xml serializer requires that you mark serializable properties of your classes with doc-comment annotations. The properties are not required to be public. The lettercase of annotations...

ZendCasts.com: Creating RSS & Atom Feeds with Zend_Feed

ZendCasts.com: Creating RSS & Atom Feeds with Zend_Feed
New on ZendCasts.com this screencast helps you use the Zend Framework's Zend_Feed component to create simple RSS and Atom feeds for your application.The screencast shows you how to create a basic controller with information for a sample blog post (title, date creates, content, etc) and a simple method to create default posts. A second controller is made to handle the feed creation and two actions are created - one for RSS and the other for Atom. The posts are then parsed and pushed out to views for...

Selenium & Saucelenium: installation and dbus-xorg-woes

Selenium & Saucelenium: installation and dbus-xorg-woes
We're about to launch a new product, and this time it's pretty client-side-intense. The application is powered by a lot of JavaScript(-mvc) and jQuery, which do xhr calls to a ZF/CouchDB powered backend. While js-mvc has unit-testing sort of covetred, I was also looking for some integration testing, multiple browsers and all that. Selenium vs. SauceleniumI can't really say if you want one or the other. Revisiting Selenium in general, it's IMHO the only viable and suitable thing for a PHP shop. Primarily...

Padraic Brady's Blog: Zend Framework Proposal: ZendHtmlFilter (HTML Sanitisation And Manipulation)

Padraic Brady's Blog: Zend Framework Proposal: ZendHtmlFilter (HTML Sanitisation And Manipulation)
Padraic Brady has a new post on his blog talking about a new proposal he's made for the Zend Framework about filtering and sanitizing HTML content.For a while now, I've been keen to build a HTML Sanitisation solution for PHP. Where else would I end up putting it other than in Zend Framework? As I've explored in past articles [1] [2], HTML Sanitisation in PHP is a very inconsistent practice. [...] Isn't it possible to create a sanitiser that is both secure by default and performs well?He talks about his...

Derick Rethans' Blog: Collecting Garbage: Cleaning Up

Derick Rethans' Blog: Collecting Garbage: Cleaning Up
Derick Rethans has continued his series on garbage collection in the PHP internals with this second post of the series with a special look at circular references. You can find the first part here.In this second part of the three part column on the new garbage collecting mechanism in PHP 5.3, we'll dive into a solution to the problem with circular references. If we look quickly back, we found that by using code like the [first example], an in-request memory leak is created.He goes on to briefly describe...

CakeFest 2010: Thats a wrap

CakeFest 2010: Thats a wrap
For those that didn't get to attend this year's CakeFest 2010, The Bakery has put together this summary of some of the things that happened and the presentations that were given.CakeFest 2010 has come to a close. After 4 days of jam-packed talks, workshops, lightning talks and social outings, we're sad to see it finish. I'd like to thank the community for their ongoing and ever increasing support. Both for the community and for the CakeFest conference itself. Without the passionate community around...