WordPress

  • Plugin Review – Spam Free WordPress

    ·

    Update 7/31/2013—The following review is of an older version of the plugin. As of the newer 2.0 branch, many of the issues below have been resolved. A friend of mine directed me to a new spam fighting plugin via a retweet today. My Latest Favorite Plugin: Spam Free WordPress http://t.co/3tQ3a573Ls — SureFire Web Services (@SureFireWebServ)

    Read More

  • Ludicrous Speed: WordPress Caching with Redis

    ·

    When I first started hosting my own sites, I had no idea what caching was or why it was important.  Then I wrote a couple of popular blog posts, and my server crashed. Fast forward a few years, and I’m running a few different websites on a few different servers.  Some get a steady stream

    Read More

  • The Hackiest Hack that Ever Was Hacked

    ·

    I was first introduced to Plupload when I was building websites in .Net.  I had some great HTML5 file upload tools that worked wonders in my browser of choice, but most of my colleagues (and about 80% of our clients) were using a browser that didn’t support the API.  I used Plupload as a reliable

    Read More

  • Don’t Dequeue WordPress’ jQuery

    ·

    As a moderator on the WordPress Stack Exchange, I end up spending a lot of time on the site.  I see lots of great questions, lots of not-so-great questions, and several you’ve-got-to-be-kidding-me questions.  But the question I see the most often frustrates me: How do I remove WordPress’ jQuery and use Google’s CDN version instead?

    Read More

  • Distraction Free Reading Mode

    ·

    I’m a big fan of the “distraction free writing mode” within WordPress. For those of you who haven’t seen it – launch a new post in WordPress and click the full-screen icon on the editor.  Your mind will be blown.  The sidebars, admin interface, and all of the other UI cruft of the WordPress interface drops

    Read More

  • Making Singletons Safe in PHP

    ·

    Last time, I argued in favor of the Singleton pattern in WordPress.  Singletons make sense in WordPress specifically for several reasons: They live in the global scope without using the already abused/overused [cci]global[/cci] keyword As a distributed application maintained by several hundred developers, they prevent problems that likely arise from others misusing your code But

    Read More

  • The Case for Singletons in WordPress

    ·

    Please also review my follow-up post, Making Singletons Safe in PHP. There has been a lot of discussion this week regarding the Singleton pattern and whether or not it has a place in modern software development.  Mike Schinkel wrote a tutorial about a Singleton factory.  I wrote one about using Singletons as a WordPress plugin

    Read More

  • WordPress Plugin Structure

    ·

    The power of WordPress lies in its pluggable infrastructure.  Unlike other content management applications which require you to edit the core code of the system to make changes, WordPress supports plugins.  These smaller applications tie in to a rich API provided by WordPress that allows you to change just about everything about the application and customize

    Read More

  • Introducing WP_Session

    ·

    Last time, I talked about what it would be like if WordPress supported sessions.  Well, I decided to put my money where my mouth is and actually took the time to build it. I’m proud to announce the very first release of an implementation of [cci]WP_Session[/cci].

    Read More

  • WP_Session: A Proposal

    ·

    My first experience with WordPress was when a client asked me to hack apart the registration system to allow for simple custom referral links.  They wanted users to be placed at different user levels depending on the URL they used to sign up for an account. My initial attempt was … atrocious   When a user hit

    Read More