Tag Archives: php

May 6, 2015


The easiest and the fastest way to create custom and high quality code for your WordPress project using the latest WordPress coding standards and API’s.

Includes generators for WordPress taxonomies, for example.

April 27, 2015

Starting to get a bit sick and tired of the FUD people are spreading about WordPress. Today’s highlight (paraphrased): “WordPress is super insecure and doesn’t even offer automatic updates”. Except a) it’s more secure than other CMSes—especially less popular ones—and b) WP has had auto-updating built in since 3.7.

April 3, 2015

How Companies and Services Like Facebook Are Shaped by the Programming Languages They Use

Much as startups “mature” by finally figuring out where their revenue will come from, they can cleverly use the power of programming languages to manipulate their organizational psychology. Programming–language designer Guido van Rossum, who spent seven years at Google and now works at Dropbox, says that once a software company gets to be a certain size, the only way to stave off chaos is to use a language that requires more from the programmer up front. “It feels like it’s slowing you down, because you have to say everything three times,” van Rossum says. That is why many startups wait as long as they can before making the switch.

A exceptional piece.

March 20, 2014


Hack is a programming language for HHVM that interoperates seamlessly with PHP. Hack reconciles the fast development cycle of PHP with the discipline provided by static typing, while adding many features commonly found in other modern programming languages.

Hack provides instantaneous type checking via a local server that watches the filesystem. It typically runs in less than 200 milliseconds, making it easy to integrate into your development workflow without introducing a noticeable delay.

This is definitely one to watch. I love the concept of gradually typed languages.

August 18, 2011
December 17, 2010

Shortcode update

Version 0.5.7 of the Shortcode WordPress plugin adds a new shortcode, totalwords, that counts the total number of words in published posts. Note that the count is only an approximation: the total is calculated in SQL as the  sum of LENGTH(post_content) - LENGTH(REPLACE(post_content, ' ', '')) + 1, i.e. the sum of the length of all posts (including spaces) minus the length of all posts without any spaces (plus one). Words may not be counted properly if they are separated by more than one space, but the result should be sufficient in accuracy nonetheless.

As always, www.maxpagels.com/shortcodes.txt lists all of the shortcodes offered by the plugin, sorted by version.