Jquery

Mar 3, 2015   Allumez   Technologies , Web Technologies

JQuery , this language has proved itself a great blessing for several web developers. It is a library for Javascript that greatly simplifies programming with javascript providing very easy to use, reduced syntax to achieve even clear complex tasks with Javascript. So jQuery is a JavaScript Library which greatly simplifies JavaScript programming and which is easy to learn.

We should have a basic knowledge of following languages before we start jquery.

1) HTML

2) CSS

3) JavaScript

What basically jquery is

jQuery is a clear lightweight, write less and do more JavaScript library.The main purpose of jQuery is to make it much easier to utilize JavaScript on our website.

jQuery takes a lot of general tasks that need many lines of JavaScript code to complete and wraps them into those methods that you can call with a single line of code. jQuery also makes simple a lot of the complicated things from JavaScript, like DOM manipulation and AJAX calls.

Features of jquery

  1. HTML/DOM manipulation

  2. CSS manipulation

  3. HTML event methods

  4. Effects and animations

  5. AJAX

  6. Utilities

Why jquery

jQuery seems to be the most popular, and most extendable besides there are lots of other JavaScript frameworks out there.

Many of the biggest companies on the Web use jQuery, like Google, Microsoft, IBM, Netflix

Basic syntax of jquery

Basic syntax is: $(selector).action()

A $ sign to define/access jQuery

A (selector) to "query (or find)" HTML elements

The use of JQuery has several benefits over using other javascript libraries or the raw javascript itself but it does have a few negative points that you might want to consider if you plan on developing a website with JQuery as well.

Advantages

Ease of use

This mainly the main advantage of using JQuery that it is a lot more easy to use as compared to standard javascript and other javascript libraries. Besides simple syntax, it also requires much less lines of code to attain the same feature in comparison.

Large library

JQuery enables us to perform pack of functions in comparison to other Javascript libraries.

Great documentation and tutorials

The JQuery website has a wide-ranging documentation and tutorials to get even a beginner in programming to get the ball rolling with this library.

Ajax support

JQuery lets us to develop Ajax templates with no difficulty. Ajax allows a sleeker interface where actions can be performed on pages without involving the entire page to be reloaded.

Disadvantages

Functionality may be limited

While JQuery has a remarkable library in terms of quantity, depending on how much customization we require on our website, functionality may be limited thus using raw javascript may be not right in some cases.

JQuery javascript file required

The JQuery javascript file is required to run JQuery commands. The size of this file is relatively small 25-100KB depending on server. It is still a tension on the client computer and may be our web server as well if we intend to host the JQuery script on our own web server.


Share this post

We are always here to help. If you have a query Send Now