Nginx on Ubuntu

As quoted in our parent article, Nginx is our thing. In order to create similar working environments on both your local machine as your server(s), we've written 2 sibling articles as close aligned as possible. If you use a virtual webserver service like DigitalOcean, you can opt for a pre-installed LEMP stack (Linux, Nginx, MySQL and PHP). In that case you can ignore some of the bullets in this article - it's still useful to fine-tune your setup, and more important, it's always a good idea to know how your operating system works. Set up Install Nginx We are »

Nginx on OSX

As explained in our parent article, we love Nginx. In order to create similar working environments on both your local machine as your server(s), we've written 2 sibling articles as close aligned as possible. OSX comes with Apache pre-installed. Lovely. Now we need to ignore that. As with every http server flavour, Nginx has its on set of quirks. After years of .htaccess hacking, we're sure you'll find some use in the latter tricks and modifications. Setup For your local convenience If you don't have HomeBrew installed, go get it already: homebrew article. If you have, it doesn't hurt »

Create a Frontend App in Backbone

We’ll be making a Superadmin Account Manager as P.O.C. frontend app. The goal of this application is to manage our accounts and users. This post will cover the basic setup of the frontend logic, based on Node.js, Bower, Grunt, Backbone.js, Require.js and Bootstrap. While this article's value is in the team approach (eg. Bower), the workflow is generally considered "best practice", even for solo projects. The main purpose of the Superadmin is to visualise users and accounts we're going to create later on in the API. Manage Packages The days where tuts had to »

Set up your Local Battleground

There is no such thing as always online. As any seasoned developer will second, domesticated or not, you need a local environment to develop. The bigger and more versatile your involvement in team-based projects, the safer you'll feel with your own little corner where you can trail and error without hordes of angry Mongols on horses boo-ing you. With *nix as the dominant webserver flavouring, we're going to assume you own a Mac. An Ubuntu VM (set up) is highly advised if you are stuck with a Windows machine. Choose your pick, based on the projects you're planning to explore. »

3 Layer Architecture

There is a magical creature we've been chasing throughout multiple projects, plotting and planning with some beautiful minds, and it has a name: The 3 Layer Architecture. In short, the 3 Layer Architecture allows small development teams to build an API-centric, scalable and secure project. The structure is based on compartmentalised communication through message queueing. All you need are 3 VPS servers and some open source software. The beauty lies in the logic and minimal cost - the proof in the ease of explaining it. The architecture is outspoken (restful) API Centric, with MQ (message queuing) as backbone. What makes »