-
Recent Posts
Recent Comments
- Sajib on Rolling Your Own MVC: The View
- Single var pattern – Javascript | malev's blog on Responsible JavaScript: Globals
- Fiji Web Design on The Factory Pattern in JavaScript
- Bah Humbug on A Week in JavaScript Patterns: Self-invocation
- JavaScript Patterns, A Book Review « Room Full of Mirrors on A Week in JavaScript Patterns: Self-invocation
Archives
- February 2010
- January 2010
- November 2009
- October 2009
- June 2009
- May 2009
- February 2009
- January 2009
- October 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- March 2007
- January 2007
Categories
Meta
Category Archives: PHP
Pro Tip: Installing PHP 5.2.9 on CentOS
CentOS in my opinion is the best way to go in terms of server distros. Some people, including myself, are frustrated at the fact that some software is slow to be updated out of a fresh install: specifically PHP. At the time of this writing, PHP 5.1.6 is the version shipped with CentOS 5.4. While I’m sure they have their reasons for this, we still have to write our applications effectively — 5.1 just doesn’t cut it anymore Continue reading
Posted in PHP
10 Comments
Ajax for PHP Developers
Earlier this week I gave an Ajax presentation for NYPHP. It felt a little strange presenting a JavaScript topic to a bunch of PHP developers, but I made it come back to PHP by demonstrating a the latest Panda PHP … Continue reading
Posted in Code, JavaScript, PHP, Talks
1 Comment
Rolling Your Own MVC: The View
Welcome to the third part of my series on MVC framework development. In the previous two articles, I discussed the general feature set that our framework will have and I also gave an overview of the page load scenario. In … Continue reading
Rolling Your Own MVC: The Page Load Scenario
In my previous article, I announced that I would be documenting the process of developing a simple MVC framework. In this post I will go into a little more detail about each of the specific components of our MVC and will … Continue reading
Rolling Your Own MVC: Introduction
2007 was the year of framework development for PHP. Cake, Code Igniter, Zend, Solar, Symfony, and piles more began to really get some well deserved attention. Today, you can throw a rock and hit a half dozen production-ready frameworks that … Continue reading
One Step Closer to an Abstract Singleton
The singleton is an incredibly useful pattern in PHP for many reasons. I tend to find myself using them when I know I should be using static classes, but can’t because of PHP’s lack of proper class name discovery in … Continue reading
Posted in Code, Design Patterns, PHP
3 Comments
FIEO with PHP 5 Interceptors
Note: Before getting into this, it may be easier to just download the file, run the code, then read this post. Thanks to the efforts of Chris Shiflett and other PHP security experts, Filter Input/Escape Output (FIEO) is now a … Continue reading
Posted in Code, Design Patterns, PHP
8 Comments
The Abstract Collection
I discovered something cool the other day while playing around with a PHP class that was designed to hold a bunch of items of a certain type. Essentially it is a way to get around PHP’s lack of strict type … Continue reading
Posted in Code, Design Patterns, PHP
Leave a comment
The No-Image Redesign
It’s a programmer thing. You designer-types wouldn’t understand. I’ve actually been sitting on this layout for quite some time now but didn’t really want to have to deal with skinning WordPress. With the last layout, I just used the header … Continue reading
“0″ is not Empty
PHP offers a nifty thing called “silent type conversion” which allows data of different types to be easily compared with data of different types. This is cool because I can say that the integer 1 and the boolean true can … Continue reading
Posted in PHP
Comments Off