473,803 Members | 3,416 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Javascript Library

Hello,

I would like to use a javascript library to simplify my coding
process.
I know a few: JQuery, Dojo, Yahoo UI, ...

Which one do you advice me to use?

Thanks,
Miguel

Oct 29 '07
61 3094
On Dec 6 2007, 9:34*am, David Mark <dmark.cins...@ gmail.comwrote:
On Dec 6, 11:55 am, Matt Kruse <m...@mattkruse .comwrote:
On Dec 6, 10:39 am, David Mark <dmark.cins...@ gmail.comwrote:

ironically, you took many of my arguments against jQuery
I would have liked to have seen more discussion for detecting support
for computedStyles; the bug John mentioned.

When adding a hack for something like getComputedStyl e, it would be
good style to add a comment:

if( cantGetComputed Style( element ) {
// XXX: Safari 2 returns null when element has display: none;
...
// XXX: Safari 3 returns empty strings for getPropertyValu e...
}
@John
<snip>
Considering that IE is going to be backwards compatible for, most
likely, many many years to come, I'm not worried. When the year 2031
arrives, jQuery can, and will adapt.
Providing a case where the code expects a browser to have incorrect
behavior makes it hard for that browser to change. It also makes the
code require more frequent maintenance for user-agents that change. IE
needs a reason to change; a failure case. Chris Wilson talks about
this. Microsoft can't break the web by neglecting current sites.
Jan 13 '08 #61
On Dec 6 2007, 4:15*pm, David Mark <dmark.cins...@ gmail.comwrote:
On Dec 6, 1:29 pm, Matt Kruse <m...@mattkruse .comwrote:
On Dec 6, 11:34 am, David Mark <dmark.cins...@ gmail.comwrote:
The only experience you should need to know that there are major
problems with jQuery is to look at its code. *Much of it forked based
on a meaningless value, which its author thinks indicates MSIE.
Which doesn't necessarily correspond to problems in use or
maintenance, which you are claiming.

Of course it does. *All of its browser sniffing does. *Where have you
been for the last ten years? *You claim to have spent at least some of
that time scripting browsers. *Have you learned anything from the
experience?
Where is your personal experience or anecdotes from others that show
what a maintenance hell jQuery is? Oh, wait, you have none? Because
it's all speculation, and you're crossing your fingers just hoping
that something bad does indeed happen. I'm sure it bothers you that

I couldn't care less what happenes with jQuery or any other library,
unless it happens to be running the current page in my browser.
you have no real cases where the use of jQuery has caused lots of
problems, but you can find _many_ real cases where it has provided a

Go read your own re-hashing of my arguments in the jQuery developer
group as you have apparently forgotten everything you said.
lot of value to a lot of different people. Including small mom-and-pop
operations like Google.

How many times are you going to use Google as an example? *Everybody
knows they employ some of the worst Web developers in history. *The
quality of their JavaScript is notoriously bad. *What makes you think
they make good decisions in that area?
Ironically, you took many of my arguments against jQuery
and ran with them, resulting in recent patches.
I'm not aware of the patches, but I did look over the code that you
critiqued and offered my own version of it. There were obviously some
similarities in our criticisms, and most of your criticisms were

That's an odd way to put it. *You took what I posted and ran with it.
By your own admission, you were happily using this library for however
long, completely oblivious to its time bombs. *You likely would have
continued using it until one day, Firefox or Opera or one of the other
two browsers the stupid thing supports updated and broke some or all
of your applications.
obviously very valid. Good job. I agree with much of your technical
analysis of javascript, but I disagree with many of your conclusions.
I'm fine with that.

You just seem to struggling to accept the conclusions as they
invalidate many of your own mistaken beliefs. *Some fragment of your
personality gets it, else you wouldn't have argued tirelessly to have
various bits of browser sniffing (among other things) removed from
jQuery. *BTW, you have a long way to go if you really want to salvage
that derelict. *Good luck.
The contrast between your arguments here and
your input to the jQuery developers would seem to indicate a split
personality.
Not at all. I still use jQuery and I find it extremely valuable in the
cases where I use it. It needs to improve, especially if I am to use
it on public sites. I am confident that it will improve over time and

But you and others like you are constantly recommending it to people
who build public sites. *Do you not see why that is inappropriate?
That's one of my biggest complaints about the jQuery muppets. *They
argue that they designed something for three browsers and don't care
about the others, but fail to understand that such a design falls way
short of what a public Website requires, recommending their
monstrosity to anybody and everybody, with an almost religious zeal.
come closer to the standard I think it can reach. I have no plans to
abandon it.

Great.
Jan 13 '08 #62

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2392
by: sagar | last post by:
Hello friends, I am developing a AJAX based IM application. For this is need a Javascript Library to built iframe/div based dragable windows in a page. I will need multiple windows (for chat, offline users, online users) in the same page. Can some one suggest a Javascript library which can be used for my project.
1
1932
by: leifwessman | last post by:
Google Analytics are using a encrypted JavaScript library to send and read 1st party cookies using. The JS library can be found here http://www.google-analytics.com/urchin.js Is there a free JS library available somewhere that mimics this behaviour? I would be very interested in how Google Analytics does the magic... More info here: http://www.google.com/support/urchin45/bin/answer.py?answer=28710
17
121932
by: kartheek | last post by:
hi friends, can any one out here help me by giving me the code to connect to an MSACCESS database using javascript.
12
8929
by: pantagruel | last post by:
Hi, I'm thinking of making a WScript based JavaScript library, I can think of some specific non-browser specific scripting examples that should probably make it in, like Crockford's little JavaScripter, can anyone think of anything else. Is anyone familiar with anything similar already done. Things that I am thinking that to provide are:
1
1585
by: Lobo | last post by:
I'm wondering how expensive and (in)efficient is to use Collection type javascript library functions (similar to using Blocks), instead of repeating the 'for' iterator over and over across a large application. I'm afraid that instantiating javascript Functions to act as Blocks in these cases might require many more internal javascript resources (time / memory) compared to using the 'for' statement - ?. I would not want this to be the...
3
2343
by: SagarDoke | last post by:
i am using ext js - javascript library. i wrote a program using ext class. when i was executing it, it was giving error, that ext class is not found. then how can i set the path of ext class. or there is any other way to implement this js file?
24
2202
by: Aaron Gray | last post by:
From what I have been looking at for Javascript library development, browsers that support Javascript 1.5/ECMAScript 3/JScript 5.5 looks like the base level to pitch at. Anyone add anything ? Aaron
0
9703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10550
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10317
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9125
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5501
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5633
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4275
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3799
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2972
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.