PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 6421 to 6440 of 6889

Brian Moon's Blog: PHP 5.3 and mysqlnd - Unexpected results

Brian Moon's Blog: PHP 5.3 and mysqlnd - Unexpected results
On his blog today Brian Moon takes a look at the mysqlnd driver that comes with PHP 5.3 by default and some strangeness he found when trying to fetch results.I have spoken in the past (see my slides and interview: MySQL Tips and Tricks) about using mysql_unbuffered_query or using mysqli_query with the MYSQLI_USE_RESULT flag [...] So, my natural thought was that using MYSQLI_USE_RESULT with fetch_all would yield the most awesome performance ever. The data would not be buffered and it would get put into a...

Sameer Borate's Blog: Parallel cURL execution in PHP

Sameer Borate's Blog: Parallel cURL execution in PHP
New on his blog today Sameer Borate has a post looking at his method for making parallel connections with curl based on this library from Pete Wardens.Most people use the 'easy' mode - in this mode when we issue multiple requests, the second request will not start until the first one is complete. This is known as synchronous execution, and this is the one we normally use. [...] In [multi] mode all requests can be handled in parallel or asynchronously. And it can be quite handy and time saving on many...

PHP Anthem

PHP Anthem
Yesterday on IRC, Andrei Zmievski mentioned a new song about PHP. Sean Coates linked to a YouTube video with the song, which I then mentioned on Twitter: PHP finally has an anthem. This is what we've been lacking. http://j.mp/PHPanthem /via @coates If you haven't listened yet, take a moment to do so. There are a few options: Download the song (MP3) Download the entire album (MP3) Download the entire album (CD) Watch on YouTube The song is by Lee Fernandes, who goes by @reelfernandes on Twitter. I...

Arbitrary Incrementer in PHP

Arbitrary Incrementer in PHP
On several recent occasions I had a need for an incrementer that uses an arbitrary character set and I thought I'd share my code with you. I've used this code in the GPL Virus that I wrote to poke fun at the Wordpress/Thesis/GPL debacle, as well as in some clean up I'm doing for the extremely useful JS Bin project. The most important application, however, was in creating a URL shortening system for the as-yet-unannounced startup project that I'm working on. I wanted the URL shortener to make the...

Community News: PHPBenelux 2011 Reminder - Call for Proposals Ends Aug 31st!

Community News: PHPBenelux 2011 Reminder - Call for Proposals Ends Aug 31st!
The PHPBenelux 2011 conference's Call for Proposals has been open since earlier this year but the deadline for submission is on the horizon.After a successful first conference earlier this year, the PHPBenelux team is proud to announce the 2nd edition of the PHPBenelux Conference. We're extending to two days this year with a half day tutorial, and 1.5 days of conference. The conference is on Friday 28th January and Saturday 29th January in Antwerp. Become part of this year's speaker schedule at the...

Turning data into pretty pictures with Flex and PHP

Turning data into pretty pictures with Flex and PHP
One of the reasons I love PHP is that all I have to deal with is back-end code. I am absolutely horrible at anything resembling design, this includes information design. Recently Ryan Stewart wrote a quick blog post showing how to use Flex and PHP to build charts in your applications. Click on in and I'll dig up the link for you.

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:NETTUTS.com: CodeIgniter From Scratch: Day 3. Sending Emails and Attachments DevShed: Developing a URL Handling Helper Class in PHP 5 Chris Shiflett's Blog: PHP Quick Reference Giorgio Sironi's Blog: Doctrine 2 now has lazy loading Mark Karpeles' Blog: SVN error 200030 - It's PHP's fault! Cal Evans' Blog: Open Teams Samuel Folkes' Blog: 17 PHP Practices That Should Be Banished Forever DevShed: Validating Boolean Values and Float Numbers with...

Enough Complaining

Enough Complaining
I've spent a lot of time working on a lot of different code. I'm fortunate in that I've been exposed to all three of the modern scripting languages and their communities. All of them, to varying degrees, bemoan their code. All of them, way too much of, bemoan the code of everyone else. Ruby is too clever, I can never figure out what's going on or what to expect. Python developer's can't write a test to save their lives. PHP developers, well, do I really need to say more? Everyone's moaning, from...

The Perils of Error Reduction; or, Starbucks for Programmers

The Perils of Error Reduction; or, Starbucks for Programmers
By taking advantage of an asynchronous approach Starbucks also has to deal with the same challenges that asynchrony inherently brings. Take for example, correlation. Drink orders are not necessarily completed in the order they were placed. This can happen for two reasons. First, multiple baristas may be processing orders using different equipment. Blended drinks may [...]

Burlington, VT PHP Picnic

Burlington, VT PHP Picnic
On Sunday, August 15th the Burlington, Vermont PHP Users Group will be hosting a PHP Picnic. From the description: The Burlington, Vermont PHP Users Group invites you to join us for a picnic at Oakledge Park. All are welcome but we'd like to extend a special invitation to members of other local technology user groups. Please bring a dish and/or beverages (potluck-style). If you're not sure what to bring, you can ask on the mailing list. Please note that beer or soda may only be in cans or plastic, no...

