PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 6021 to 6040 of 6889

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...

Is This Thing On?

Is This Thing On?
Hard to believe that it's been so long since I posted to this blog. Almost a year. Seems like that's how I've been rolling for awhile now: blog semi-intensely for awhile, then nothing for a year or so. Twitter seems to have aggravated this, since I can often settle for a ~140 character soundbite instead of a full blog post. Kids have also contributed: my most frequent stream of posts was back in 2005, when I only had one child and he was sleeping a lot. These days, with two energetic boys, I haven't...

DeltaQuery with Solr DIH

DeltaQuery with Solr DIH
Recently it seems like pretty much all projects here at Liip are using Solr in some form or another. Never thought that all my PHP projects would end up relying on Java. This is just a short blog post to document an approach I came up with to make delta updates more efficient and at the same time easier to maintain than the "standard" approach explain in the docs. The Solr DIH handles importing documents from external data sources. In my case I have about 5GB of data in an RDBMS that gets updates every...

FrOSCamp: Symfony2 CMF and CouchDB ODM

FrOSCamp: Symfony2 CMF and CouchDB ODM
So thanks to the sponsorship of Liip we managed to get quite a few people from outside of Switzerland for some pretty exciting meetings to Zurich for FrOSCamp. Plenty of Liipers were also present. On Friday we sat together to learn and talk about Symfony2 CMF. On Saturday we split up in two teams, one working on the JCR client library Jackalope and the other starting with adding CouchDB support to Doctrine2. Thanks to David NAschler we learned a lot about JCR in general. Its pretty awesome having the...

Barcamp Hong Kong 2010

Barcamp Hong Kong 2010
Article originally from rooJSolutions blog Had a great time at Barcamp Hong Kong yesterday, Saw some really good talks on Y-Combinator, portable Mobile app development with a Webkit wrapper and gave a rather disasterous talk on Javascript (due to technical problems with my laptop, nvidia cards and projectors...)Anyway here's the slideshow it it fullI will update this post later - with a few more details

Site News: Job Postings for the week of 09.12.2010

Site News: Job Postings for the week of 09.12.2010
Job postings for the past week:Job Posting: Distribion Seeks PHP Application Developer (Dallas, Tx) Job Posting: Worldwide Travel Directory Seeks LAMP Consultant (New York City, NY)

ZendCon Uncon 2010 News

ZendCon Uncon 2010 News
We're just under two months away from ZendCon 2010 but unfortunately, I'm not running the Unconference this time around. And to my knowledge there is no longer one planned. Why this happened is open to interpretation, but I suspect it's because I asked for compensation. No, I didn't ask for a gold watch, a new computer, or even stage time. I asked for a booth in the exhibit hall. While I'd love to have the Blue Parabola crew run it, we don't have the time, availability, or interest in having one, so I...

Qafoo.com: Practical PHPUnit: Testing XML generation

Qafoo.com: Practical PHPUnit: Testing XML generation
On the Qafoo blog today there's a new post from Tobias Schlitt about a method you can use to unit test methods that generate XML without messing with a lot of extra overhead just to test the results.Testing classes which generate XML can be a cumbersome work. At least, if you don't know the right tricks to make your life easier. In this article, I will throw some light upon different approaches and show you, how XML generation can be tested quite easily using XPath.He includes a sample class,...

Brian Swan's Blog: Accessing Windows Azure Table Data as OData via PHP

Brian Swan's Blog: Accessing Windows Azure Table Data as OData via PHP
Brian Swan has a new post on his MSDN blog today looking at a different way to consume the data from Windows Azure instead of the normal interface - consuming it as OData.Did you know that data stored in Windows Azure Table storage can be accessed through an OData feed? Does that question even make sense to you? If you answered no to either of those questions and you are interested in learning more, then read on. In this post I'll show you how to use the OData SDK for PHP to retrieve, insert, update, and...

Should You Close Your PHP Code Tags?

Should You Close Your PHP Code Tags?
Even those with a modest grasp of PHP know that code must be enclosed within special tags. note: Alternative PHP tags You may also be aware that PHP code can be delimited with the lesser-used and tags. If short_open_tag is enabled within php.ini, you can use although they should be avoided if you're embedding code within Xhtml or XML. Finally, you can use the ASP-style tags if asp_tags is set within php.ini. However, if your file contains just PHP - and no escaped html code - the closing ? tag is...

Daniel Cousineau's Blog: Doctrine 1.2 MSSQL Alternative LIMIT/Paging

Daniel Cousineau's Blog: Doctrine 1.2 MSSQL Alternative LIMIT/Paging
Daniel Cousineau has a new post to his blog today looking at an alternative that can be used for pagination in your MSSQL queries than the trick with TOP and reversing the ORDER BY in Doctrine.As ugly as this technique is, it works. The problem is it requires an extreme amount of intelligence or an extreme amount of simplicity in the query in order for an automated system like Doctrine to be usable. The biggest caveat with this technique is good goddamned luck paging your query if it doesn't have an...

Latest PHP Tweets