RESTful API Security Principles

This is an excerpt from the “API Security” book I am working on. It explains how high level security design princples can be applied to RESTful APIs. Hope you find it interesting!

How to Dockerize Java RESTful API Application

The goal of this post is to show how to get a Java RESTful API application (based on Jersey framework) into a Docker container. This guide assumes you have Docker, Java and Maven installed.

DC/OS: local deployment using Vagrant

DC/OS (Datacenter Operating System) is an open source platform enabling enterprises to easily build and run modern apps in production. It literally abstracts datacenter into a single computer. DC/OS is suitable for various application types and infrastructure agnostic by design. It runs on top of any bare-metal, private or public clouds. Even local deployment on a single machine is possible and quite easy (useful for testing, development and demo purposes).

Google Cloud Platform for static website hosting

Nowadays speed of website is very important factor that affects conversion and overall user experience. Since significant amount of data loaded for every page belongs to static assets (such as images, CSS and JavaScript files) category optimization of delivery here can contribute a lot to overall website load speed.

Kafka or RabbitMQ: depends on your messages nature

Message queue is a well known architectural pattern that provide an asynchronous communication protocol. It means that sender and receiver of the message are completely detached, they do not need to interact with a queueing system at the same time.

How to set up Cassandra test cluster using Docker

In this post I’ll walk you through set up of the test Apache Cassandra cluster in a Docker environment. This is useful if you want to experiment with this NoSql database or need it as part of your development environment.

How to run simple Node.js application on IBM BlueMix PaaS

Codename: BlueMix (or just BlueMix) is Platform as-a-Service solution created by IBM. It’s built on top of SoftLayer IaaS also owned by IBM. BlueMix is opened for beta testing and currently free.

The power of Underscore.js

Underscore.js is a powerful JavaScript library that provides useful functional programming helpers. Why useful? Let see in a couple of examples below but in a few words it allows you to make your code more clear and compact.

Eight queens (N-queens) solution in Clojure

I have been interested in learning functional programming language during last months. My current choice is Clojure language because this is a dialect of Lisp based on JVM. So it seems to be good candidate for usage in real projects.

How to install Scala and sbt to Ubuntu 12.04 LTS

Scala is a really nice JVM based programming language. This post explains how to install it to Ubuntu 12.04 LTS system. If you don’t just play with Scala console but want to start a project, then you need Simple Build Tool (sbt) installed as well.