Posts Tagged ‘Javascript’

easyXDM v1.8.0 relased

A lot has been going on with easyXDM over the past week, and I am proud to finally be able to release a version where all transport types, even the ones for IE6, deliver the same set of features.
From now on all the transports (and all the relying classes) supports

Reliability, ‘guaranteed’ delivery of messages
The new [...]

Posted by oyvind.kinsey on February 27th, 2010 under easyXDM Tags: , , , , , ,  •  No Comments

easyXDM – finally with queuing and fragmenting!

With the newest release, 1.7.4 (see the commits here), we have added two important features, fragmenting for the HashTransport, and queing for both the HashTransport and NameTransport

Posted by oyvind.kinsey on February 22nd, 2010 under easyXDM Tags: , , , , , ,  •  No Comments

Resizing iframes using easyXDM

On thing that many are using easyXDM (and other cross-domain hacks) for, is to dynamically change the size of embedded iframes based on the contents size, so as to avoid the scrollbars.
To make it easier to do this using easyXDM, I have now published an example how how to do this here.
It really is easy, [...]

Posted by oyvind.kinsey on February 19th, 2010 under easyXDM Tags: , , ,  •  No 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 I found [...]

Posted by oyvind.kinsey on February 3rd, 2010 under jsContract, 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: , , , ,  •  No 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 remove available privileges [...]

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

How to restrict your web app to a single instance

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: ,  •  No 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 Ext JS data [...]

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

Using WCF/svc’s automatically generated javascript proxies _without_ ASP.NET AJAX

Most of my web based projects consist of WCF driven webservices at the backend and a javascript UI using ExtJS, and for access to the WCF webservice I like to use its automatically generated proxies as this abstracts away the feeling of working with XMLHttpRequests, actually it abstracts it to a level where you can [...]

Posted by oyvind.kinsey on October 28th, 2009 under Uncategorized 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: , ,  •  No Comments