PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

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

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
class.Validation.php CFile floStereoImg miXin Exception Handler Brainhandles Heatmap Exchange Server Read Calendar Download POP3/IMAP attachment

Making in-roads in your organization when you are 2000 miles away

Making in-roads in your organization when you are 2000 miles away
What's the best way to meet your co-workers? Break their app of course! I remember fondly how I got on the radar of much of the company I work for in one fell swoop. AOne morning I decided to get ambitious and try to move a bug of older bugs for a feature I was working on to be assigned to me, so I could process them individually and close them out. Great idea I figured, and definitely a good way to show the ROI on a project by saying aohey, this change clears out X number of bugs off the backloga. So...

Christian Schaefer's Blog: Beware of the timezone! Working with PHP DateTime & Doctrine for MongoDB

Christian Schaefer's Blog: Beware of the timezone! Working with PHP DateTime & Doctrine for MongoDB
Christian Schaefer has a recent post pointing out a common frustration among developers of applications with NoSQL backends, specifically with Doctrine, MongoDB and PHP DateTime objects - timezone conflicts.I really like Doctrines way of dealing with dates and times. Instead of passing timestamps around or strings with ISO date format it simply makes use of the PHP native type DateTime which provides all you really need to work with. PHPs interface to MongoDB however comes with its own MongoDate type...

CodeForest.net: Multilanguage support in Zend Framework

CodeForest.net: Multilanguage support in Zend Framework
In a new post over on CodeForest.net there's a guide from Zvonko Biskup about using the multi-language support in the Zend Framework, specifically implementing gettext support.We can not imagine a modern web application without a multi language support. I will show you how easy it is to setup usage of multiple languages in Zend Framework and how to setup some basic language routes (handy for SEO stuff). The Zend Framework offers many ways for you to store your translated strings. It could be an array, a...

Lukas Smith's Blog: Drupal using Symfony2 HttpFoundation is huge

Lukas Smith's Blog: Drupal using Symfony2 HttpFoundation is huge
As Lukas Smith mentions in his latest post, the Drupal project has made a switch to use the HttpFoundation component of the Symfony2 project as a integral part of their HTTP handling.[...] The fact that Drupal8 will use Symfony'2 HttpFoundation component is huge, because it will make integration a breeze. Basically Symfony2 converts a Request instance to a Response. So if both Symfony2 and Drupal8 use the same Request and Response classes it means that creating a sub-request and handing the response from...

Christian Weiske's Blog: phpfarm moved to SourceForge

