ยป jQuery Part 2: Why use it?

I got quite a few questions about why you want to use jQuery after the article I ran yesterday about the editease plugin for jQuery. I thought I should address those here in part two and explain why you’d want to use it.
Recapping, what is jQuery?
jQuery is a javascript framework that allows you to develop plugins with, essentially cool and useful effects. Naturally you can just download any of the vast amount of plugins that are available and use on your site, which brings us to another advantage. A lot of the code don’t need to be rewritten again and again in the scripts, because that’s in the framwork. So in essence, it’s a great way to style up your site using javascript effects.
Why should I use it then?
Well as I’ve said, it does allow you to add creative effects through javascript but not only creative and good looking effects. You can also add useful boxes, form validations, site editing (like I talked about yesterday), really simply through the plugins of a framework. If you’re a developer you can of course write your own functions much simpler than it would be if you were to write everything from dead scratch. This is something every user benefits from in the case that you don’t need to load a ton of scripts onto a website that are writing the same base code all over, which brings us onto another important thing. The whole framework itself is really lightweight.You are not really adding a lot of page weight with the framework.
Another big pro of using a popular framework is the wide range of plugins available. jQuery is a very big framework and has a super plugin repositry, where you can find a whole whole lot. If you are looking for AJAX effects, you’ll find it. If you happen to be looking at basic content management, you’ll find that too.
Now, there are other javascript frameworks out there such as Prototype and Mootools. It’s a lot of a personal thing. I’m a jQuery guy and I like how it’s built and therefore I use it.
Please leave a comment or make a trackback from your own site.



September 4th, 2008 | Filed in: 










