Mahngiel Posted March 18, 2011 Share Posted March 18, 2011 Being a coding hobbyist, I've always done things from line zero. I may look at templates and tutorials, but I always key every code in. This got me thinking about the huge libraries prototype and jquery.min javascripts. I've noticed many-a large corporate sites use these libs, my most recent find was PizzaHut.com. So my question to you is two-fold. Do you use either/both of these scripts? and Do you code professionally or as a hobby? Thanks, discuss. Quote Link to comment https://forums.phpfreaks.com/topic/230972-prototype-jquerymin/ Share on other sites More sharing options...
Philip Posted March 18, 2011 Share Posted March 18, 2011 Yup, I work (both pro & for fun) with a bunch of different JS frameworks: prototype, jQuery, mootools, etc.. It makes working with JS & cross-browser issues a lot easier Quote Link to comment https://forums.phpfreaks.com/topic/230972-prototype-jquerymin/#findComment-1188969 Share on other sites More sharing options...
lastkarrde Posted March 18, 2011 Share Posted March 18, 2011 Definitely The biggest drawback for using these libraries (the size of the framework) is now basically gone. The majority of people who use them link to Google's CDN copy - http://code.google.com/apis/libraries/ - these are then cached on the users computer and don't need to be requested or re-downloaded if they have visited a page linking to it before. Quote Link to comment https://forums.phpfreaks.com/topic/230972-prototype-jquerymin/#findComment-1188989 Share on other sites More sharing options...
Adam Posted March 18, 2011 Share Posted March 18, 2011 I use them both at work and for personal projects. The greatest plus point about them in my opinion is that you don't need to worry about cross-browser compatibility - a tedious task for any developer! They're also well-written (the top few at least), so there's no real bloat or performance issues with using them. Every aspect of them just makes things easier though. It doesn't mean you lack the ability to write quality JavaScript, just because you use a framework. Quote Link to comment https://forums.phpfreaks.com/topic/230972-prototype-jquerymin/#findComment-1189156 Share on other sites More sharing options...
Mahngiel Posted March 18, 2011 Author Share Posted March 18, 2011 Very interesting, and makes a lot of sense. What put me off initially was the need to learn the framework. Of course, I understand the concept, but it seemed (at my inept level) more work to learn how to use the api than learning to put the scripts together myself to understand the functionality. Of course, using a pre-built library doesn't do anybody any justice when trying to learn. Thusly, I brought the question to you guys here. It makes sense that once you already know what you're doing, to use a lib that has pretty much done all the work for you, all you need to do is define some inheritances from it. Anybody have any differing opinions on these libraries? Quote Link to comment https://forums.phpfreaks.com/topic/230972-prototype-jquerymin/#findComment-1189187 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.