Blog Archives

In Need of Parse Alternatives? Let’s Look at Firebase!

Until recently, Parse has been the go-to solution for mobile developers who needed to persist application data to the cloud without having to set up and run a custom API backend. All of this changed in January 2016, when Parse

Posted in Android, Architecture, Database, Development, IOS Tagged with: , , ,

Are You Data Literate?

We live in a world where data has become more important than ever. In fact, the World Economic Forum calls data the new “It currency”, every bit as valuable as oil and gold. Yet, despite the fact that data has

Posted in analytics, Architecture, Data Science, Database, Development, scaling, sql Tagged with: , , ,

A Sane Oauth Federation Strategy With Doorkeeper in Ruby

There are a lot of articles out there about setting up one server with Doorkeeper to offer Oauth support in Ruby projects. But when you start to get into federating your Oauth credentials across services it turns into the wild

Posted in Architecture, Development, gems, rails, ruby, scaling Tagged with: , , , , ,

HTTParty Cookies and Devise

So you are working in Ruby, you like to party, you like HTTP and you like cookies. For many ruby developers the HTTParty is a great way to make http calls from your ruby code to a web service. When

Posted in Architecture, Development, gems, rails, ruby, scaling Tagged with: , , , , ,

Using OmniAuth to Authenticate for Doorkeeper

In Ruby, if you want to set up a Oauth provider the Doorkeeper Gem is a popular solution. We had a application where we wanted to provide our end users with a oauth interface for our main authentication/authorization, but delegate

Posted in Architecture, Development, rails, ruby, scaling Tagged with: , , , , ,

Automating Your SOA Ruby Development Environment Using Foreman and Bash

The Monolithic App When you have one monolithic ruby stack,  getting a developers machine to run the stack for smoke testing etc. is really easy.  If the application is just Rails based without any background jobs you simply start up

Posted in Agile, Architecture, Database, Development, gems, rails, ruby, scaling Tagged with: , , , , , ,

Charming Large Databases with Octopuses

Ruby is often the language of choice for startups of smaller applications. It allows you to get an application going quickly. While there has been a lot of talk about NoSQL databases for many applications instead of a SQL database,

Posted in Architecture, Database, Development, gems, rails, ruby, scaling, sql Tagged with: , , , , , , , , , , ,

Skinny Models and Skinny Controllers with the state_machine gem

Recently we have been working on a project to create a payment system using Stripe.  When you are processing payments you often have a process that goes through a number of steps.  For example,  if you are processing a payment

Posted in Architecture, Development, rails, ruby, Stripe Tagged with: , , , ,

Purr Programming 2.0

Years ago when Extreme Programming was a new concept, a (now defunct) website posted an article about taking Extreme Programming to the next level by substituting a household cat for a dev pair. At that time I did all of

Posted in Agile, Architecture, Javascript, rails, rails, ruby

Cookies with Goliath middleware

Goliath is a really quick multi-threaded web server.  Recently I was trying to set and retrieve a cookie for a authentication module I am writing in it.  So I googled,  tried Rack::Utilities.cookies etc..  Nothing worked. The solution (for me) In

Posted in Architecture, ruby