Thomas Fuchs
Hi, I'm Thomas Fuchs. I'm the author of the script.aculo.us user interface JavaScript library, a member of the Prototype core team and a Ruby on Rails core alumnus. You're using my work every day, even if you're not aware of it (sounds creepy, I know!). Need JS foo? Hire me.

Prototype 1.6 OOP support

October 10th, 2007 by Thomas Fuchs, 2 comments »

Learn all about it! :)

Post to Twitter Tweet This Post Post to Digg Digg This Post Post to Facebook Share on Facebook

2 comments »

JavaScript Rocks! Peformance ebook
Do you run a web site or web application? Do your users a favor, and grab our ebook on JavaScript performance. Profit from our knowledge gathered in over 15 years of working with the Web and JavaScript and make your sites ultra-fast and your users ultra-happy.

2 Comments on “Prototype 1.6 OOP support”

  1. 1 Ben B said at 5:49 pm on October 10th, 2007:

    Thanks, nice tutorial!

    Please, oh please, can we have another teaser regarding script.aculo.us 2.0? Rounded corners effect? Timeframe? Pleeeeease, anything more concrete :)

  2. 2 Woil said at 5:49 pm on October 10th, 2007:

    Midway through the tutorial in the section about class methods you have a block of code that reads:

    var Captain = Class.create(Pirate, {});
    // this is wrong!
    Object.extend(Captain, Pirate);

    Well, which is it? Which one is wrong, the one above the comment or below? perhaps:

    // wrong method
    var Captain = Class.create(Pirate, {});
    // correct method
    Object.extend(Captain, Pirate);

    (If that’s the way it is…)