Greg Aker

Entries Tagged with: tutorial

Session Cache in ExpressionEngine

Filed in: PHP, ExpressionEngine, tutorial

June 14, 2011

I think the session cache may quite possibly be one of the more under used tools in the third-party ExpressionEngine developers toolbox. The speed/performance increases from strategically caching items in this can be substantial. As with anything you do while developing your addon, benchmarking needs to be done every step of the way to ensure you aren't overdoing it and actually causing issues. I want to illustrate how adding something to the session cache can give a nice performance boost.

What is the session cache?

First, see the docs.

If you're a developer and haven't had ...

Read More

Let's build an ExpressionEngine Module!

Control Panel Page (mcp file) and model. Part One

Filed in: PHP, ExpressionEngine, tutorial

March 16, 2011

  1. Project Setup and Module Installation
  2. Control Panel Page (mcp file) and model. Part One
  3. Control Panel Page (mcp file) and model. Part Two
  4. Front End Template Tag

I decided to break the control panel portion into two parts, so this will now be a four part series. First, we're going to build the form to submit a short link. This will include a model, view and controller (mcp file).

So, let's start by setting up the base for the module control panel file (mcp.shortee.php). Open that up in your editor, and let's get to work ...

Read More

Let's build an ExpressionEngine Module!

Intro & Install/Update File

Filed in: PHP, ExpressionEngine, tutorial

March 13, 2011

  1. Project Setup and Module Installation
  2. Control Panel Page (mcp file) and model. Part One
  3. Control Panel Page (mcp file) and model. Part Two
  4. Front End Template Tag

I think I'm a bit different than most in how I view the ease in which to build the different types of ExpressionEngine addons, but I definitely think that in most cases modules are not a heck of a lot more difficult than Plugins. Personally, I find Extensions the most difficult as you have to develop with a keen eye to ensure your extension is playing nice with the rest of the ...

Read More