PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 81 to 100 of 256

DataModeler: Simple ORM - Part 2 Saving Models

DataModeler: Simple ORM - Part 2 Saving Models
DataModeler is an Open Source ORM I began writing at the beginning of the year. I had experience with ActiveRecord, but was dissuaded from using it too often because it was difficult to unit test (at least I felt so). Wanting to learn Test Driven Development better, I decided to create my own small ORM framework: DataModeler. In DataModeler Part 1, I described building a basic Model. In this article, I'll cover saving a Model to a datastore.

Community News: CodeWorks 2010 (php|architect & Keith Casey)

Community News: CodeWorks 2010 (php|architect & Keith Casey)
Both Keith Casey and php|architect have posted announcements about this year's CodeWorks traveling conference tour (previously announced here). First, from the official php|architect post:CodeWorks 2010 (CWX for short) is a series of one-day technical conferences presented by the php|architect team and sponsored by Adobe. It's slated to stop in five cities, starting November 9th. [...] Each stop features talks presented by the php|a gang on various PHP-related topics, including object orientation,...

Zend Developer Zone: php|architect's guide to Web Scraping with PHP - Don't let the title fool you.

Zend Developer Zone: php|architect's guide to Web Scraping with PHP - Don't let the title fool you.
On the Zend Developer Zone there's a recent post about a book from Matthew Turland (recently available in print) - the php|architect's Guide to Web Scraping with PHP - and why you shouldn't judge a book by its cover.I was really hesitant to commit to reviewing the book because I tend not to review books I don't like and this subject matter just wasn't doing it for me. So with great fear and trepidation, I popped open my review copy. (PDF so I could read it on my iPad) I was ever so surprised and in a...

Ibuildings techPortal: Building an Continuous Integration Server for PHP with Hudson

Ibuildings techPortal: Building an Continuous Integration Server for PHP with Hudson
On the Ibuildings techPortal there's a new tutorial from Ben Longden about setting up Hudson as a continuous integration server for the deployment of your application(s). Tools like Hudson allow you to create consistent builds and automatically handle tasks that might get overlooked by a person doing the deployment.Continuous integration (CI) is fast becoming part of the standard development model for creating high quality software, and rightly so. Delivering reliably high quality software is in the best...

Padraic Brady's Blog: Contributing To Zend Framework 2.0 Is Free! Hurry Before This Offer Ends!

Padraic Brady's Blog: Contributing To Zend Framework 2.0 Is Free! Hurry Before This Offer Ends!
In Padraic Brady's latest post he makes a pitch for developers out there to get in on the development of the Zend Framework version 2.0 "before the offer ends" in a few different ways.Zend Framework 2.0 recently passed Milestone 1 on its development track and is rocking on PHP 5.3 in all its namespaced glory. Milestone 2 is the introduction of the new Exception regime to ensure all of the frameworks' fun components throw Exceptions that are specific enough to be useful. Why waste your idleness on the...

ServerGrove Blog: Interesting symfony plugins: sfBehatPlugin

ServerGrove Blog: Interesting symfony plugins: sfBehatPlugin
On the ServerGrove blog there's a new post spotlighting one of the Symfony plugins they think is interesting - the sfBehatPlugin, an interface into the Behat system for behavior-driven development.Quality assurance (QA) is one of the most difficult things to implement around software development. Most of time it is left for the final phase of development and very often overlooked entirely. As many experienced web development teams already know, QA needs to be part of the development process from the...

Community News: Latest PECL Releases for 09.21.2010

Community News: Latest PECL Releases for 09.21.2010
Latest PECL Releases: CUBRID 8.3.0.100915 ssdeep 1.0.0 Judy 0.0.1 sphinx 1.1.0

SitePoint PHP Blog: Should You Close Your PHP Code Tags?

SitePoint PHP Blog: Should You Close Your PHP Code Tags?
On the SitePoint PHP blog there's a new post with an interesting question for PHP developers that might go against how they were tought to code from their early days - should you close your PHP tags at the end of your code?Even those with a modest grasp of PHP know that code must be enclosed within special tags. [...] However, if your file contains just PHP - and no escaped HTML code - the closing ? tag is entirely optional. Many developers argue that unnecessary code should be removed but there's...

Contributing To Zend Framework 2.0 Is Free! Hurry Before This Offer Ends!

Contributing To Zend Framework 2.0 Is Free! Hurry Before This Offer Ends!
Are you feeling idle these days? Do you have a deep gnawing feeling to do something before you go nuts? Playing the same old maps in Modern Warfare 2 night in and night out deperately trying to keep boredom at bay? Then today we have great news, because for the low low price of $0 (excl. ISP charges) you are invited to spend some of your free time contributing to Zend Framework 2.0. That's right! It's free! We'll even throw in free access to Github.com and a free Getting Started With Git Guide! What do...

CodeWorks 2010

CodeWorks 2010
You've probably already read about it in 38 other places, but I figured I should announce the news here: We are doing another CodeWorks tour. This time around we've simplified the whole thing. The team is smaller. The format is simpler. And we're limiting the cities a bit more. We have four people doing 6 presentations on one track across five cities in a span of 10 days. If you've ever been to a tech conference, you know how much effort it can be. So our pitch is simple: You will hear talks from Keith...

