Design Patterns: The Adapter Pattern – Tuts+ Code Tutorial

In this article, we will continue our discussion on design patterns by taking a look at the adapter design pattern. This particular pattern can be used when your code is dependent on some external API, or any other class that is prone to change frequently. This pattern falls under the category of “structural patterns” because it teaches us how our code and our classes should be structured in order to manage and/or extend them easily.

How Theme Frameworks Actually Work – Tuts+ Code Tutorial

Theme Frameworks can be extremely powerful. For non-technical WordPress users, they make it possible to create a unique site which looks like it’s running a bespoke theme, and for WordPress developers they can help you apply the DRY (Don’t Repeat Yourself) principle and give you the ability to build custom sites fast.

If you’ve been using a third party framework for a while and have become frustrated with the bloated code or lack of flexibility, or you just want to have complete control over your code, then building your own theme framework could be the best approach.

In this series, you’ll learn how to create your own WordPress theme framework which you can use to build sites for yourself or your clients, or even release for other users. You’ll work through the stages involved in creating the parent theme which forms the basis of your framework, adding extra functions, hooks and more. You’ll also learn how to leverage these in your child themes and plugins and how to release your code to the public.

Good place to get started with WordPress Themes.

Introduction to Generators & Koa.js: Part 2 – Tuts+ Code Tutorial

In this part, we will be creating a dictionary API using Koa.js, and you’ll learn about routing, compressing, logging, rate-limiting, and error handling in Koa.js. We will also use Mongo as our datastore and learn briefly about importing data into Mongo and the ease that comes with querying in Koa. Finally, we’ll look into debugging Koa apps.

Introduction to Tablesorter – Tuts+ Code Tutorial

Tablesorter is a straightforward jQuery plugin that provides dynamic column sorting and pagination in your HTML tables. It’s a nice way to provide sortable, scripted tables that don’t require the user to refresh the page. You can also use it when you’re using Ajax in your application.

This tutorial will showcase actual code and three examples of using Tablesorter. You can download the code at GitHub. Note that the Tablesorter download is actually missing a few graphic images for its pagers, so you may want to use my GitHub files.