PHP White Screen on one Server Environment, but not the other

Ever work on PHP build that runs smoothly on one server environment, but then whitescreens on another? Or the homepage loads, but no secondary pages do? This may be one of the most forgotten set reasons why it happens, because it's encountered so infrequently....

.htaccess: An Abbreviated Guide to Managing Your LAMP Hosted Website and Server

Some of the clients I've worked with migrate from an ASP.net environment on IIS to LAMP stack environments, and often want the ability to manage their own rules for redirects and user agent server detection.  As a result, I've compiled this abbreviated guide to creating such rules in the .htaccess file.

Mod_Rewrite Cheat Sheet

.htaccess rewrite rules can get confusing, especially if you don't write them on a regular basis.  Keeping the order prioritized and syntax right is key.  This Mod_Rewrite cheat sheet not only has all the parameters to use, but examples as well!

Regular Expressions Cheat Sheet

If there's one area I have trouble remembering, it's definitely regular expressions.  Whether matching strings in javascript, C#, PHP or writing redirect conditions and rules in an .htaccess file, this is the cheat sheet to have handy!  Compliments to AddedBytes.com for making it available.

ExpressionEngine 2.0 Quick Reference Chart

This quick reference chart for ExpressionEngine 2.x provides all the shortcodes and variables needed for templating, as well as filter variables and allowed arguments/parameters.

WordPress 3.0 Templates & Tags Cheat Sheet

This quick reference guide provides the majority of WordPress 3.0 core functions you may need to customize a front-end or back-end template.  Compliments to www.hpvorlagen24.de who compiled the reference sheet.

$(document).ready best practices

When writing custom jQuery scripts that fire on page load, it's always good practice to call jQuery.noConflict() before the document ready function.

jQuery.noConflict();
jQuery(document).ready(function($) {
  /*YOUR CODE HERE*/
});

For jQuery Mobile, consider:

Installing Balsamiq Mockups, Adobe Air, and Alien on Fedora 15

Setting up Balsamiq Mockups on Fedora 15 is not as easy as on Debian distributions of Linux. If only installing software on Fedora could be as quick and easy as on a Mac. After piecing together some outdated DIY posts and forum entries, I figured it was time to consolidate my findings and post it here. Learn how to install Adobe Air on Fedora (despite support for it being discontinued by Adobe), how to configure Alien so that you can convert a .deb package into an .rpm, and how to get Balsamiq Mockups up and running!

Google Analytics Event Tracking for Flowplayer: Setting Up Playlist Video Clip Event Tracking

Recently, I had to configure Google Analytics Event Tracking for a playlist of several video clips that stream with the Flowplayer javascript plugin. I thought it'd help to document my implementation of playlist event tracking with the ipad plugin for future reference. This post features sample code and a link to the page on the Saint Clare's Health System site for which I had the opportunity to implement.

Flowplayer: Configuring a Cumulative Sequence of Video Clips with Playlist & Ipad Plugins

Recently, I had to configure a playlist of several video clips that would automatically play back-to-back using the Flowplayer javascript plugin. Since the help forums and documentation on Flowplayer's site was a bit garbled, I thought it'd help to document my implementation of a playlist with the ipad plugin for future reference. This post features sample code and a link to the page on the Saint Clare's Health System site for which I had the opportunity to implement.

Pages

Subscribe to Programming Prose, Poetry, and Practices RSS