Getting Started with Gulp

I’ve used a variety of build tools through my career, from make to ant to maven/maven2 to gradle, through rake and now grunt and gulp. People tend to be zealots about their particular tool of choice. I’m a lot less fussed. I value simplicity over almost everything else. I don’t value typing less at all - if a framework makes me type 30 more characters but it’s easier to understand what’s going on then it wins for me. I also value ability to do what I need now (or know I’ll need in the future) over what I may at some point in a distant future possibly value and want.

Read More

Moving to Hexo

Hexo

I’ve moved these pages to Hexo. Found it a lot more simple and easy to tweak than Octopress, for the same reason that I find Javascript/Node much easier to work with than Ruby. Old posts moved over incredibly easily.

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

Up and running on AppEngine with Maven, Jersey and Guice - Part 1

After 10 years away from proper coding, I’m building a new application. I’ll talk more about Listerly and some of my design choices at a later time, but this post should help document the process so if anyone else wants this type of a setup it’s easy to get going.

This application has many moving pieces, and to make my life easier I’m going to have some pretty awesome tools do most of the heavy lifting for me. In no particular order, the key pieces that I’ll be using include Google AppEngine (PAAS), maven (build), git/github (source control), Jersey (RESTful services), Guice (dependency injection), Freemarker (templates), Jackson (JSON) and JPA (persistence).

  • Part 1 gets you set up with maven and a blank repository on github
  • Part 2 gets you to the point of having a working web application running locally and deployed on AppEngine.
  • Part 3 adds Jersey and Guice to the mix.
  • Part 4 makes Jersey useful by demonstrating how to use Freemarker and Jackson to return HTML and JSON respectively.
  • Part 5 will set up persistence to the Google DataStore using JPA.

Read More