Archive for the 'Code Bin' Category

ASP.NET Web Services from Javascript with jQuery (without the ScriptManager)

Friday, November 28th, 2008

How to get AJAX functionality out of your ASP.NET web pages, without the javascript bloat of the ScriptManager / Ajax.NET.

Calling web services from javascript with ASP.NET was made easy with the ScriptManager object, but that has the nasty habit of adding over 100k of javascript just by its mere inclusion. Such a price to pay […]

A hack for the Sharepoint list cache issue

Monday, February 12th, 2007

So I noted that Sharepoint has an issue where querying a list with the same criteria will return cached results regardless of the access method, and so I found a hack for it. The idea for the hack goes back to an issue where I would get cached results from a Domino page that […]

Sharepoint from the Domino Developer perspective : Part 2

Saturday, January 27th, 2007

After a week of nose down development in the Sharepoint 2007 environment, I came away with a greater appreciation for how similar Domino and Sharepoint are in their mechanics, and a certain fondness of the simplicity behind the facade of Sharepoint complexity.

As I mentioned in a previous article, the Sharepoint lists, views, and document libraries […]

Beware the Hard-Coded YUI Calendar Images

Wednesday, January 3rd, 2007

If you use the YUI calendar object, you may want to know that the URL’s for some of the images that are used are hard coded!! A big thanks to Firebug for making it easy to track that down, and for someone at Yahoo who added a configuration variable that makes the solution alot […]

Give your users all the help (F1) they need!

Wednesday, November 29th, 2006

Many applications we use every day us the F1 key to access the online help for that application. Many applications provide methods to override the default help prompt with your own, including browsers. So whay not provide our users with online help in a consistent method? Here is a (so far) cross browser […]

AJAX app to test the performance of your AJAX apps

Wednesday, November 8th, 2006

Ever wondered how your AJAX applications would perform under a load test, but can’t/won’t buy an expensive load testing tool? I got tired of wondering so I figured out how I could create an AJAX application to test my AJAX applications. Nothing professional grade, but it can answer some of my performance questions. […]

A Web 2.0 search using YUI

Sunday, October 22nd, 2006

I have always felt that the default Wordpress search was enemic and inaccurate at best, so I finally got around to changing the default search, and returning the results in a more “Web 2.0″ fashion. It could be easily adapted to any blog template since it only requires some YUI includes and a single […]

A previously unknown @Formula reference

Monday, July 17th, 2006

It never ceases to amaze me how often I learn something new about a product I have been working with for 12 years. This time it was a little known formula reference called “@UpdateFormulaContext”.

It was just a silly little thing where I have an outline, and instead of giving users a link […]

JSON for Dummies part 3 - Faster than XML? maybe not

Monday, June 19th, 2006

So parts one and two covered the basics of using JSON, but what about this JSON/XML battle? In this post we’ll take a peak at how JSON can be used as a replacement for XML in some cases, and even pit the two side by side in a performance test.

Update to these numbers here
The foundation […]

JSON for Dummies part 2

Tuesday, June 13th, 2006

JSON for Dummies Part 1 covered the basics of how JSON can be used to return literal javascript to an AJAX client for local execution, thereby simplifying the local code required to process the AJAX responses. Part two will expand upon that and cover how functions can be returned and used locally.

I realized that I […]