On the PHPClasses.org site today they've posted the latest episode in their "Lately in PHP" podcast series - "Unusual Site Speedup Techniques debate, Named parameters and Annotations".In this episode, Manuel Lemos and Ernani Joppert discuss several unusual site speedup techniques presented in recent articles of the PHPClasses site blog. They also discuss the (non-)inclusion of new PHP features discussed by PHP core developers like having named parameters in function calls and the support of Java-like...
Latest PEAR Releases:
This weekend I'm presenting at DayCamp4Developers, a virtual event comprising a full day of workshops for developers of all disciplines to improve their soft skills and move forward in their career. I get to attend since I'm speaking, but even after I've given my slot I know I'll be online to watch the other talks and I know I'll learn something myself! I believe that, however good your technical skills are, being able to communicate effectively means the different between being the bearded expert in the...
Unusual Site Speedup Techniques debate, Named parameters and Annotations - Lately in PHP podcast episode 6
By Manuel Lemos
In this episode, Manuel Lemos and Ernani Joppert discuss several unusual site speedup techniques presented in recent articles of the PHPClasses site blog.
They also discuss the (non-)inclusion of new PHP features discussed by PHP core developers like having named parameters in function calls and the support of Java-like annotations in PHP code.
Recently I gave a few public presentations and started to convert the slides for making them available online. Here's the first bunch with slides from two conferences which were held in October, the International PHP Conference in Germany and PHP Barcelona in Spain. As always: The spoken word is missing on the slides ... Continue reading "Slides from IPC and PHP Barcelona"
A little more than a week ago, something special happened in Brooklyn. On a beautiful autumn day in the charming neighborhood of Cobble Hill, some of the friendliest and most talented web developers, designers, and entrepreneurs gathered together at the Invisible Dog for Brooklyn Beta, a conference I helped organize and host.
People have been saying the nicest things, so although the past several months have been tough, it has been well worth the effort. Here are some of my favorites:
Brooklyn Beta was...
Since about 4 weeks I have really started using Symfony2, in development for a work project no less. Kinda crazy seeing its still in pre-alpha phase, but I think its a great platform today and I know its going to be the best soon aka once we have a stable release. But in these 4 weeks quite a few things have popped up that I like to see addressed. Most things aren't really about writing code, but figuring out how things should be. The kind of stuff that is hard to fix on your own. At the same time there...
Special characters in html can be written as "named entities" like
a for the "right arrow" symbol, a.
One very commonly used named entity is the non-breaking space
When trying to use those entities in a
unprepared XML document,
your XML validator will give you a big fat error:
Undefined entity A
general entity "nbsp" not defined and no default entity
The same will happen when you use such a named entity in a
that is served with a...
The problem with Apache's approach to dealing with multiple clients, is that there's only ever a limited amount of Client processes available. This is usually is around a few hundred on common webservers.
Because of this, it becomes necessary to handle HTTP requests as quickly as possible. As soon as a request is handled, it can go on serving the next. If a client happens to have a slow connection, this can have a direct effect on the scalability of your frontend server.A common way to fight this, is to...
The slides for my talk on "APC & Memcache the High Performance Duo" are now available here: Barcelona_APC_MEM2010.pdf. Thanks to all the attendees for listening and asking questions, hopefully there are a few converts to APC/Memcached resulting from this talk .
In a quick new post to his blog today Brian Swan shows you how to find a drive letter in Azure through PHP (for a Windows Azure Drive).Today, I'll start by taking a look at Windows Azure Drives. Specifically, I'll explain how to programmatically determine the driver letter for a Windows Azure Drive. (I'll assume you've read the getting started post I wrote a couple of weeks ago.) Simply put, a Windows Azure drive acts as a local NTFS volume that is mounted on the server's file system and that is...
On the Re-Cycled Air blog Jack Slingerland has posted another in his "Dark Arts" series looking at some of the lesser used PHP features. This time he focuses in on daemonizing a process by forking it off into the background.One of the many things you don't often do with PHP (actually, I'm not sure you do this much with any language) is daemonize a process. A daemon is program that runs in the background (read more here). On Unix systems, processes are usually created by forking the init process and then...
On the NETTUTS.com site today there's a new tutorial about using the LESS CSS tool to get the most out of the styling of your website. The tutorial uses the PHP implementation by Leaf Corcoran to accomplish the same things as the Ruby library offers.During a sick day a few weeks ago, I got around to something I've been meaning to look at for about a year: LESS. If anything web technology is worth a look, I promise LESS is. In this article, we'll look at the amazing power of LESS and its ability to...
On the Zend Developer Zone today there's a new tutorial by Olek Janiszewski with a suggestion to help make the execution of your application's PHPUnit tests around three times faster. There's two problems that he sees as the slowdowns - truncating tables after the test runs and declaring tables in controller tests.As I've mentioned before, Zend Framework isn't really encouraging developers to do TDD (on the other hand, this shouldn't be a surprise in the PHP community). The application architecture is...
New from the SitePoint blog, there's an article from Craig Buckler about using buffer flushing to increase the load times of your applications and websites.Output buffering makes this process quicker and more efficient. The buffer is essentially a big memory-resident string. When text is output, it's appended to the buffer rather than returned to the browser immediately. The buffer is then "flushed", i.e. its contents are transmitted and the string is reset pending further output.He notes the instances...
Since Marco Tabini won't be able to make it to the CodeWorks Austin spot this year, Keith Casey asked me if I could fill his spot and give his talk on working with the object oriented features that the PHP 5.3.x series has to offer. Here's his summary:
With version 5.3, PHP has finally acquired a well-rounded object-orientation model that rivals - and in many way exceed - those of most other languages, while maintaining PHP's trademark simplicity and ease of use. In this session, Marco will explore the...
Popular posts from PHPDeveloper.org for the past week:PurpleRockScissors.com: Avoiding Cache Stampedes with Pseudo-Locks
PHPBuilder.com: Enforcing Coding Standards with PHP_CodeSniffer
Pumka.net: Why MySQL timestamp is 24 seconds different from PHP
Zend Developer Zone: File uploads with Adobe Flex and Zend AMF
ProDevTips.com: Multiple File Uploads with XHR and PHP
Site News: Popular Posts for the Week of 10.22.2010
VoidWeb.com: PHP Clustering using Apache httpd mod_proxy
LogicPool.com: List of PHP and...
If you've been around PHP for a while, you've probably heard about APC, the Alternative PHP Cache. Adding APC to an application usually results in improved application response times, reduced server load and happier users. This article will introduce you to APC and guide you through the process of integrating it with your PHP application.
Just finished my talk on the "Hidden Features of PHP" at the PHP Barcelona conference. First time me giving this particular talk, which I think (hope) went pretty well. Big thanks to all the attendees for being there, especially those to braved the large crowd and asked questions.
The slides from the talk are now available online and can be downloaded at: barcelona_2010_hidden_features.pdf
On PHPBuilder.com there's a new tutorial from Octavia Anghel about using the DOM extension to parse XML in a PHP5 application. The DOM functionality makes it simpler than even the older PHP4 DOM functionality to work with XML messaging and documents.DOM (Document Object Model) is a W3C standard based on a set of interfaces, which can be used to represent an XML or HTML document as a tree of objects. A DOM tree defines the logical structure of documents and the way a document is accessed and manipulated....
Latest PHP Tweets