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 Freckle Time Tracking and Every Time Zone and write books like Retinafy.me.
   Want me to speak at your conference? Contact me!

Prototype Developer Day

July 31st, 2008

prototype dev day The first ever Prototype Developer Day will be held during The Ajax Experience conference in Boston, MA on September 29, 2008.

The best thing is: it’s completely free, and you get to hang out with some of the peeps from the Prototype core team.

Read more about this exciting opportunity, and see the preliminary agenda over at the Prototype blog!

And then sign up (again, for free) over at the special signup form.

Practical Prototype and script.aculo.us book hot off the presses

July 21st, 2008

Practical Prototype and script.aculo.usPrototype Core team member Andrew Dupont’s new book Practical Prototype and script.aculo.us is now available, and it’s a super no-nonsense guide to getting up to speed with the libraries, fast.

Andrew, being a UI developer by heart, doesn’t mess around and gives you hands-on examples for just about everything you can do with the “fraternal twins” Prototype and script.aculo.us.

You’ll learn how to really use all those fancy Prototype collection helpers (like each, detect, select, reject, partition, etc.), master the cool new custom events system, and seriously mess with the DOM; and how’ll see how Prototype can help you with everyday programming tasks with its extensions to functional programming and OOP. Plus of course how to make the most of Ajax and JSON. Last but not least, visual effects are explained, and also how they work by taking advantage of the DOM and how web browsers render websites.

The very interesting closing chapter shows you why things are as they are in Prototype, and will help you read the source code—and write JavaScript, Prototype-style.

New Prototype and script.aculo.us support mailing list

July 14th, 2008

Subscribers to the Rails Spinoffs mailing list should switch to our new, better-named list: Prototype & script.aculo.us.

While these two venerable libraries are, in truth, spinoffs of the Rails project, we’ve come to realize it’s far more user-friendly to have the libraries’ names in the name of the mailing list. This should help guide users to the right spot and reduce the amount of support traffic on the Prototype Core mailing list — which is for discussion of Prototype’s development process, not support.

Because list spam is a sad reality, your first post to the list will be held for moderation. Once it’s approved, though, you’ll be able to post with impunity.

(Original article at Prototype blog)

Apple launches MobileMe, we launch creativescrape

July 11th, 2008

Today marks the launch of two great sites which are both partly powered by Prototype and script.aculo.us:

First, off, kudos to Apple to launch their new web service MobileMe, which (hopefully!) will save me much time and hassle in the future by automatically push-syncing contacts, calendar events, bookmarks, etc. between my Macs and my iPhone.

Even cooler is the microapp Amy and I have put together this week… Check out creativescrape, an inspration utility for those moments when you just seem to be braindead. It comes with a OS X screensaver for your enjoyment.

creative scrape

Now off again to the sekret thing I’m working on most of the time.

WWDC Twistori!

June 9th, 2008

Because we can.

http://wwdc.twistori.com/

Safari Diversion

June 1st, 2008

Here’s a handy bookmarklet for Safari 3.1, if you’re bored. It’s called flip, for obvious reasons.

Use this bookmarklet (drag to bookmarks bar):

flip

or this one if you want a prompt

flip2.

Have fun, and hello from RailsConf! :)

Google-served JavaScript libraries

May 27th, 2008

Thanks to Dion Almaer and Google, you can now use served-off-googles-infrastructure versions of your favourite JavaScript libraries, including Prototype and script.aculo.us.

The files are served with proper caching headers and fully compressed (GZIP), so you don’t have to do it yourself.

In Dion’s words:

  • Developers won’t have to worry about getting caching setup correctly, as we will do that for you
  • If another application uses the same library (much more likely), they there is a much better chance that it will be already caching on the users machine
  • The network and bandwidth of the users systems will not be taxed.

You can either use Google’s API loader (see link to docs below), or just use direct URLs. For example the following code block will load in Protoype and script.aculo.us’ effects (ignore the linebreaks!):

<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.1/effects.js"></script>

You can read up on this at the documentation site.

script.aculo.us switches to git(hub) and Lighthouse

May 9th, 2008

script.aculo.us is from now on developed using Git (hosted at github) for source code management and revision control, and Lighthouse for bug tracking.

Why git instead of Subversion? Well, it simply rules supreme, and makes working with many distributed developers with lots of branches a snap. You can find a good intro book on Git on Peepcode.

script.aculo.us 1.xx development will focus on bug fixes only, while I’m working on the next version of scripty (post on that coming up soon!).

Bug tracker
http://prototype.lighthouseapp.com/projects/8887-script-aculo-us

Repository for script.aculo.us 1.xx
http://github.com/madrobby/scriptaculous

Note that if you’re just using the library, this change won’t really affect you.

If you have open bugs on the old Trac please port them over to lighthouse yourself!

I’m also working on a replacement for the documentation wiki (which, quite honestly, sucks); so stay tuned for some updates in the near future. If you want to help out with the documentation effort, please contact me. :)

Say hello to twistori

April 29th, 2008

Amy and I launched twistori yesterday. Read more about it on Amy’s blog: love & hate: from knuckle tattoos to the internet’s emotional pulse with Twistori.

twistori wish

Technically, it’s pretty simple, a small ruby script keeps a local SQLite database filled with new matching tweets, and generates JSON files for consumption by the single-page site. Some Prototype and script.aculo.us sugar then combine it all into what has been called a twitter thing Kevin Rose likes.

Have fun on twistori!

Slides from SXSW JavaScript Panel

March 13th, 2008

Head over to John Resigs blog post for more information! And thanks for the positive feedback we’ve received!