Tech and Stuff from NZ

  1. Deploying Scala/Spray App on Cloud Foundry

    A few months ago I was playing with Scala/Spray on Bluemix (Cloud Foundry). Deploying it wasn’t as straight forward as I thought, here is what I learnt.


  2. Reagent - ClojureScript and React made easy

    Recently I’ve started reading into Clojure and came across something really interesting. Clojure is a JVM based functional programming language, based on Lisp. React is a recent web frontend framework from Facebook that has been everywhere lately. React a reactive Javascript framework, similar to AngularJS, but takes a different approach in component management to make it much faster and more scalable. Now this is where it gets interesting - Clojure can be compiled to Javascript via the ClojureScript plugin. Combine the two and you get Reagent, a framework that integrated them together nicely.


  3. Generating Java Spring-MVC code from Swagger Spec

    REST services skeleton code generation is a quick way to get started in implementing the service from popular Swagger spec describing the interface. In this post we’ll look at generating Java Spring MVC code from Swagger spec. There are a few frameworks out there, but at the time I couldn’t find the one that I want - and so I’ve created a new template for my needs. Here is a quick walkthrough on setting up code-gen for Java Spring MVC project.


  4. Things You Should Know Before Choosing Bluemix

    About Bluemix. Bluemix is a cloud service provider that let will host your web app for you on the cloud. Similar to Amazon’s AWS, Microsoft’s Azure, Google’s Cloud Engine, Saleforce’s Heroku, Redhat’s Openshift, etc.


  5. Magnet Pattern in Scala

    Continuing from the previous post on Scala’s Cake Pattern, here is a quick explaination of the Magnet pattern. Magnet Pattern You are probably familiar with method overloading (ie. multiple method with the same name, but different parameter). This is very popular in Java, but is still not available in some modern languages like GoLang because designer to argue it clutters up the language.


Cloudant/CouchDB Spring Boot Starter

1 1

In-Memory GeoIndex for Go (Lang)

1 0

Aggregated Status Monitoring Tool

1 0

Validation Server for Google Authenticator App

1 0

1 0