Christian Weiske's Blog: phpfarm moved to SourceForge
Christian Weiske has a new post about a move the phpfarm tool has made over to SourceForge for its project page. phpfarm makes it simple to switch between multiple versions of PHP on the same server to make debugging and development a much simpler task (especially if you're not in a homogeneous environment).phpfarm, the tool that lets you install multiple PHP versions beside each other, finally got a proper project page on SourceForge. By moving from svn.php.net to SF, phpfarm got a nice git repository,...

NetTuts.com: Rapid Application Prototyping in PHP Using a Micro Framework

NetTuts.com: Rapid Application Prototyping in PHP Using a Micro Framework
On NetTuts.com today there's a new tutorial posted about using a microframework for prototyping an application you may not need a full stack framework to get running. Their examples are based on the Slim framework.Let's face it: we all have great ideas for a web application. Whether you write them down on paper or remember them using your eidetic memory, there comes a point when you want test whether or not your idea is really viable. In this tutorial, we'll use a micro framework, a templating language...

At the Helm of Joind.in

At the Helm of Joind.in
As of a few days ago, and following Chris' post, I am now the proud owner of an open source project. These things don't build themselves and whenever I look at the project as it stands, I'm blown away by what Chris has built over these years, and I can only thank him for that (he's not vanishing, just stepping away from the big-picture tasks). An open source project is no small task (as I'm sure many people reading can testify!), so if you have time to help us out, tell us what we're doing wrong (or...

Community News: ConFoo 2012 Call for Papers Extended

Community News: ConFoo 2012 Call for Papers Extended
The ConFoo conference has announced that their Call for Papers has been extended until September 16th for this years event happening February 29th through March 2nd.Many of you are just back from vacation. because of that, we decided to extend the call for papers until September 16. For speakers, that means more time to prepare abstracts. For everyone else, it's more time to read the proposals and cast your vote.You can find out more information about the ConFoo Call for Papers in their site. They're...

Community News: Latest PECL Releases for 09.06.2011

Community News: Latest PECL Releases for 09.06.2011
Latest PECL Releases: yaf 2.1.0 varnish 0.7 yaf 2.1.1 lua 0.9.0 yaf 2.1.2 varnish 0.8 ingres 2.2.3 imagick 3.1.0RC1 meta 0.0.1

Uniqueness in Fuel Models

Uniqueness in Fuel Models
As a part of broadening my horizons, I'm back to working with Fuel, a framework that has a familiar feel to some of the ones I've used in the past but has some extra aooomfa from new features and PHP 5.3-ness. I was working in my models the other day and had a need for uniqueness - I wanted to be sure that the object I was pushing into the database didn't match any other one. I went through the docs and didn't see anything about it and a glance through the source didn't turn up anything either. So, as an...

Amazium Blog: PHP in the Dark: Input/Output

Amazium Blog: PHP in the Dark: Input/Output
On the Amazium blog Jeroen Keppens has a recent post looking at some of tools available to you when needing to filter input and escape output in your applications. This post specifically covers filtering on command line applications.When you need data input in a web context, you send a GET/POST request to your script. On the command line, things work differently. In this blog post, we will talk obout input and output in php-cli.The post is broken up into a few different sections: Handling arguments File...

Lars Tesmer's Blog: PHPUnit: Better Syntax for Expecting Exceptions

Lars Tesmer's Blog: PHPUnit: Better Syntax for Expecting Exceptions
Lars Tesmer has an alternative to testing xceptions in PHPUnit that's a bit more flexible than just a docblock comment definition.My main issues with this way of expecting exceptions are:The expectation is pretty far away from the location you'd normally expect to find an assertion. Usually, an assertion can be found at the bottom of each test function, whereas with the current method PHPUnit uses, it's at the top of the test-function. Additionally, it's an annotation "buried" in a comment which is easy...

James Morris' Blog: A Symfony2 Console Command and the Foursquare API Venuehistory

James Morris' Blog: A Symfony2 Console Command and the Foursquare API Venuehistory
In a new post to his blog James Morris has shared a custom Symfony2 console command he's written to pull in Foursquare data for his testing locally.I've been playing with the Foursquare API recently, I'm attempting to get a new homepage built and want to display a map of where I hang out. I use Foursquare quite a bit so wanted to get the locations from their API then plot them on Google maps. There's a venuehistory endpoint that gives you a massive list of all the venues you've checked into with details...

Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPUnit part 4

Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPUnit part 4
Michelangelo van Dam has posted the fourth part of his "Quality Assurance in PHP projects" series to his blog today - a continuation of his emphasis on PHPUnit and testing his sample "Tic-Tac-Toe" game.In parts one, two and three we focussed on writing tests for a game of tic-tac-toe, with in parts two and three we optimized our tests so they focus on the functionality of the individual parts Grid and Player, with a collection class Players to handle Player objects.In this fourth part he focuses on the...

Community News: Latest PEAR Releases for 09.05.2011

Community News: Latest PEAR Releases for 09.05.2011
Latest PEAR Releases: MP3_Id 1.2.2 DB_DataObject 1.9.6 HTML_Template_Flexy 1.3.12 pearweb_channelxml 1.15.2 Auth_SASL 1.0.5

Drupal using Symfony2 HttpFoundation is huge

Drupal using Symfony2 HttpFoundation is huge
Drupal is big, no question. Over the last years Drupal has become one of, if not THE leading CMS. Now imho one of the reasons for its success is that it's a huge enabler for non programmers to get setup with a gigantic set of features. But here at Liip our bread and butter is highly customized applications or in other words if you can get your project done by installing a bunch of Drupal modules, then we are not the right shop to go to. We do however use Drupal when it's the best starting point for...

The Joind.in & I

The Joind.in & I
By now I'm sure a lot of the folks reading the posts from this blog know of the site I've helped shape over the past few years, Joind.in. It's become most successful in PHP circles, but has branched out into other communities, both tech and non-tech. Not too long after the project started up, it was decided to open source the code and pull in contributions from whoever offered their time. I personally feel that, for a first out of the box open source project for me, it's turned out well and has a great,...

Quality Assurance on PHP projects - PHPUnit part 4

Quality Assurance on PHP projects - PHPUnit part 4
A A AIn parts one, two and three we focussed on writing tests for a game of tic-tac-toe, with in parts two and three we optimized our tests so they focus on the functionality of the individual parts Grid and Player, with a collection class Players to handle Player objects. In this fourth part we should focus on playing the game. Let's go over the steps again:each player chooses a symbolfor each turn (max 9 turns)a player places his symbol on the gridif 3 symbols appear in a single row (horizontal,...

phpfarm moved to SourceForge

phpfarm moved to SourceForge
phpfarm, the tool that lets you install multiple PHP versions beside each other, finally got a proper project page on SourceForge. By moving from svn.php.net to SF, phpfarm got a nice git repository, a wiki and a ticketing system. It also has a Phing build file now which generates and uploads release files, so people don't have to install git to get phpfarm. Changes in 0.1.0 To celebrate the new home, I officially released phpfarm version 0.1.0. It fixes the following...