Archive for the ‘programming’ Category
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: active-directory, ad, openid, Security •
1 Comment
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: code contracts, design by contract, instrumentation, Javascript •
8 Comments
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: cross-domain, easyxdm, rpc •
No Comments
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: binary, bitwise, extjs, Javascript, privileges •
No Comments
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: binary, bitwise, Javascript, privileges •
5 Comments
When building complex web applications it is often necessarry to restrict the user to keeping only a single instance open, and to do this you need to check for the precense of an existing instance, either directly or indirectly.
Posted by oyvind.kinsey on November 15th, 2009 under programming Tags: Javascript, Single instance •
1 Comment
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: book review, extjs, Javascript •
No Comments
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: easyxdm, Javascript, widgets •
2 Comments
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: AJAX, cross-domain, easyxdm, easyxss, Javascript, rpc, xss •
87 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 http://code.google.com/p/easyxss/ 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: cross-site, easyxss, Javascript, Security, xss •
12 Comments