December 01, 2016

How To Use Client Side Libraries in a Universal JavaScript App

At work, I am building a JavaScript application with universal rendering. There are a number of challenges with building a universally rendered application, but one challenge in particular is making sure code that should only run on the client doesn't cause the server to crash. Today, I built a…

Categories
JavaScriptWeb Development
Tags
React
November 16, 2016

State Snapshots in Redux

Redux is a predictable state container for JavaScript apps. I've been using it in all of my apps recently and I discovered an elegant and clever use of it that I want to share. The rest of this article assumes you know how to use Redux. If you do not, follow the link above and read up before…

Tags
Redux
July 02, 2016

Componentize Gem

or Bringing Components to Rails Projects.

In my last few Rails projects, I have been exploring strategies to create and utilize "components" similar to how components are used in Ember. Rails doesn't have a simple, native way to do this. However, I think I've come up with a good way to accomplish this, and I have created a gem to facilitate…

Categories
Web Development
June 18, 2016

How to Prevent a User from Editing a Profile That Isn't Theirs in Ember

or How to Keep Mischievous Users Out of the Cookie Jar

I was working on Tempo the other night and ran into a pretty common situation I wasn't sure how to solve right away. I had created profile pages for my users and given them the option to edit their profile. However, I needed to make sure that a user couldn't edit a profile that wasn't theirs…

Tags
Ember
June 14, 2016

All the Steps Needed To Get Active Model Serializers to Work with JSONAPIAdapter and JSONAPISerializer in Ember

or the Headache That I Thought Would Never Go Away

Recently, I've been working every day on my project "Tempo", but it's been very slow with a lot of headaches. This always happens the first time or two you put theory to practice and you run into all the tiny hurdles and obstacles you weren't expecting. One of the major hurdles was getting rails-api…

June 11, 2016

JSONAPI is not JSON

or How MIME types can bite you in the ass

I've been putting in a few hours each day this week on my new project: Tempo . I've spent most of that time running into snags, but in the process have learned a lot of things. At the crux of my application are users, so it seemed like the right place to start. I've been trying to create a user…

Previous12345678
9
10111213Next