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!

Prototype & Scriptaculous in Action hits the shelves

March 27th, 2007

Book cover Weighting in at 544 pages on sweet, sweet Prototype and script.aculo.us, Dave Crane and Bear Bibeault’s new book Prototype and Scriptaculous in Action just hit the shelves. And it’s packed with stuff for beginners and pro’s alike.

As it happens, I wrote the foreword for the book, which you can read online. 😉

Next to a crash-course on getting started with the fun, you’ll get a comprehensive introduction to the concepts around the libraries, plus it features great references tables for all the various options available here and there. It also has sample code to show how to use various server-side development environments, to help get you on track wheter you’re using Rails, Java or PHP.

What’s more, there are more books coming soonish, so stay tuned!

script.aculo.us 1.7.1 beta!

March 12th, 2007

On the heels of the recent Prototype 1.5.1 release candidate, here’s the latest and greatest version of script.aculo.us: 1.7.1 beta 1.

Beta warning: Things might not work as you might expect, though they really should—if you hit any problems, please use the bug tracker and give reports. The same that applies to Prototype applies for script.aculo.us too, so read the how to contribute page to see how you can help out here!

So, what’s new?

The most important change is the update to Prototype 1.5.1 which yields major performance improvements, slick new JSON support and various fixes all around. Note that the version of Prototype that comes with script.aculo.us 1.7.1 beta 1 is actually a few steps ahead of the 1.5.1_rc1 release and already incorporates a few additional fixes, so please use the version that comes with the script.aculo.us download.

The other important feature is experimental sound support for those little .mp3-based sound effects, which works natively in IE, and relies on whatever mp3 plugins are available on other browsers (for Macs, this means quicktime). It’s thought as an alternative to flash-based mp3 playback for sounds effects (not music!). Kudos to Jules Gravinese for coming up with the initial implementation of this! Here’s a little example of how to use this (be sure to include sounds.js or use the script.aculo.us loader, scriptaculous.js):


Sound.play('blah.mp3');

Of course, there’s some heated discussion about this—we’ll see where this will take us.

The effects engine has seen some performance overhaul, and together with the new Prototype performance goodnees is screaming fast. Also, a memory leak in the morph code was found and fixed on Firefox.

More changes and features added include a new “failure” option to Draggables, and onDropped callback, more customization for in-place editing, and nesting single nodes in the DOM builder.

As always, I heavily encourage you to study the CHANGELOG to get the full details on all of this.

So, what are you waiting for? Download here!
(other archive types available too).

Lastly, thanks to all the contributors and the community! 🙂

P.S. I’ll be in London this week for Qcon, so if you want to discuss this or other stuff and you’re in the area, you should be able to find me around.

Prototype heads CSS3 and adds JSON goodness

March 10th, 2007

The core team has been pretty busy at making Prototype even better since the release of 1.5.0 back in January, and the result is the first release candidate of Prototype 1.5.1.

You can read the complete scoop here, just to get you warmed up, here’s some of the newly added goodness:

The API documentation has been updated to reflect this, so there’s no excuse not to make the jump to Prototype 1.5.1—if you do find any issue, please report it.

Read the announcement and download on the Prototype blog.

Update: If you want to use Prototype 1.5.1_rc0 with script.aculo.us, be aware the the current 1.7.0 version requires Prototype 1.5.0, so be sure to grab the latest and greatest SVN trunk version of script.aculo.us which works fine with Prototype 1.5.1, and takes advantage of the updates. A script.aculo.us 1.7.1 release candidate should be coming soon…

TextMate book!

March 1st, 2007

If you want to get serious with TextMate, the new TextMate book from Pragmatic Programmers is a fine read.

If you’re reading this, you’re most probably a developer and/or designer and spending lots of time editing text, so be sure to know all about the various shortcuts and powerful functions that are at your fingertips. The book really makes it easy to dig deeper into TextMate.

The TextMate blog has more.

P.S. While at it, be sure to not forget about the Prototype & script.aculo.us TextMate bundle, which is available from the official bundle repository.