Matthew Turland's Blog: "Web Scraping with PHP" Now Available in Print!

Matthew Turland's Blog: "Web Scraping with PHP" Now Available in Print!
If you've been waiting for the print edition of Matthew Turland's "Web Scraping with PHP" book (from php|architect Press) your wait is over. According to a new post on his blog the print version is now available for order.I know a number of my readers have been waiting for this announcement: my book, Web Scraping with PHP, is now available for sale in hard copy form! That's right, you can now finally order your very own print edition copy. [...] To those who felt forced into buying the PDF edition to get...

Lorna Mitchell's Blog: Tips for Event Hosting: Content, Feedback and Socials

Lorna Mitchell's Blog: Tips for Event Hosting: Content, Feedback and Socials
Lorna Mitchell has posted the last of three articles with tips for those hosting tech events out there from her past experiences with conferences like the Dutch PHP Conference.This is the final post in a short series about hosting events, based purely on my own experience and no specific expertise, in the hope that they will be useful to others doing similar things. If you are interested, you can read the first two posts, about preparing for the event and what to do on the day. This post is about some of...

Sameer Borate's Blog: Raw vs. cooked PHP $_POST variables

Sameer Borate's Blog: Raw vs. cooked PHP $_POST variables
Sameer Borate as a new post to his blog today looking at some of the quirks he's found when dealing with the $_POST superglobal in PHP.A little quirk of PHP $_POST var I encountered while fixing a Salesforce web-to-Lead bug. A Wordpress site was using a form to submit user requests to the Salesforce web-service. The form that submitted the data had the following fields along with the others. The problem was with the multi-select field, only the last value selected in the multi-select was getting...

Rob Allen's Blog: Setting up ZF2's ZendTool side by side with ZF1

Rob Allen's Blog: Setting up ZF2's ZendTool side by side with ZF1
Rob Allen has a new post today about the upcoming Zend Framework 2 release and how, with a little convincing, you can get ZF1 and ZF2 to play nicely alongside each other with Zend_Tool.If you want to play with the development versions of Zend Framework 2.0, then it's handy to be able to create ZF2 projects using the ZendTool command line tool. Rather unhelpfully, ZF2's ZendTool uses the same ini file (~/.zf.ini) as ZF1's Zend_Tool and the same zf.sh script filename, so you can't just put zf2 on to your...

Gonzalo Ayuso's Blog: Live video streaming with PHP

Gonzalo Ayuso's Blog: Live video streaming with PHP
In a new post to his blog today Gonzalo Ayuso talks about video streaming and PHP. Well, okay, not so much using PHP for playing the video, more for the security and streaming around the streaming feeds.For example we want to show videos only to registered users based on our authentication system. Imagine we're using sessions for validate users. That's means we cannot put the media in a public folder and point our media player to those files. We can obfuscate the file name but it'll remain public. In...

Community News: Latest PEAR Releases for 09.20.2010

Community News: Latest PEAR Releases for 09.20.2010
Latest PEAR Releases: Mail_mimeDecode 1.5.4 Services_UseKetchup 0.1.0 Crypt_CHAP 1.5.0

php|architect's guide to Web Scraping with PHP - Don't let the title fool you.

php|architect's guide to Web Scraping with PHP - Don't let the title fool you.
Let's take a look at php|architect's latest book, aophp|architect's guide to Web Scraping with PHP a. Click on in, I'll tell what's in it and what's not. I'll cover the good, the bad and the ugly. In short, I'll give you enough information to make the decision to buy or not to buy but I won't give away the ending.

October Conferences

October Conferences
Apologies for the lack of updates recently, but it has been a busy summer! October is looking interesting though, with a few conferences coming.First up is PHP Northwest, in Manchester on the 9th and 10th of October. I'll be one of the speakers, with a talk about the rules and tools you can use in debugging. There are a whole host of great people talking though, such as Lorna keynoting on coaching dev teams, Derick talking about maps, and my ShorDurPerSav Lorenzo on profiling. They also have some...

FrOSCamp 2010 is over

FrOSCamp 2010 is over
Last Friday and Saturday the first FrOSCamp took place at the ETH Zurich and we were part of it. What we planned and organised was mentioned in this blog post and we actually succeeded with almost anything on the list: A DokuWiki Hackfest during the whole two days with Pierre and the DokuWiki crew (and I met the team on the Uetliberg on Sunday afternoon for some sightseeing), The discussion about Symfony CMF, JCR, Scrum and many other things on Friday with very valuable input from David NAscheler from...

Debugging Zend_Test

Debugging Zend_Test
Sometimes, I have to debug unit tests and usually this is a situation I'm trying to avoid. If I have to spend too much time debugging a test it's usually a bad test. Which usually means that it's too complex. However, with Zend_Test_PHPUnit_ControllerTestCase, it's often not the actual test, but the framework. This is not just tedious for myself, it's also not the most supportive fact when I ask my developers to write tests.An exampleThe unit test fails with something like:Failed asserting last module...