Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Jquery, prototype, ... vs javascript

Featured Replies

Hello there

I wanted to ask you whether it is worth or not using tools such as jquery or prototype comparing them to javascript.

 

What do you suggest? Using those libraries or rely just on javascript?

 

I knew javascript but I have got to know recently these libraries which seem to reduce the amount of code. Therefore, I do not know much about this issue. Nonetheless, if I have to give it a try, I might think that using just java script gives me more control than using those libraries. On the other hand, those libraries such as jquery or prototype might speed up the development.

Please, I would appreciate your suggestions about purposes and pros and cons of using either libraries or only javascript.

 

Thanks in advance

I lol'ed at this:

those libraries such as jquery or prototype might speed up the development.

 

These libraries will definitely speed up your development times, and not my a small amount - with jQuery I can do things in half a day that would have taken me a week before, and I know JavaScript.

 

If something is a small script (ie 10 lines of jQuery or 100 lines of JavaScript) then the filesize of the library means it use it possibly "overkill".

 

Generally I will write in jQuery first, and if the client complains about size, rewrite in JavaScript.

  • Author
I lol'ed at this:

These libraries will definitely speed up your development times, and not my a small amount - with jQuery I can do things in half a day that would have taken me a week before, and I know JavaScript.

 

If something is a small script (ie 10 lines of jQuery or 100 lines of JavaScript) then the filesize of the library means it use it possibly "overkill".

 

Generally I will write in jQuery first, and if the client complains about size, rewrite in JavaScript.

 

Thanks, one more question php_penguin:

You mean that the problem of jQuery is that the filesize of 97.7 KB from the jQuery library might be considered too big, right?

Thanks

broadly speaking I mean that yes, but jquery is available in compressed versions of just 16kb and there is no point downloading an uncompressed version.

I have been using Adobe Spry for AJAX development a fair bit recently, its pretty good and from what I hear Adobe are going to make some major upgrades to Spry in the next version of Dreamweaver. Very easy to use

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.