Select blog: [B2evo] [Dev Blog] [Personal] [World Issues]
Select skin: [basic] [custom] [download] [hyperglass] [mySkin] [tictac_b]

Developer Blog

My rambles, thoughts, and developments, for everything to do with web development


Here you can find information on projects that I have worked on, complexities and solutions to problems I have faced, beneficial information like tips n' tricks that I find fit, and anything else that is remotely related.

For anything b2evo related, check here.

Category: Review

24/07/07

03:45:28 am Permalink jQuery VS. Prototype/Scriptaculous   English (AU)

Categories: Review, 790 words

After developing all my new wave of plugins using the Scriptaculous library, all the b2evolution team members said I should definitly use jQuery. So of course I ask why, and in all their replies were “Better Syntax, Great Selectors, Chain Concept, Small".

For those of you who do not know what jQuery, Prototype or Scriptaculous are, but are still Javascript developers, then you need to jump aboard the web 2.0 bandwagon, and hopefully this post will be the one to throw you on :)

jQuery and Prototype are both Javascript Libraries, they offer an amazing OO (Object Orientated) way to interact with the DOM of a XHTML/DHTML page. The DOM is the Document Object Model, and which is basicily the OO structure of your (d/x)html page. So every tag you make, is a Object (or Element/Node) within the DOM. The DOM is useful for Javascript Developers as it lets us do amazing stuff compared to the classical way of innerHTML searching and replacing.
Now the wonders of this, is that these have all been around for a very very long time, so these methods and libraries are fully supported by “all” browsers, and follow “all” the web standards.

Now, as anything, there are multiple ways to do things, variety is the spice of life. But that does not mean there isn’t a “better” choice. So in this post I will highlight the factors as to why jQuery is a better choice.

Read more...

Send feedback PermalinkPermalink

:: Archives

[Login...]


powered by b2evolution free blog software