Archive for August 10th, 2006
PHP Developer - August 10th, 2006
Following up on some of his previous posts to the SitePoint PHP Blog, Harry Fuecks has posted this quick guide with some “hot UTF-8 tips” to share with the community.
As a result of all the noise about UTF-8, got an email from Marek Gayer with some very smart tips on handling UTF-8. What follows is a discussion illustrating what happens when you get obsessed with performance and optimizations (be warned - may be boring, depending on your perspective).
He talks mainly about using the native PHP functionality to avoid the mbstring issues that could arise by restricting locale behavior and using a fast case conversion function to handle strings correctly. The other tip involves delivery methods to those not able to recieve UTF-8 formatted content - checking their character set and responding accordingly.
Continue Reading ·
PHP Developer - August 10th, 2006
On the Zend Developer Zone today, there’s yet another of the interviews Cal Evans did at this year’s OSCON, this time with George Schlossnagle of OmniTI.
At OSCON 2006, I caught up with most of the principals of OmniTI. They each gave me some time out of their busy schedule to ask them about their history, the company, PHP and technology in general. One of the OmniTI gang I got to talk with was George Schlossnagle.
I was able to pry George away from speaking and taking pictures long enough to sit down and talk tech for a few minutes. Here’s how our conversation went.
They talked about how George got started, both with PHP and at OmniTI, some about the company, and what kind of work he does there. They get into more PHP-type things when they talk about scalability, session management, PHP mistakes, updates and its use in the enterprise. Oh, and of course, the fun questions…
Continue Reading ·
PHP Developer - August 10th, 2006
eWeek reports today that Microsoft is taking the first steps toward extending its support for other scripting languages with a new project to ry to run PHP on .NET.
Known as Phalanger, the project reached Version 2.0 Beta 2 on July 30.
The primary goal of the project, released under Microsoft Shared Source Permissive License, is to enable full functionality of existing PHP scripts on .Net without any modification, Microsoft said. Unlike the original PHP interpreter, Phalanger compiles scripts into MSIL (Microsoft Intermediate Language).
The article goes on to talk about the project, the advantages it has over previous attempts, and where it’s headed in the future. You can check out the CodePlex site here.
Continue Reading ·
PHP Developer - August 10th, 2006
In this first part of a new tutorial on Ryan Malesevich’s blog today, he introduces you to a set of scripts that can help you get the play stats from Apple’s iTunes software out to a MySQL database for report/display/whatever you want.
I’m back with the third and final way that I know how to get iTunes play stats. In case you missed it, the previous methods were Javascript in Windows and Applescript in Macintosh. This way is Mac-centric again, well just the exporting the iTunes data to a MySQL database is only for Mac, you can write the PHP scripts with whatever platform that makes you happy.
He starts off with the “hardest step” in the whole process - using SQLTunes to export the data from iTunes. He goes through the configuration of the software and the steps needed to actually get the stats out. With the data in the database, he wraps up part one. Keep an eye out for the second part, display those stats via PHP scripts to your anxiously waiting viewers.
Continue Reading ·
Dev Shed - August 10th, 2006
When you are trying to optimize your queries to run quickly and efficiently you may encounter queries that really should run faster. That s where EXPLAIN comes in handy. This article shows you how to use EXPLAIN in query analysis. It is excerpted from chapter 13 of the em MySQL Certification Guide em written by Paul Dubois et al. Sams 2 5 ISBN 672328127 ….
(Advertisement) Subversion Hosting Professional Subversion Hosting - No Risk Trial - Get Started Now
Continue Reading ·