An example of partial application in PHP, using closures to implement functional-style programming. This technique helps to collapse loops into functions, and shorten code.
This article is based on an older article that has been cleaned up and improved.
Continue reading PHP Partial Evaluation and Functional Style Programming for Nested Arrays
WordPress’ user and permission system is good, but if you want to allow people to register on your site to do something that’s not related to creating pages and blogging, it’s going to get a little weird. Continue reading Looking for WordPress Membership Systems
(I’m helping a person on simbi.com learn about WordPress plugin development. Sometimes, an article will be produced to elaborate on a topic. This article explains WordPress concepts and components.)
WordPress isn’t just blogging or CMS software, it’s a framework for general website development. Like every framework, it comes with a huge library of objects that you’re supposed to use to create your applications. This article will describe many of these objects.
Continue reading WordPress Concepts and Parts for Beginners
I just wrote a small hack that displays, in the menu, a hierarchical menu of Categories. When you add Category to a menu, that category, and all it’s descendents, are rendered as a menu.
The plugin is here at my GitHub: WP Category Menus.
Continue reading WordPress Category Menus
I have been managing a site with multisite and domain mapping, without the traditional plugin. Domain mapping is when you allow a multsite website like mysite.example.com to be used as the website for a different domain, like mysite.com.
The biggest problem I had was getting the admin login working on a mapped domain. This good tutoral explains how to fix that problem. Continue reading WordPress’ COOKIE_DOMAIN and Multisite with Domain Mapping