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...
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...
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...
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
that I wrote to poke fun at the
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...
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...
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.
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...
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...
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 [...]
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...
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 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...
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...
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 mA¼ssen sich dabei nur noch entscheiden, welche persA¶nlichen Themenschwerpunkte Sie setzen mA¶chten. Sie kA¶nnen aus insgesamt 18 intensiven und interaktiven Power Workshops auswA¤hlen.SA¤mtliche Workshops beziehen sich auf die tA¤gliche Projektarbeit...
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...
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...
My special calendar
Convert number to text
Images Comparison Class
During the weekend of 21-22nd August, I'll be visting our beloved
Like in the last years, there will be an own
and I will be giving the talk
Utilizing and building the Semantic Web with PHP.
See you there!
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...
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, othersa€¦not 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 linksa€¦but no cookies. :(
Latest PHP Tweets