fluxiom frequently asked questions
December 13th, 2005Now available over at fluxiom.com.
Tweet
Justin Palmer has a great article on how to use the Prototype Enumerable extensions in JavaScript. Be sure to check it out if you want to up your Prototype skills.
TweetI’m doing another Ajax Workshop on January 26, 2006, and this time it’s in New York City. So, all who couldn’t attend to the Workshop in London two days from now, here’s your chance.
More info over at the Carson Workshops site.
TweetThe presentation on Ruby on Rails that I did last Tuesday, is now available for download at the site of the Austrian Computer Society
It’s just a few overview slides on Rails, nothing special. But I got a few oohs and aahs from the folks there, which were mainly Java developers.
Update: Some nice guy Ichigo (who is a nice guy), who attended the whole thing recorded audio (while the presentation itself is in English, the audio is in German). 🙂
What I really like about Mac OS X is that it comes with all sort of cool stuff, like the Quartz Composer.
If you’re on Mac OS X Tiger, click here to see some snowy Quicktime action!
Oh, yes and here’s a variation, just stick the file in your ~/Library/Screen Savers folder, and enjoy… Ruby on Rails Mac OS X Screen Saver 🙂
Update: Sorry for the inconvenience with the unavailable downloads, all should be fine now!
TweetI’ve just released script.aculo.us 1.5_rc5 which is mostly about refactoring and fixing bugs for the soon-to-be 1.5 final release, but also adds quite a few new features:
As always, there where loads of fixes. See the CHANGELOG for details!
Thanks to all bug hunters and patch submitters!
TweetThe 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)
TweetStep 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!
Tweet