Programmers love to approach new business problems thinking about frameworks, libraries, tools or methods which can be used. However, my experience shows that quite the opposite way is most successful – postpone writing the code as long as it’s possible.
Tiddle is my gem which provides Devise strategy for token authentication in API-only Ruby on Rails applications. Its selling point is that it supports multiple tokens per user.
Ember Simple Auth provides a nice abstraction over implementing authentication in Ember.js apps. In this blog post I will show you how to implement a custom Ember Simple Auth strategy for Tiddle.
I always wanted to build my own ecommerce platform from scratch. That’s not because I don’t like to reuse existing code – I really love to. That’s because I believe that we can do better. Now I have a chance to do it and you can follow my work on Github.
“View in Browser” link is a common feature of email campaign systems like MailChimp. It’s a really nice idea – when you code your shiny CSS-heavy emails you want to have a fallback for malfunctioning email clients.
But what if you want to implement this feature on your own? Read on to learn how to send emails in Node.js with “View in Browser” link and inlined CSS.
My mobile network operator keeps calling me. They called at 12:13, at 15:46, at 18:36 and at 20:54. I’m using a pre-paid, so the only thing they can offer me is a subscription. Obviously, I’ve told them many times that I just don’t want it.
How is this story connected with software eating the world?
When you deal with complex forms The Rails Way is not enough. You have to introduce another abstraction for handling more sophisticated validations.
This post shows how to use form objects for validations which need to happen only in one flow and involve dependencies between the fields.
This is going to be a short piece on one particular habit which I practise when writing code. It’s extremely simple and obvious, but I’m surprised how many programmers skip it.
Do you know what “append-only CSS” is? It’s CSS you are so afraid of changing that you exclusively append new rules to one never-ending file.
How to deal with it? Take a look at the article about CSS refactoring which I co-authored.
I hate using modal dialog when the new content could be easily nested in the same page. I just don’t like the user experience of a popup. Why limit yourself to a small box when you can show it in the full-blown layout?
However, sometimes clients insist on a modal in their design and we have to deal with it. In this blog post I will show you how to make the modal dialog a little bit better – give it its own URL.