In a new post to his blog Phil Sturgeon talks about a new CodeIgniter-related conference coming to New York in August - CICON2011.The CodeIgniter Community has decided to have a little holiday this summer, and head to New York for not just a meet up, but the biggest gathering of CodeIgniter developers to ever happen. The last event was in a pokey low budget venue in a rough part of Bristol UK, this event will be right bang smack in the middle of Manhatten, NY with a great venue and some amazing...
If you weren't able to make it to the PHP Community Conference, you're in luck! They're providing a live video stream from the event on OpenEvent.tv.Check out today's schedule for more information what the sessions are and summaries of what they're about. This morning's sessions are tutorials from Lorna Mitchell (web services) and Matthew Weier O'Phinney (Mastering Zend Framework 2 Patterns).You can also follow the official conference twitter account at @phpcomcon for the latest updates.
On the Script-Tutorials.com site there's a new article showing you how to use XPath to parse web pages, complete with screenshots of the page and the code to make it happen.Today I will tell you how you can make parsers of remote HTML pages (in PHP). In this article I will show you how to perform xpath queries to Web pages. XPath - a query language to elements of xml or xhtml document. To obtain the necessary data, we just need to create the necessary query. For the work, we also need: browser Mozilla...
PHP community luminary Chris Cornutt just wrote a post for the PHPD eveloper.org blog titled aoIt's Not Just About the Newsa. Click on inside for a totally un-biased and totally fair evaluation of this freakin awesome article written by one of the Saints of the PHP community.
Eric Hogue - a name that regular readers will remember from our recent coverage of his post on profiling - has written another short but informative piece on the topic of Late Static Binding. Click on in, let's pretend I've written an in-depth analysis of his post.
Originally, I was going to present these thoughts at the PHP Community Conference (in a session titled aoIt's not Just About the Newsa) but it didn't work out for me to be there. I still wanted to share some of my thoughts and experience in running PHPDeveloper.org for the last 11 years.
In its very first form, PHPDeveloper.org was just a page of links. It was hosted on a local server I had at the collegel I attended and was aliased to the outside world under the hostname aobender.ods.orga. I...
The Voices of the ElePHPant podcast has posted their latest episode - an interview with Ed Finkler, best known for his work on the Spaz Twitter client.Cal interviews Ed and asks him his "three questions" about this Open Source project (Spaz):
At what point did you realize you couldn't do it all yourself and what was the first role you created for someone else?
What ways do you use to communicate with your developer community and which works the best?
Other than coding, what's the most fun part about...
Here's what was popular in the PHP community one year ago today:Community News: php|architect Releases "Guide to Web Scraping"
PHPBuilder.com: Six Cool PHP Tricks You May Not Know
php|architect: Introducing four new PHP 5.3 components and Goutte, a simple web scraper
Brian Swan's Blog: PDO Cheat Sheet for SQL Server Driver for PHP
Architexa Blog: Simplifying Dependency Injection
Dougal Campbell's Blog: WordPress as a Forum?
The Bakery: Deploying CakePHP with Capistrano
Perforce Software: Seven Pillars...
On the WebTutor.pl site they've posted the second part of their series looking at the benchmark results from their tests running HipHop. You can find their first post with some of the introductory setup and information here.In previous article I measured the performance of HipHop for PHP by performing some tests downloaded from the shootout.alioth.debian.org website. Unfortunately the test list was incomplete. Only six tests were selected to avoid potential incompatibility issues with the HipHop...
Replication is as old as life on earth. No life without replication. MySQL replication is as old as MySQL, almost. No MySQL without replication. The PECL/mysqlnd_ms 1.0.0 alpha release is brand new. My dream, no PHP without the mysqlnd library replication and load balancing plugin, which works ...
The team that has brought you the infamous PHP ElePHPants in the past is back with another round - the 6th generation of the cuddly PHP mascot in both traditional blue and pink.April 19, 2011 PHPÃ¨re is happy to show you the first pictures of two premature elePHPant the 6th generation of PHP. As you can see ... ElePHPant the blue, is in great shape and has found its new home very pleasantThese are shots of the first turnouts of this latest batch and the rest will follow in June/July of this year. Those...
In a new post to the SitePoint PHP blog today Craig Buckler looks at a method for synchronizing your time between your PHP application and it's MySQL backend to make date handling a bit easier - no messy code-based timezone changes needed.Many developers solve the problem by shifting all date/time responsibility to PHP. They may also convert dates to Unix timestamp integers for simpler handling, although you should be wary of the Y2K38 Bug.They show a handy tip so you won't have to worry quite so much...
A new startup called Kohort is looking to add a PHP developer to their team here in Burlington, Vermont. The job description is as follows:
We're a new startup with some venture backing. We're looking to add an experienced developer to help us out for the next five weeks (and possibly more). Qualifications are:
experienced PHP hacker (5+ years)
full understanding of MVC frameworks (codeignitor, cake, symfony, zend, kohana or the like)
comfortable with the LAMP stack
understanding of git
able to plug...
New on his blog today Lars Strojny has posted the first part of his look at dependency injection and how he's been using it to do some refactoring in his applications. He uses the Symfony DI container in his examples, but really you can apply the principles to just about any of the other current DI offerings.Working heavily with the Symfony2 Dependency Injection Container, I feel that we found some typical refactorings towards a DI container that emerge during the introduction of such a component. I want...
The inaugural Brooklyn Beta was the first collaboration between Analog and Fictive Kin. We're both groups of friends making things we love, and we love working together. We even have a portmanteau picked out for what to call ourselves when we join together as one. Anakin. (As Cameron likes to point out, it's better than Fictive Log.)
Since we love working together so much, we're doing it again. On the 12th, 13th, and 14th of October, Brooklyn Beta will return to a place we now call home, the Invisible...
On DZone.com today there's a new post from Eric Hogue talking about the love-hate relationship he has with PHP (as a developer of five years with it).I have been programming in PHP for 5 years now. I did not choose this language, I had to learn it to work on the code of the company my bosses bought. Since I started, I heard many rants about how bad PHP is. Some where valid, but a lot of them are just blaming the language for bad code written by bad programmers. I am by no mean an expert in programming...
In a recent post to his blog Brian Swan shows you how to use the Storage Emulator for Azure with PHP via their provided SDK. It's a quick post but it has a helpful code snippet if you've been struggling with getting it set up.This is a short post to address this question: How do I use the local Storage Emulator (formerly known as Development Storage) when using the Windows Azure SDK for PHP? The Windows Azure Command Line Tools for PHP provide an option for running an application locally in the Compute...
Image Upload by Flo
Virtual interface generator
Powerful Caching Class
Offset CodeBook Mode 2.0
I almost made a critical mistake on the production mysql database for one of my projects yesterday, which definitely would not have been a Good Thing if it had happened; even though I do have a custom prompt set up for mysql - when they're all so similar you don't always take heed.
So now, along with having the mysql prompt defined as prompt='\h@\u (\d) a in the [mysql] section of my ~/.my.cnf file (so host, username and database name are included in the prompt), I have also installed rlwrap and set up...
For my own benefit, if nothing else, since I keep seeming to need this snippet of code, I thought I'd encapsulate a Xapian More Like This/Find Similar example in a very brief blog post.The code is stolen out of my own Habari MultiSearch plugin:The code is very simple once you get beyond the clunkiness of the Xapian API. We create a relevance set for the document we want to find similar ones to (that's the one with id = $search_id), and from that create an eset of the most important terms (Xapian does the...
Latest PHP Tweets