• Home
Pictures Archives Travel RSS

Using jQuery with Prototype - Sweet!!!

18 May 2008 | Coding, JavaScript | Suneth Mendis

As many of us know there are 2 leading contenders for javascript frameworks. Prototype and jQuery. I have used prototype extensively in my applications but I do keep an eye on jQuery goodness from time to time. Being a Java developer, I personally like the syntax jQuery offers (pretty much OO looking syntax and therefore easy to read and understand) but prototype is not too bad either. Functionality wise none offers more than the other. 

But jQuery seems to be the preferred choice of most people and therefore you will find alot of sleek plug-ins on the web as compared to prototype. But unfortunately for me I can't use jQuery while using prototype because of the obvious conflicts in the syntax. (the use of $ is different on 2 frameworks). At least that's what I thought until I found this!

jQuery.noConflict();

Seems like jQuery found a way around. This is the sweetest bit of news I heard for a while!!! Because it means that i don't need to change my existing prototype code to enjoy jQuery goodness. 

Popularity: 49% [?]

Comments are closed.

«“Fun” with Prototype and IE7 and Tables

iFrame dynamic resizing revisited»

About Me

One life, Live it!

My name is Suneth Mendis. I'm a 29 year old Software Engineer. I live in Brisbane Australia and working for a very exciting company called Ephox.

  • Recent Posts

    • Ignorance is your loss
    • Auto coloring of child nodes using Prototype
    • iFrame dynamic resizing revisited
    • Using jQuery with Prototype - Sweet!!!
    • “Fun” with Prototype and IE7 and Tables
    • What serious lack of sleep can do to a developer…
    • iSurprise
    • Offline blog editor
    • What!?
    • Iframe dynamic resizing… SOLVED!
    • more...
  • Categories

    • Agile
    • Blogroll
    • Coding
    • Gadgets
    • Hobbies
    • Ideas
    • JavaScript
    • Life
    • Mac
    • Prototype
    • Travel
    • Work
    • WTF
  • Links

    • Planet Ephox

Copyright © Suneth Mendis 2008 · Designed by Suneth Mendis · Powered by WordPress