Writing a Handlebars Helper for Ember.js

Handlebars [https://github.com/wycats/handlebars.js/] is a simple templating language that binds data to the HTML document. Handlebars templates keep our views nice and light by allowing us to inject data via Handlebars expressions–– {{some-awesome-data}}. In an Ember application, Handlebars will allow you to bind data to the… »

Ember.js Tutorial

In my previous post [https://www.thegreatcodeadventure.com/making-a-rails-api-with-grap/], we learned how to build a Rails API that serves up data about a Graduate model. Our grads have a first and last name, a bio, a current job, a Linkedin, Github and Twitter link and a few other attributes. Our… »

Making a Rails API with Grape

So, grapes are a food. Grape is a gem that can help us build REST-ful APIs in a Rails framework. This post is about Grape, the gem, not grapes, the food. Now that we have that cleared up, let's begin. What is Grape? According to Grape [http://intridea.… »

Rails Decorators: A Refactoring Adventure

Okay, I have a confession to make. We're not going on a real adventure. If you were expecting space ships or pirates, you're out of luck. However (bear with me), we are venturing into what is, for many Rails newbies, unchartered territory: Refactoring and design patterns.… »

Polling with Javascript & jQuery

In a previous post [https://www.thegreatcodeadventure.com/hello-or-building-a-chatting-app-with-rails/], we learned how to use the publish-subscribe cycle along with Faye and the Private Pub gem to create a chatting application with Rails. There is, however, another way to provide your users with push notifications from the server--polling. What is Polling?… »