Thomas Fuchs
Hi, I'm Thomas Fuchs. I'm the author of Zepto.js, of script.aculo.us, and I'm a Ruby on Rails core alumnus. With Amy Hoy I'm building cheerful software, like Noko Time Tracking and Every Time Zone and write books like Retinafy.me.
   Want me to speak at your conference? Contact me!

Vienna OSS web development frameworks action day

November 15th, 2005

The Austrian Computer Society holds a one-afternoon presentation on Open source web development frameworks on November 29 here in Vienna, Austria.

All presentations will be in German (but the presentation slides will probably be available in English).

Participation is free (registration is required!). I’ll do a talk on Ruby on Rails which will “compete” with some Java-based frameworks (Cocoon/JSF/Struts). Hopefully I can lure some Java developers to Rails 🙂

More information and registration info (German)

AJAX Activity indicators with Rails 0.14.3

November 14th, 2005

Step 1:

Create an element on the page that should be displayed while AJAX Requests are active. I mostly use an IMG element displaying an animated GIF file. Give this element an id="busy" attribute.

Step 2:

Create a file application.js in your public/javascripts folder (if you don’t already have one!), and be sure to use <%= javascript_include_tag :defaults %> in the HEAD section of your layout or view template to include the Rails-provided JavaScripts.

Insert the following code into the application.js file:


Ajax.Responders.register({
  onCreate: function() {
    if($('busy') && Ajax.activeRequestCount>0)
      Effect.Appear('busy',{duration:0.5,queue:'end'});
  },
  onComplete: function() {
    if($('busy') && Ajax.activeRequestCount==0)
      Effect.Fade('busy',{duration:0.5,queue:'end'});
  }
});

Step 3:

Enjoy!

llor.nu, a Rails and scriptaculous-powered web board game

November 8th, 2005

Check it out now! 🙂

Speedier Darwinports

November 3rd, 2005

Tired of waiting for Darwinports installations to finish because of the tedious compile process? Read this guide to make Darwinports use distcc (of course you’ll need some additional Macs…).

Localization plugin

October 30th, 2005

I’ve updated my pragmatic i18n/l10n library for Ruby on Rails and released it as a plugin.

With the latest edge rails, a simple script/plugin install localization should get you going.

For more information, see the included README flie!

Slider plugin for Ruby on Rails!

October 29th, 2005

So, have a quick look at it!

Still rough warning, so expect more tomorrow or so.

S5 slides with script.aculo.us effects

October 17th, 2005

Want to give your S5 presentations some impact by adding script.aculo.us effects? Juan Manuel Caicedo created a nice library called ‘Presentacular’ to do that. (Usage info, Demo)

No knowledge of JavaScript required!

4000+ delicious links for script.aculo.us

October 14th, 2005

Now ranking at #6 on populicio.us! 🙂

AJAX Workshop (with me!)

October 13th, 2005

On December 8, I’m doing a one-day workshop in London, UK on AJAX and how to use it properly with Ruby on Rails (and PHP, too). Participants will get a chance to have look at some of the inner workings of the still unannounced application we’ve in the works at wollzelle.

Read more on the Carson Workshops site!

script.aculo.us V1.5_rc3, second release candidate

October 9th, 2005

The final release of script.aculo.us V1.5 should now be just around the corner!

Important changes and fixes from 1.5_rc1 (for a detailed list, see the CHANGELOG file):

  • Make Effect position available to callbacks
  • Droppables.fire: send event to onDrop callback [François Beausoleil], #2389
  • InPlaceEditor: Add disabling the field while loadTextURL loads and add a class while loading, plus fix various bugs with Internet Explorer and InPlaceEditor, [Jon Tirsen] #2302, #2303
  • Made Droppables.remove work again [thx Mindaugas Pelionis], #2409
  • Fixed that IE6 would incorrectly render the “fix-windowed-elements-overlapping” IFRAME on autocompletion [thx tshinnic], #2403
  • Fixed Element.getOpacity throwing an error on Safari in some situations (this caused the autocompleter not to work)
  • Added format option to Sortable.create and Sortable.serialize to allow custom id formats. The format option takes a regular expression where the first grouping that matches is used for building the parameters. The default format is /^[^_]*_(.*)$/ which matches the string_identifier format. If you want to use the full id of the elements, use format: /(.*)/. More examples are available in the sortable unit test file.
  • Started refactorings to use the new Prototype features and general code-cleanup
  • Update lib/prototype.js to Prototype 1.4.0_pre11
  • Fixed a typo breaking the up arrow key for autocompletion [thx tshinnic], #2406
  • Changed the handle option on Draggbles to accept classnames, or ids or elements [thx to Andrew West], #2274
  • Force indicator to be hidden on hiding autocompletion update element, #2342
  • Make Draggables honor external CSS positioning [thx to Mark Shawkey], #2359
  • Make zindex handling for Draggables honor external CSS styles
  • Fix two Sortable.serialize issues, [thx Avi, Gorou], #2339, #2357
  • Make Element.getOpacity work with IE, added unit tests [thx to Greg Hill]
  • Make Element.setOpacity honor non-alpha filters on IE (it now works with filters for alpha PNGs)
  • Fixed that Element.class.remove wrongly deleted spaces between class names, fixes #2311, #2313
  • Fixed Builder for OPTION and OPTGROUP tags on Firefox < 1.5 and Internet Explorer 6, completely fixes #2325
  • Improved Builder implementation to deal with Firefox-specific requirements and innerHTML parsing, partly fixes #2325
  • Attempt to fix crashes in Safari 2.0.1, probably related to the event registering und unregistering in Draggables, possibly fixes #2310

As always, a big thank you to all the contributors and testers!