Main Contents

Calculating Browser Client Height

October 2, 2009

When you’re writing a rich Internet application (RIA) in HTML and JavaScript, sometimes you need to programatically place a DOM element relative to the right or bottom edge of the visible browser window. For example, if you want to popup a help balloon near an item of interest, you probably want to make sure that [...]

Tags: , , , ,
Filed under: Programming, Web | Comments Off

Software as Literature

June 29, 2009

If software programming logic and statements were viewed as literature, what form of literature would yours be?

Novel: multiple independent story lines that you hope will eventually converge to make a point.
Short story: a limited number of characters with only one point to make
Essay: tell ‘em what you’re going to say, say it, then tell ‘em [...]

Tags: , , ,
Filed under: Glimpses, Programming | Comments Off

Converting Between EventHandler and EventHandler

April 15, 2009

Have you ever run into a situation where you need to bridge between code that uses the old custom EventHandler pattern for events and code that wants to use the new parameterized EventHandler<> code style? EventHandler style delegates are not assignment compatible with EventHandler<> delegates.  You’ll run into this if you’re writing a new API [...]

Tags: , , , , ,
Filed under: Programming | Comments Off

Live Framework Webcast Monday December 8, 2008

December 1, 2008

The Live Services team will be hosting a live webcast to discuss and demo Live Frameworks development topics next Monday December 8, 2008 from 8am to 10am PST (12am – 2am GMT). 
This will be a great opportunity to listen in on technical topics on developing applications with Live Frameworks, both standalone desktop apps as well as [...]

Tags: , , , , ,
Filed under: Work | Comments Off

Cross-Browser Dynamic JavaScript Loading

July 23, 2008

Stoyan Stefanov writes about Non-Blocking JavaScript Downloads on the Yahoo User Interface Blog.  Good content all around, but I’d like to add a note on an item he somewhat casually skimmed over.
In the “Dependencies” section of the article, Stefanov describes using the onLoad or onReadyStateChange events of the dynamically generated script tag to receive notification [...]

Tags: , ,
Filed under: Programming, Web | Comments (6)

Handango Developer Application Approved (circa 2005)

July 15, 2008

I found a happy little email in my inbox this morning. It was a note from Handango informing me that my application to become a Handango Developer partner has been approved.  Woohoo!
Ya, you know, that application I submitted more than THREE YEARS AGO when I was at Borland experimenting with writing .NET CF apps for my smartphone [...]

Tags: , , , , ,
Filed under: Programming | Comments (1)

OpenSocial APIs – More Detail

November 5, 2007

Although Google’s recently announced OpenSocial APIs are described as presenting a unified API for developers to tap into a variety of disparate social networks, the truth is the only unification is that the different vendors use a similar set of function verbs and response schemas.
OpenSocial is a pattern that a social network vendor can follow [...]

Tags: , ,
Filed under: Web | Comments Off

Google OpenSocial APIs – First Blush

November 2, 2007

Here are a few observations from my first 10 minutes of surfing around in the Google OpenSocial API docs.
Google OpenSocial has two sets of APIs: JavaScript for web pages, and ATOM / REST style APIs for server apps or “installed client” (non-browser, presumably native code) apps.
The ATOM/REST APIs are collectively called the OpenSocial Data [...]

Tags: , , ,
Filed under: Web | Comments (2)

Google OpenSocial

November 1, 2007

TechCrunch reports that Google is set to announce and reveal a new web API called OpenSocial today, Nov 1. This API is supposed to enable developers to build applications that can leverage an end user’s social network, but without requiring the developer to choose which of the many silo’d social networks to support.
The OpenSocial URL [...]

Tags: , ,
Filed under: Web | Comments Off