DOM Scripting comments: The dangers of frameworks http://domscripting.com/blog/display/33 Ostensibly, JavaScript frameworks can save you time and effort. But at what cost? en Andrew http://domscripting.com/blog/display.php/33#comment134 I hate frameworks. Sure it’s faster, sure you don’t have to spend time creating new code. But when happens when something breaks? What if you want it customized? Now you spend just as much time ‘hacking’ the code then if you had just written it yourself.

]]>
Wed, 23 Nov 2005 17:46:00 GMT
James Mc Parlane http://domscripting.com/blog/display.php/33#comment133 It used to be that JavaScript frameworks would just abstract away the inconsistencies between browsers. They were essentially experience in a bottle.

Traditional programing frameworks are useful if they implement common design patterns that result in efficiency in execution and program flow. These are ‘best-practice’ in a bottle.

I feel that the best possible framework is one that provides an ultra-light scaffolding for the application as a whole, and then lots of small, intuitively named and useful design patterns that a programmer can wire together into an application.

]]>
Mon, 21 Nov 2005 04:05:27 GMT
trovster http://domscripting.com/blog/display.php/33#comment132 I had this exact issue with learning a framework, which actually relates to Prototype which Mats mentioned. I got the basics working, but then I got stuck. So instead of looking through the framework, I simply applied my new knowledge of JavaScript to the task at hand, which worked nicely!

The best thing is it helps me understand the code (obviously), teaches me new tricks, and how to interface and work with existing code.

]]>
Sun, 20 Nov 2005 00:59:52 GMT
Dustin http://domscripting.com/blog/display.php/33#comment130 I’ve been tempted to rewrite prototype and give it another magic name. With the right amount of precision, anything can be improved…especially something that hits above 40k. I generally like to call this "Innovating the wheel". It wouldn’t be copying, but more or less like "perfecting".

]]>
Wed, 16 Nov 2005 20:11:50 GMT
Jonathan Snook http://domscripting.com/blog/display.php/33#comment129 I would add that the same applies to server-side frameworks as well.

]]>
Wed, 16 Nov 2005 17:05:16 GMT
Mats Lindblad http://domscripting.com/blog/display.php/33#comment128 I basically agree with you but there is one "framework" that I wouldn’t want to rewrite and that is Prototype.js from http://prototype.conio.net/

I can get some of the basic stuff but most of it is just too complex for me to understand at this point.

Some nice shortcuts is the "$()" function and "$F()" which just makes life easier.

]]>
Wed, 16 Nov 2005 11:45:46 GMT