How to Stop Using Nested Forms
One issue that caused me a lot of pain on my first few rails projects was the natural coupling that developed between the database and the rest of my application. The “skinny controller, fat model” mantra has been the prevalent in the Rails community since the early days. The problem with this philosophy is that it is only 50% accurate. If you are building good object oriented software, you shouldn’t have a fat anything. Read on →
Javascript Templates and Chrome’s Content Security Policy
Lately, I have been spending a lot of time working on an open source EPUB3 viewer called Readium. The project is built entirely with HTML5 / javascript and distributed as a chrome extension. A while ago while testing in Chrome Canary I noticed a warning that support for manifest version 1 is being phased out in favour of version 2. Read on →