Community News: Learn Test-Driven Development with Munchkin

Community News: Learn Test-Driven Development with Munchkin
In this new post to his blog Giorgio Sironi points out a new project that wants to help you get started with test-driven development - Munchkin.Meszaros Marton and other PHP coders have started a Test-Driven Development project centered on showing the methodology to new adopters in a green field. The goal of the project, named Munchkin, is creating a feed aggregator - like Google Reader - from scratch. The authors will post a series of articles about their development process along the way. If you want...

Brian Swan's Blog: Consuming SQL Azure Data with the OData SDK for PHP

Brian Swan's Blog: Consuming SQL Azure Data with the OData SDK for PHP
Brian Swan has a new post to his MSDN blog today about using the OData SDK to consume Azure data (ODP is the Open Data Protocol that's been defined). The OData interfaces is a REST-based service used to grab data from multiple types of data sources.The SQL Azure OData Service incubation (currently in SQL Azure Labs) provides an OData interface to SQL Azure databases that is hosted by Microsoft. Another way to think about this is that SQL Azure OData Service provides a REST interface to your SQL Azure...

NETTUTS.com: How to Authenticate Users With Twitter OAuth

NETTUTS.com: How to Authenticate Users With Twitter OAuth
On NETTUTS.com today there's a new tutorial posted about setting up your application to use OAuth and authenticate against Twitter.Beginning August 16th, Twitter will no longer support the basic authentication protocol for its platform. That means the only way to authenticate users will be through a Twitter application. In this tutorial, I'll show you how to use Twitter as your one-click authentication system, just as we did with Facebook.They walk you through all the steps you'll need to make the...

PHP Summit in DAsseldorf

PHP Summit in DAsseldorf
This blog posting is in German as the event it relates to is German-only.Sorry for the inconvenience.Der PHP SUMMIT ist eine neue und einzigartige Veranstaltung, mit dem Anspruch, in drei Tagen alle wichtigen PHP-Themen in kompakter Form zu vermitteln. Sie mAssen sich dabei nur noch entscheiden, welche persAnlichen Themenschwerpunkte Sie setzen mAchten. Sie kAnnen aus insgesamt 18 intensiven und interaktiven Power Workshops auswAhlen.SAmtliche Workshops beziehen sich auf die tAgliche Projektarbeit und...

Stefan Koopmanschap's Blog: Contributing to Open Source

Stefan Koopmanschap's Blog: Contributing to Open Source
If you've ever wanted to get involved in the open source world but didn't quite know where to start, Stefan Koopmanschap has a great guide posted to his blog with some tips on getting yourself out there.Last week I wrote about how me being active in Open Source helped boost my career in several ways. Now this is all very interesting, but how to go about actually contributing to Open Source. That is the topic of this blog post. How to look for the right project to contribute to, and what ways are there of...

Oracle Technology Network: Integrate PHP & Java Applications w/Oracle WebLogic Server & Zend Server

Oracle Technology Network: Integrate PHP & Java Applications w/Oracle WebLogic Server & Zend Server
As is mentioned in this new post to the Zend Developer Zone today, Oracle has released a new article on their Technology Network about getting PHP and Java applications to work together via the Oracle WebLogic Server and Zend Server.Whether you're experienced in Java, or PHP, or both, the ability to integrate these two development environments together is a "best of both worlds" scenario for enterprise Web application developers. [...] Zend Server, a high-performance, enterprise-ready PHP stack that runs...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
My special calendar XML-RPC Client Lightweight MVC TreeView Router Firewall Protection class Graph DP_Access_MySQL_database Convert number to text Picture Thumbnail Images Comparison Class mraiur_db tinyMVC PHP Chord

Building the Semantic Web with PHP @ FrOSCon 2010

Building the Semantic Web with PHP @ FrOSCon 2010
During the weekend of 21-22nd August, I'll be visting our beloved FrOSCon. Like in the last years, there will be an own PHP track, and I will be giving the talk Utilizing and building the Semantic Web with PHP. See you there!

Show me the Code

Show me the Code
I'm lazy when it comes to code. Not in a bad way, but in an efficient way. I want to get to the crux of the matter quickly and move on. Truth be told, that's why I like TDD-I don't have to remember anything more than I need to know right now. My tests remember everything else I knew, but I digress. When I start evaluating a new library to see if its something I want to use, code is what I want to see. Sure, tell me what it does, briefly, then move into the basic use-case. As an example, consider the...

PHP and Java play nice in the Oracle/Zend sandbox

PHP and Java play nice in the Oracle/Zend sandbox
Over the past few years there have been numerous efforts to get Java and PHP to play nice with each other. Some of them have worked well, othersanot so much. Now Oracle and Zend are teaming up to help PHP developers reach into the heart of Java. Click on in, I've got linksabut no cookies. :(

Latest PHP Tweets