Don't just dump code into your models Written by Jakub Arnold, Apr 19, 2014

A few years ago there used to be a motto saying Skinny controllers, fat models. It was good at the time, because people thought all of the application code belonged into the controllers, and it helped them realize that it's good to have just a simple...

Getting started with Ember App Kit Written by Jan Votava, Mar 7, 2014

In the following tutorial we’ll create a simple Ember.js app for logging your water intake. Besides learning the basics of Ember.js, you will also learn how to use Ember App Kit.

4 Tips for Working with Dates in PostgreSQL Written by Jakub Arnold, Aug 26, 2013

Those of us who come from Rails aren't surprised when we see something like 5.weeks.from_now or 3.days.ago + 2.hours, which makes working with dates much easier. But PostgreSQL got your back on this as well, you can just use the builtin functions and...

PostgreSQL Sequences and Array Column Types Written by Jakub Arnold, Aug 24, 2013

This article is a sequel to our PostgreSQL series, which is aimed to teach you how to get the most out of your database. You might have been led by Active Record (or Rails in general) that it is a good idea to completely abstract away the database...

Setting up Redis for Production Environment Written by Jiri Pospisil, Aug 20, 2013

We all know this. You get something to work on your own development machine, but don't really feel confident enough to do the same on a production box. In development, you can always wipe out everything and start over. You cannot do the same in production...

Strong Parameters by Example Written by Jakub Arnold, Aug 17, 2013

Rails has always had a nice way of sanitizing user input coming from ubiquitous forms. Up until Rails 3, the solution was to list accessible fields right in your models. Then Rails 4 came along and introduced a different solution - strong_parameters

Ember Model - Introduction Written by Jakub Arnold, Jun 26, 2013

I've been a fan of Ember Data since the day I started working with Ember.js. It felt so easy in the beginning, I could just create a model and it would work out of the box with my JSON API. Life was fun.

I started using it more and more and unfortunately...

A promise ate my homework (or exception) Written by Jakub Arnold, Jun 10, 2013

If you've ever used a library based on promises such as Ember.js/Ember Data you've probably stumbled upon this. Or maybe you haven't, but the app was silently failing with no error message, which is even worse.

The reason for this is simple and it...

How to write a login form that doesn't suck, using Ember.js Written by Jakub Arnold, May 23, 2013

When using frameworks such as Ember.js, we often find ourselves forgetting the main reason why we chose to use the framework. We don't do it because it's cool, or at least we shouldn't. We don't do it because somone told us we have to use Ember (unless your boss doesn't have much brains). We do it because want to make the user experience better. I won't go into details about server side implementation, this is purely about UX.

Why you should consider using Ember.js Written by Jakub Arnold, May 14, 2013


View the entire content here

Next page