One to one (or zero) relationship using NHibernate

by Hallstein Brøtan

One-to-one (or zero) is a common relationship. It's when you want to store some optional information about something, but don't want all the columns in the same table. Still, I often find it unnecessary complicated when using an ORM like NHibernate or Entity Framework. I also see people avoiding this…

AngularJS with JSONP and how I get to work on time

by Hallstein Brøtan

My every morning challenge is reaching the bus to get to work on time. And the bus schedule is not something to rely on. Fortunately, the bus company in Oslo (called "Ruter" from now on) has its own REST API with real time data [1]. This is how I created…

Creating multilingual support using AngularJS

by Hallstein Brøtan

"Create multilingual support for the web site". I just got this task for a client project, and I think it’s fair to assume that others will get this task in the future, so this blog post shows how I implemented this for my project. Because the web site is…