admin管理员组

文章数量:1291221

Through the past few years I've been busy with server side programming and I kinda ignored these JavaScript libraries. Because of my good knowledge and long experience with JavaScript I always wrote everything from mostly scratch. Even back then it seemed stupid but I guess it was more the challenge and student mentality. Recently I've started working with YUI, Javascript and Prototype and I easily do what I want however I haven't spent enough time on it and am not sure what I should stick with. I'm planning to use these in a site with 100 users online at a time. So two concerns are efficient AJAX and also client side load time. I am planning to go with the bination of JQuery and YUI. loading Yahoo UI from yahoo and the latter form google. However it seems to me that this is unnecessary and I might in the future regret it. I wanted to get some opinions! I did look around and read other posts but most people seemed to have an emotional problem rather than technical.

Through the past few years I've been busy with server side programming and I kinda ignored these JavaScript libraries. Because of my good knowledge and long experience with JavaScript I always wrote everything from mostly scratch. Even back then it seemed stupid but I guess it was more the challenge and student mentality. Recently I've started working with YUI, Javascript and Prototype and I easily do what I want however I haven't spent enough time on it and am not sure what I should stick with. I'm planning to use these in a site with 100 users online at a time. So two concerns are efficient AJAX and also client side load time. I am planning to go with the bination of JQuery and YUI. loading Yahoo UI from yahoo and the latter form google. However it seems to me that this is unnecessary and I might in the future regret it. I wanted to get some opinions! I did look around and read other posts but most people seemed to have an emotional problem rather than technical.

Share Improve this question edited Dec 28, 2011 at 22:12 Rob W 349k87 gold badges807 silver badges682 bronze badges asked Aug 7, 2010 at 5:57 NeoNeo 11.6k3 gold badges71 silver badges81 bronze badges 2
  • 1 Possible duplicate(s): stackoverflow./questions/394601/… stackoverflow./questions/798840/… – Colin Brock Commented Aug 7, 2010 at 6:41
  • 5 +1 ...but most people seemed to have an emotional problem rather than technical. – sepehr Commented Aug 7, 2010 at 6:41
Add a ment  | 

4 Answers 4

Reset to default 5

I'm not objective about this, but the argument for YUI 3 is that it's concise, efficient, and scalable -- and with 200 modules now in the YUI 3 Gallery, it's got a munity making it better every day.

My take on why YUI 3 is the best choice, now about a year old, is here:

http://developer.yahoo./yui/theater/video.php?v=miraglia-yuiconf2009-yui3

Since that time, the team has continued to build on the fundamentals discussed there...and YUI 3, for me, is as fun and productive as JavaScript development has ever been.

-Eric

https://stackoverflow./questions/394601/which-javascript-framework-jquery-vs-dojo-vs

Prototype VS jQuery - Strengths and Weaknesses?

this next one is a little bit dated but I remember when I was making a similar decision last year this article seemed fairly thorough and symmetrical in it's treatment of pretty much all of the major js frameworks + browsers

http://blog.creonfx./javascript/mootools-vs-jquery-vs-prototype-vs-yui-vs-dojo-parison-revised

I remember this article being decent, but keep in mind he is a rails guy so he's obviously going to like prototype better:

http://thinkrelevance./blog/2009/01/12/why-i-still-prefer-prototype-to-jquery.html

I went with jquery based mostly on performance. They use sizzle and seem to be very conscious of the size of their codebase.

Note that jQuery and YUI are both hosted on googleapis which also offers https whereas Yahoo's CDS does not.

I used YUI extensively on a couple projects and I can say that their online documentation is second to none. Furthermore, the framework is very mature.

I have also started using jQuery recently. So far it also appears to be a fine JavaScript framework.

本文标签: javascriptJQuery Vs YUImaybe prototypeStack Overflow