4 ms·
Wondering where jQuery fits in the author's mind right about now. Yes, it's a "library" but come on, all the framework versus principles narrative applies with
by decentrality 12y ago
Wondering where jQuery fits in the author's mind right about now.
Yes, it's a "library" but come on, all the framework versus principles narrative applies with that too.
Directly interacting with the DOM without abstraction seems way too risky, in exchange for some bloat.
- _ZeD_ 12y agoSincerely, the difference between jQuery and angular.js, imho, are obvious. And the principal one, moving jQuery to the "library" side and angular on the framework one, regards not the "size" (in kb) of the sources, but the usage. jQuery is a library because it up to the developer to use it. You can see it just like a light wrapper around the browsers (incompatible) DOM manipulating API. angular is a framework because it's not you that use it, it's you that plug it in your application and that "owns" the logic. You need to adapt your application logic to fit in the framework API.
- mbrock 12y agojQuery can't stop you from creating and using abstractions.