WordPress memory usage reduced from 14MB to 1.4MB

About two weeks ago, I wrote a short article called eAccelerator reduces WordPress memory usage which outlined how I was able to reduce WP memory usage to 8MB.  While looking into the Zend Framework, I came across Zend Optimizer again, which I hadn’t messed with in a while.  I decided to install it on a whim.  The results were unexpected…

WordPress memory usage*
Standard PHP installation 14MB
eAccelerator 8MB
eAccelerator & Zend Optimizer 1.4MB
* WP memory usage recorded by TPC! Memory Usage

Continue reading WordPress memory usage reduced from 14MB to 1.4MB

8 Places to Create Flowcharts and Workflows Online

There are several free, and quite powerful diagramming solutions available as online tools.  The following solutions can be used to help diagram software development steps, processes, sitemaps and more.  Online applications such as these, make it much easier for people to collaborate when compared with offline software such as Microsoft Visio or OpenOffice Draw.  The cost and limited licensing of Microsoft’s product can be a deterrent right from the start.  The applications below will address your need to create visually-appealing, easy-to-understand, and cost effective wireframes, flowcharts, sitemaps, and other types of organization charts.

1. Lovely Charts

Lovely Charts

Continue reading 8 Places to Create Flowcharts and Workflows Online

WordPress Security: Primer & Advanced Techniques

WordPress is the most widely used open source blogging software in the world.  This didn’t happen overnight, and the developers over there have certainly earned their keep.  With any web application, especially a heavily used one, there are security risks and precautions we must take.  Without a security model and virtual barriers in place to protect us, it can be an all-out free-for-all for hackers. Continue reading WordPress Security: Primer & Advanced Techniques

Create a slide down menu with toggle button using jQuery

Recently, I have come to find myself recreating the same code over and over again for jQuery slide down menus equipped with one button to toggle display. There’s nothing complex about this code, but it will give beginners the gist of how to do accomplish the task. For this example, we will use jQuery 1.3.2, delivered from Google’s CDN.

On a side note, using a CDN like Google’s can lessen the load on your server, and will actually help reduce overall bandwidth usage on the web as whole. If a visitor has already downloaded the jQuery library from Google’s CDN, the majority of the time they won’t need to do it a second time if you implement this strategy.

The Google CDN address for jQuery 1.3.2 can be implemented using the following code:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>


<input type="button" id="hidden_menu_button" value="Toggle Menu" />
<div id="hidden_menu" style="display: none;">
	<label><input type="checkbox" />Checkbox #1</label>
	<label><input type="checkbox" />Checkbox #2</label>


<script type="text/javascript">
(function($) {
	$("#hidden_menu_button").click(function() {
		if ( $("#hidden_menu").is(":hidden") ) {
		} else {

View Demo

OpenDNS is much more than you think

I recently came across a lovely, free service called OpenDNS by accident, and being the curious person that I am, I just had to read on to find out what it was all about.  Upon reading I found that OpenDNS was a neat little service, offering the following benefits to everyday people:

  • Anti-Phishing – Protects against phishing and scam sites at the lowest level of content filtering.
  • Content Blocking – Allows administrators (parents, managers, etc.) to block entire categories of sites. (Examples: Politics, Photo Sharing, Social Networking, Sexuality, Automotive, etc.)

    OpenDNS - Content Filtering
    OpenDNS - Content Filtering
  • www Navigation – Allows use of terms or keywords to get to your favorite sites.  For example, this is what you would put in your browser’s address bar with and without OpenDNS:
    • w/o OpenDNS: http://mydomain.com/category/subcategory/very_long_page_name_with_numbers_123579.html
    • w/ OpenDNS: anything-you-want
  • Statistics – View your top viewed domains, IPs, and more.  This allows parents to keep tabs on their kids, or network admins to keep tabs on Internet usage.
  • Typo Correction – OpenDNS can detect common typos in domain names.

    OpenDNS - Typo correction on Settings page
    OpenDNS - Typo correction on Settings page
  • Additional security – OpenDNS provides measures to prevent DNS Rebinding Attacks, and offers additional protection against malware/botware (IE Zero Day Exploit, Conficker Virus).
  • SmartCache Beta – This is a feature that allows users to surf the web even in the event of an authoritative DNS outage.  Read the SmartCache Beta press release for more info.
  • Improved reliability and speed – OpenDNS offers “global routing technology” that routes your requests to the closest OpenDNS server, and a more reliable network that is supposed to reduce pesky outages.

So far so good!  Since discovering the software, I have implemented it in two different locations, and both have benefited from it.  One implementation was for a parent of a teenage girl who kept downloading “games” and creating virus and malware outbreaks.  It turned out this was caused by sites disguised as the sites she usually visited… phishing sites.

If my opinion changes, you’ll be the first to know, but for now, two thumbs up for OpenDNS!

Visit the OpenDNS home page »