Static Assets of a Go Web App

These are lessons I've learned from developing a web app using the Go programming language.

One of the functions I've used often when developing Django apps is the STATIC_PATH variable. I was able to implement something similar in my Go web app.

import (
  "github.com/gorilla/mux"
)

var ...
more ...

Reverse Function in Go Template

From a python programmer's perspective, these are lessons I've learned from developing a web app using the Go programming language.

After understanding how to structure a go web app and route requests to a view handler, the next logical step was to use a template to render an ...

more ...

Routing for a Go Web Project

From a python programmer's perspective, these are lessons I've learned from developing a web app using Go.

After I've planned my project structure for my go app, I started to look into how I should go about developing the app itself. I read the detailed tutorial from ...

more ...


Task Queue Routing in App Engine

Introduction

When working with App Engine's task queues, it may be confusing to understand where and how a particular task is being executed. If working with different versions and modules, things can get confusing fast. Fortunately task queue processing is fairly simple if you keep a few things in ...

more ...

Ubuntu 14.04 on 13" Macbook Pro

I love Ubuntu, especially as a development environment.  Since the release of 14.04, I decided to try it out on my 13" Macbook Pro Retina.

1. Partition

The first step is pretty simple.  You can resize the Macintosh partition using the OSX Disk Utility.  I resized the OSX partition ...

more ...

Command-t for vim fails on Mavericks (and how to fix it)

I recently had to rebuild my dotfiles and haven't done so for several months, before I updated my Mac OSX to Mavericks. I got a nice little error when I tried to use vim after building command-t:

Vim: Caught deadly signal SEGV
Vim: Finished.
Segmentation fault

Apparently Mavericks uses ...

more ...

Installing Ubuntu 13.10 on 13" Macbook Pro Retina

The timing of the release of OSX mavericks and Ubuntu 13.10 was interesting to say the least.  I was naive enough to go ahead and upgrade my OSX system to mavericks without fully backing up both my OSX and Ubuntu data.  The good news is that the upgrade went ...

more ...

Tastypie and App Engine's NDB models

Tastypie is a great library to plug in and get a REST API fairly easily.  It's a little more difficult when working with NDB models.  I've implemented a version of Tastypie's resources.py, to work with App Engine's datastore models.  Simply import this version and you ...

more ...