Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Switching from JQuery to RightJS

I am currently using JQuery and recently heard about RightJS. RightJS seems to be faster, lighter & more object oriented. But I was wondering if RightJS has somethings seriously missing compared to JQuery (Other than the huge plugin base).

Update: I tried RightJS in a small web project & decided to use it on a few more projects. But I would still stick to JQuery till I am confidant about RightJS. So far RightJS seems to be doing all the things I do with JQuery (mostly ajax & selectors).

like image 256
Nahar Avatar asked Jul 25 '10 09:07

Nahar


1 Answers

Nahar,

Nikolay, the author of RightJS is here. Couple of notes.

1) Mentioned above jQuery size is incorrect because 24k is the size of the gzipped version. Gzipped RightJS weights 14k.

2) I believe the_drow just don't know what he's talking about. RightJS has all the same as jQuery, Moo, Dojo or Prototype. More of that in RightJS you have things like classes, advanced form-features and cookies already packed into those 14k when jQuery has those things as plugins.

Then RightJS also has custom builds http://rightjs.org/build

As for dojo, I tried it on two projects before, and if you would ask me, I would say spare your time, jQuery is better.

The only problem with RightJS is that it's still an underground and we are still growing the critical mass of users, so occasionally you'll have to use your own brain instead of googling answers.

like image 119
Nikolay Avatar answered Sep 28 '22 17:09

Nikolay