Exporting and creating field definitions in Drupal 7

Since I'm constantly googling for this one resource, on steindom.com, to export fields programmatically I figured I should probably just share it with everyone.

Caching data in Drupal 7

For a project at work we're working with a bunch of api's for this one application we produce. Through this experience i've had to create methods of caching for it so that we're not constantly hitting API endpoints when we don't need to necessarily.

First in my module i've created a my_module.install file which will include a hook_schema() implementation. This is where we will be creating the new cache table.

Creating a new Ghost theme with gulp.js - Part 1

Installing Gulp

At work we've been using sass lots in our development projects. And through that we have started using gulp.js to compile our sass files. First we need to install gulp.js globally on the server.

sudo npm install -g gulp

When this is complete it should be available to any project on your system.

Settings up Ghost

The guys at work were talking about how they set their blogs up using ghost. At first I didn't really like the idea of using something other than Drupal to run a website but was suprised. It wasn't until another friend was looking to set up a blog that I decided to set it up for her and through that decided to use it myself. This is my experience setting it up.

Getting it ready

On your server you will download ghost to a directory you want it to run from.