JavaScript Revisited

It must be over 5 years ago that I decided not to use JavaScript anymore. The language was browser dependent and seemed to be mostly used by developers to surprise website visitors with pop-ups.

Things have changed. And I didn’t notice. Until about a year ago, when websites were launched that showed functionality I thought impossible for XHTML applications1.

Ajax is the buzzword. And at least half of Ajax is JavaScript.

Wrapper libraries are available, providing browser independency. JS has grown to an extensive programming language, that can run in a browser. I find myself reading books (Pragmatic Ajax, Ajax Hacks) and adopting JS kits (Mochikit, Prototype, script.aculo.us). And I like it.

Useful resources:
Ajaxian
JavaScript at Sun 2
MochiKit JS library
Prototype JS framework
script.aculo.us JS visual effects

1) without degrading to Flash😉
2) Wikipedia states “JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape.”

2 Responses to “JavaScript Revisited”

  1. Tomtt Says:

    I don’t know if you are still doing ruby on rails, but it comes with practically free ajax. As shown on the script.acul.ou site the only code needed for an autocompletion text field is:

    # view
    Just a little test:

    # controller
    auto_complete_for :contact, :name

    Rails has rjs now which means javascript is automatically generated from ruby code. Amazing stuff🙂

  2. Tomtt Says:

    Hmm, some of the code seems to have been snipped. It came from here: http://demo.script.aculo.us/ajax/autocompleter

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: