jQuery is a cross-browser Javascript library that provides abstractions for DOM traversal, event handling, animation, and Ajax interactions for rapid web development.
38
votes
3answers
2k views
Is jQuery an example of “god object” antipattern?
I want to ask – I am slowly learning jQuery.
What I see is an exact example of a God Object anti-pattern. Basically, everything goes to the $ function, whatever it is.
Am I right and is jQuery ...
26
votes
9answers
1k views
Ashamed to admit using jQuery? [closed]
Something I've noticed over the past few weeks is how many big commercial websites use jQuery combined with lots of plugins - but don't admit it. They will rename the main library to something ...
25
votes
3answers
5k views
What does Douglas Crockford mean when he says jQuery doesn't scale?
In the Q&A section of this talk, Douglas Crockford says that jQuery doesn't scale as well as some other popular libraries. What does he mean by that, and what is it about the other libraries that ...
25
votes
4answers
981 views
Javascript modularity, server based MVC & business reality
I understand this is a very broad question, but I have worked with various aspects of this problem individually and am struggling to bring all the concepts and technologies together.
I'd like to ...
21
votes
5answers
1k views
How do I convince my boss (and other devs) to use/consider Unobtrusive JavaScript
I'm pretty new in our develepors team.
I need some strong arguments and/or "pitfall" examples, so my boss will finally understand the advantages of Unobtrusive JavaScript, so that he, and the rest of ...
19
votes
11answers
6k views
How necessary is it to learn JavaScript before jQuery? [closed]
In my opinion, when I looked at JavaScript, it looked like not my cup of tea. When I came across jQuery, I loved it. I sat and watched Nettuts+ 15 days of jQuery screencasts, 1 year later and now I'm ...
17
votes
7answers
5k views
Best Javascript tutorial so i can get started on JQuery? [closed]
Sorry if this is in the wrong stack exchange, wasn't sure if I should post it here, or overflow.
Just wanted to know of a few good online tutorials or a book I can do to get me started with ...
16
votes
12answers
3k views
What benefits are there to native JavaScript development?
Given how much simpler jQuery development is, when compared to native JavaScript, what makes people forgo libraries like jQuery altogether?
Is this because jQuery has limitations or it is slow? I ...
16
votes
4answers
623 views
Could JQuery and similar tools be built into the browser install?
After reading another question about JQuery and CDN's, is it feasible for tools like JQuery to "come with" the browser, thus reducing/eliminating the need for the first download from a CDN, or from ...
14
votes
7answers
5k views
Advantages of using pure JavaScript over JQuery
What are the advantages of using Javascript-only versus using JQuery-only?
I have limited experience with JavaScript and JQuery coding. I've added bits and snippets of each to HTML pages but I've ...
13
votes
7answers
2k views
When to update jQuery?
When you recommend updating jQuery/jQuery UI? Or in other words: what are the best practices for updating jQuery/jQuery UI?
I’m working on a long project that will take at least one more year. In ...
13
votes
5answers
2k views
What are deferred callbacks?
I understand the idea of a callback, where I pass a function into another function and that function then uses the supplied function at will.
I am struggling to understand deferred callbacks, even ...
12
votes
5answers
495 views
Pros and cons of hosted scripts
I have seen some developers use hosted scripts to link their libraries.
cdn.jquerytools.org is one example.
I have also seen people complain that a hosted script link has been hijacked.
How safe is ...
11
votes
2answers
2k views
Where does jQuery fit-in with frameworks like JavaScriptMVC, BackboneJS, SproutCore and Knockout?
I have been happily using JQuery for the last 2 years and have been quite sucessful creating some really cool functionality with it...so I am very comfortable with it. I also beleive the future of ...
10
votes
11answers
2k views
Best approach for writing a chess engine?
I'm a chess enthusiast and a programmer. I recently decided to start making a chess engine using my chess and programming knowledge. So here's my question:
What language (I'm familiar with Java, C++ ...
10
votes
2answers
541 views
How can I use my coding skills for good?
By this autumn my two small websites should be generating around a total of $1200 a month with minimal/zero input which is enough to for me to live on comfortably enough.
Rather than embark on ...
10
votes
3answers
292 views
Object Oriented Programming in JavaScript. Is there life without it? [duplicate]
At our company we have pretty large body of PrototypeJS based JavaScript code, which we are porting to jQuery for several reasons (not really important here). I'm trying to set up coding guidelines to ...
9
votes
7answers
1k views
What made jQuery so popular? What is offers that other JavaScript libraries don't?
According to W3Tech, this link, this link, this link, and many other sources, jQuery is really becoming what IE experienced in the world of web browsers (gaining more than 80% of the market for a ...
9
votes
4answers
1k views
Did jQuery kill the JavaScript discussions? [closed]
There are over 100,000 questions on Stack Overflow tagged as questions relating to JQuery troubleshooting/usage. Compare this to the 124,000 questions on stack overflow that are tagged for JavaScript ...
9
votes
6answers
920 views
How can I write HTML, CSS, and JavaScript to make back-end developers work easier?
When I get a design from a designer, I get it as a PSD (Photoshop) file. I always expect proper layer and folder names, basically a clean and managed PSD. From this desigbn I develop HTML, CSS and ...
9
votes
4answers
392 views
Has the time gone to think about user with JavaScript disabled in browser? [duplicate]
Possible Duplicate:
Should I Bother To Develop for JavaScript Disabled?
In this Modern time of
HTML5 API
jQuery
Modernizr
HTML5 Shim
Respond.JS
Google Chrome app store
Canvas
Has the ...
9
votes
6answers
607 views
JavaScript - Why do frameworks bind to $() [closed]
Disclaimer: I know there is no strictly correct answer to this, but I've come across something that does not make sense to me, and I'd like to try to understand it better by seeing what other people ...
9
votes
2answers
221 views
is it ok to include jQuery in a jQuery plugin
The question jQuery plugin file including the jQuery library came up today on stackoverflow, and I strongly advised against including jQuery in the plugin.
I didn't really get any support from others ...
8
votes
3answers
409 views
Using CSS classes as decorators - a good pattern?
I've been building a web-app with a fairly complex GUI - many small elements alongside eachother and within other elements that need various behaviours (dragging, clicking, but context-sensitive).
My ...
7
votes
4answers
935 views
Benefits to starting JavaScript “for” loops at 0, or just traditional? [duplicate]
Possible Duplicate:
Defend zero-based arrays
I'm running code that loops through an array of HTML IDs.
With the HTML IDs named content1, content2, …, content12, my loop looks like:
for ...
7
votes
9answers
842 views
Is it worth Learning XML as a web developer when JSON is better for AJAX?
Is it worth Learning XML as a web developer when JSON is better for AJAX? or is it better to concentrate on JSON/Javascript for AJAX?
7
votes
6answers
1k views
Focus on Javascript or Jquery? [closed]
I am a student in college, and I notice that a lot of companies look for people who have experience with Javascript. Does this include Javascript's libraries, like JQuery? Or, are they looking for ...
7
votes
5answers
304 views
What do you do to make the client understand that requirements not mentioned in contract should be charged separately?
I've done a very small project for a specified amount of payment. The project was some client-side validation code. However, now client asks for code improvement (general code improvement including ...
7
votes
5answers
956 views
What's the web framework to use on a front-end web application?
What do you consider a good client web framework to use on interface business application? jQuery? YUI!? Another? Some plugins useful?
The application will be use mostly internally replacing a ...
6
votes
10answers
2k views
What's the best way to learn jQuery? [closed]
I have just started learning jQuery and what I've found is that there are tutorials for the basics and copy-paste tutorials for premade plugins, but nothing on how to get to that advanced level that I ...
6
votes
5answers
443 views
ASP.NET AJAX and my axe!
So, I'm seriously considering axing ASP.NET AJAX from my future projects as I honestly feel it's too bloated, and at times convoluted. I'm also starting to feel it is a dying library in the .NET ...
6
votes
4answers
178 views
Issues to be considered while loading jQuery?
I have seen many answers in SO regarding using Google's CDN to load jQuery instead of
loading it from the local server. In essence I understand this is the issue related with decreased latency, ...
6
votes
4answers
311 views
How to become comfortable with javascript and its libraries(jQuery)? [closed]
I am a php lover,working with php for last 2+ years also freelancing in different php producus like wordpress,joomla,drupal.I feel comfortable with php,
I tried to learn javascript and its other ...
6
votes
1answer
3k views
Backbone/JQuery, ExtJs 4… is there something else worth looking?
Im currently evaluating a front-end architecture for a big app that will be developed by a team of about 6 developers + 1 web designer so that said, having a robust SVN friendly architecture is a ...
6
votes
3answers
567 views
Is there a canonical book on creating highly interactive websites (eg. “Flash” like) with HTML5/CSS3/JS/jQuery?
I know some of the basics of these technologies already, but it is mostly limited to more static sites. Using things like HTMl5 semantic elements, CSS3 gradients, shadows, @font-face etc.
Is there a ...
5
votes
6answers
809 views
When am I ready to start using Jquery for Javascript? [closed]
I was told not to use Jquery as a beginner because it would hamper my learning of Javascript. Now I've read a couple books on Javascript, read loads of sites, and made a Javascript web app. Am I ...
5
votes
4answers
916 views
Why is jQuery released under MIT and not LGPL?
Why is jQuery released under MIT and not LGPL?
What are the benefits of using MIT compared to LGPL for a framework?
5
votes
4answers
1k views
Anonymous function vs. separate named function for initialization in jquery
We just had some controversial discussion and I would like to see your opinions on the issue:
Let's say we have some code that is used to initialize things when a page is loaded and it looks like ...
5
votes
3answers
2k views
front end development test - html/css/jquery/javascript
We are continually revamping our front end developer test that we do in-house after a candidate has passed an online test. The online test has questions such as:
How does a for loop start?
What is ...
5
votes
3answers
392 views
Weighing pros and cons for using jQuery for just one widget
I have been using html select boxes or textboxes for date input. On submit, the date is validated and if invalid an error is returned. I have avoided javascript calendars thus far, but jQuery ...
5
votes
1answer
208 views
How to contribute to jQuery?
I'm confused about the nature of the jQuery project. It can be licensed under either the GPL or the MIT license, according to the comments in the project. However, the jQuery web site provides a ...
5
votes
4answers
608 views
Is there a book for learning Javascript -> DOM -> jQuery? [duplicate]
Possible Duplicate:
The importance of javascript and the best way to learn it?
I would like to learn Javascript, the DOM model and jQuery.
I've found many recommendations for books for ...
5
votes
1answer
102 views
Creating and assigning console.log a new object
I have seen code like this in several places:
(function() {
var method;
var noop = function noop() {};
var methods = [
'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', ...
5
votes
1answer
229 views
What would be the best way to manage a lot of jQuery code?
Sorry for the blunt question, I will try to explain further.
I am going to have a website which uses jQuery, and I feel that at some point in time, there will be A LOT of jQuery code, meaning A LOT ...
5
votes
2answers
325 views
How can I design an efficient moderation system for comments?
Here's the job I want to do:
My project is a website where there will be a lot of comments.
Those comments will be moderated: a moderator will connect, see comments and accept or refuse them.
I need ...
4
votes
12answers
1k views
Feeling well out of my depth [closed]
I have just started a new job as a front end web developer, this is my second day and I have just been handed quite a big project that involves lots of javascript which I dont know, this is leaving me ...
4
votes
4answers
4k views
Can I use jQuery Mobile if I am developing a native app?
I am new to jQuery and mobile apps development. I know the features of jQuery Mobile. I want to know where and why to use it. Can I use jQuery Mobile if I am developing a native app?
4
votes
2answers
380 views
Does it make sense to use jQuery in modern-webkit-only web applications?
I'm lately working on a few mobile web apps for Android (2.3+) and iOS (4+). Their browsers support most of ECMAScript5, which is very powerful, and I wanted to use language features where possible, ...
4
votes
3answers
220 views
Blogs on jquery and javascript in general [closed]
So I have decided that I want to get better at jquery and javascript in general. I am in a spot at work where I went from don't WPF UI to writing webpages all day. I feel that if you are going to do ...
4
votes
5answers
2k views
Why is extending the DOM/built-in object prototypes a bad idea?
I'm looking for a definitive answer to why extending built-in prototypes is so heavily chastised in the JS developer community. I've been using the Prototype JS framework for a while, and to me doing ...