Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Seeking opinions regarding JavaScript frameworks 1

Status
Not open for further replies.

MissouriTiger

Programmer
Oct 10, 2000
185
US
Hi all,

I would be grateful for any suggestions/advice regarding JavaScript frameworks. My boss wishes to adopt a JavaScript framework to streamline development, and we are currently researching them. There are several of them out there, and it's confusing.

I'm hoping someone can clarify what the differences are among some of them, and perhaps answer a few questions:

What should we be looking for in a framework to help us decide?

What framework are you currently using, and why do you like/dislike it?

Does anyone know of an article out on the web that compares various frameworks?

Any information will be greatly appreciated.





Greg Norris
Software Developer & all around swell guy


__________________________________________________
Constructed from 100% recycled electrons.
 
Some general thoughts - in no particular order:

- I've looked into Prototype, Dojo, and DWR, and they all do much the same sort of thing (quick access to commonly-used DOM methods, easy AJAX functions, etc). DWR also provides some server-side routines (AFAIK) as well.

- You might not need a library. If all you want to do is make things easy for yourself, why not write your own libraries. One advantage would be not bloating your code with things you don't need (or you could take one of the above-mentioned libraries and cut them down).

- Prototype seems to be more understandable (code-wise) than Dojo. Dojo has a lot of non-meaningful variable names, which, if you're not familiar with the code, can be hard to work out.

Hope this helps,
Dan

Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Also, Prototype is a lot smaller than Dojo (although you can choose not to use all of Dojo, as it is split into smaller libraries). It also seems to have a lot of good OO-related "helper methods" (for creating and extending classes, etc) that Dojo hasn't (unless I missed them).

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Sitepoint did a good review of Y!, Dojo, Rico and Prototype

I concur with BillyRay your better off building up your own library with only exactly what you need. Thats not to say you build it from scratch, but you will learn a great deal building up your own. I found Y! library particularly interesting.

If you are interested in AJAX there is a very good (and very small) library called My-Bic complete with video tutorials.
There is also the Google GWT, but you'll need a good level of JAVA knoweldge for it to be useful to you.

-Pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top