This is a talk I gave at the South Florida PHP Users Group about Nginx, PHP-FPM, Memcached, identifying bottlenecks and other topics related to website performance.
Nginx pres from James Fuller
When I started programming in PHP, my hosting setup involved a cPanel installation with Apache and MySQL. This has been the de facto standard for many PHP developers and for the most part I don’t think any of that needs to change. I simply never had to deal with websites that got more than 10,000 [...]
PHP was my first programming language, and my initial exposure to JavaScript was through libraries like jQuery. There were things about JavaScript that always seemed to trip me up in the beginning due to how they worked differently than PHP. Heck there are still some things today that are confusing. I want to [...]
I love programming, but admittedly I absolutely hate setting up local development environments. I have been using tools like Vagrant and Puppet to help ease the pain, but even then I find it tedious to get a quick project off the ground. This [...]
I think the first “IDE” I ever used for web development would have to be Adobe Dreamweaver (née Macromedia). Ok, so maybe it was Microsoft FrontPage, but that shouldn’t really count. Dreamweaver for the novice held the promise of being able to easily create DHTML animations and [...]
I recently presented on one of my favorite topics at my local PHP user group, the South Florida PHP Users Group. The talk was meant to be an introduction to PHPUnit - I chose to dedicate some time to describing the need for automated testing. I think many PHP developers have [...]
Design by contract is an important concept for controlling what type of input your methods or functions can receive. One of the most dangerous features of PHP is that functions will still execute even when they are missing required arguments, by emitting a warning instead of an error. In this post, I am [...]
I recently gave a presentation on Lithium PHP for the South Florida PHP Users Group. This was my first talk in this type of setting and the experience of preparing it really gave me the opportunity to improve my understanding of [...]
Note: see comments below for a better solution
I’ve been working on a project that is using the MySql adapter for Lithium and I keep running into roadblocks when it comes to using some MySQL specific features. Unfortunately the adapter for MySQL that comes with Lithium doesn’t quite handle all of the features [...]
Note: This article may not be pushing best practices. Instead of setting view data via an AppController, we can create a helper for any arbitrary data we need. Due to Lithium’s autoloading, this takes care of including our helper as needed and may make a bit more sense than injecting view variables via an AppController.
[...]
Projects & Profiles
Tags
ajax async beanstalk beanstalkapp blogging bug tracker bug tracking cakephp cakephp google group clojure closures douglas crockford git github giving a technical presentation handlebars handlebarsjs issue tracker issue tracking javascript jquery json lighthouse lithium lithium filters lithium php memcached mvc mysql mysysgit netbeans nginx node node.js php php-fpm php 5.3 php ide phpunit podcasts scaling subversion svn tickets wordpress
