Archive for the ‘programming’ Category

How to set up an AD backed OpenID Provider without direct communication

I’ve currently got a project where I need to provide an OpenID Provider (OP) to authenticate users using Active Directory (AD), something that shouldn’t be to much of a hassle. But there is a catch: the OP needs to be outside the firewall in order to talk to the Relying Parties (RP) and is unable […]

Posted by oyvind.kinsey on July 9th, 2010 under easyXDM, programming Tags: , , ,  •  4 Comments

jsContract – Code contracts for Javascript

I have recently started using code contracts in one of my .net projects and I came to think that since most of the code I produce these days are in Javascript, why don’t I try it there to! Well, easier said than done – there just is no decent frameworks for this. During my searching […]

Posted by oyvind.kinsey on February 3rd, 2010 under jsContract, programming Tags: , , ,  •  10 Comments

easyXDM just became even easier to use!

To accommodate older browsers that does not implement the postMessage interface, easyXDM is able to fall back to using the URI fragment trick, and until now this has meant that the provided hash.html file had to be uploaded to the local domain (the ‘calling’ domain). This seems to be a dealbreaker for many as they […]

Posted by oyvind.kinsey on January 2nd, 2010 under easyXDM, programming Tags: , ,  •  4 Comments

Modifying privileges stored binary using ExtJs

In an earlier post I showed you how to use binary operators to store multiple privileges/settings in a single integer field. Now I will present to you a simple control for visualizing and modifying such a value.

Posted by oyvind.kinsey on November 17th, 2009 under programming Tags: , , , ,  •  2 Comments

Storing multiple privileges/settings in a single integer

In many applications you have the need to set users privileges , and while there are many ways to do so, I prefer to using a single integer value to store a users privileges on any single entity. This has many advantages, you only have a single value representing all privileges you can add and […]

Posted by oyvind.kinsey on November 17th, 2009 under programming Tags: , , ,  •  10 Comments

How to restrict your web app to a single instance

When building complex web applications it is often necessary to restrict the user to keeping only a single instance open, and to do this you need to hire web development Salt Lake City to check for the presence of an existing instance, either directly or indirectly.

Posted by oyvind.kinsey on November 15th, 2009 under programming Tags: ,  •  3 Comments

Upcoming book review – “Ext JS 3.0 Cookbook”

The nice people at Packt Publishing has asked me to do a book review of  Jorge Ramons “Ext JS 3.0 Cookbook“. According to the book description the following subjects will be covered Work with different browsers, platforms, and the DOM, as well as determine and understand the different ExtJS data types Create your own custom […]

Posted by oyvind.kinsey on November 11th, 2009 under programming Tags: , ,  •  No Comments

Widget support added to easyXDM!

The newest version of easyXDM (v1.5.3) now includes two new classes, the easyXDM.WidgetManager, and easyXDM.Widget. These make it extremely easy to make mashups based on the subscribe/publish architecture.

Posted by oyvind.kinsey on September 6th, 2009 under easyXDM, programming Tags: , ,  •  2 Comments

easyXDM – extremely easy cross-domain scripting

easyXDM is a javascript library that uses available techniques to provide a means of transporting messages and/or method calls between windows in different domains, in short, by-passing the same-origin policy and letting you call methods across the domain boundry. This is perfect if you plan to provide a client-side API (e.g Facebook Connect) on your […]

Posted by oyvind.kinsey on August 20th, 2009 under easyXDM, programming Tags: , , , , , ,  •  88 Comments


Please see easyXDM for updated info! I’ve just completed the first version of my cross-site scripting library easyXSS. It is available at under a MIT-license. As it is now it supports simple messaging between windows of different domains, but it also supports proxying method calls and results between them making it well-suited for creating […]

Posted by oyvind.kinsey on June 24th, 2009 under easyXDM, programming, Uncategorized Tags: , , , ,  •  12 Comments