Javascript

  • Fixing Broken Websites with Greasemonkey

    Sometimes a website doesn’t function correctly. Even if a website works fine we may want it to display or perform differently. With a few web development and javascript skills we can change a website for ourselves using the Greasemonkey Firefox extension.

  • Recursive iteration through the HTML DOM

    NOTE: Please click here for a flash/actionscript version of this technique. Sometimes it is useful to be able to iterate through every element in a HTML document–or all of the children of a specific HTML node–and either perform an operation on each element or access a property of each element. We need to use recursion…

  • Google Web Toolkit

    Most of Google’s technologies run in a we browser. For example Gmail, Google Reader etc. Google’s client side web services are Ajax based and rely on javascript. Javascript is a single threaded light weight scripting language, its implementation, speed and efficiency vary across web browsers. Yet Google’s web applications are fast and work in all…

  • Using Effects and Animation with Google Web Toolkit

    This post builds on the previous post ‘GWT: Order in Chaos’ and shows an example of the GWT-FX library. GWT-FX is a third party library for the Google Web Toolkit and allows us to apply effects such as fades, movement, transitions, animation and easing to GWT objects (Both widgets and elements).

  • Concurrency / Threading with Javascript & GWT

    NOTE: Please click here for a flash/actionscript version of this technique. Javascript does not support concurrency. All code must be executed within a single thread. This means that processor intensive tasks could cause a web page to stall very quickly. This forces us to rely on server side operations for any large calculations. Fortunately it…