Jquery features, Advantages and disadvantages
Simple Ajax Example and ajax Client server communication
What is JQuery
Advantage of Jquery:
Lightweight and Fast: To keep the JQuery library lightweight, a lot of functions have been omitted and some are transferred to the plug-in section. If you want any particular feature on a page, you can add these plug-in in the website. This keeps the coding at a limited level and saves bandwidth for faster loading. The JQuery core library is only 24 kb in size. That makes it very easy to add in the applications and hence, improves the performance of the web application
Open source library: it’s an open source library, free and well supported across all types of applications. Therefore, anyone can use JQuery in their application without any compatibility and licensing issues. Also, Microsoft has integrated JQuery officially into its IDE Visual Studio 2010 and JQuery intellisense is well supported in Visual Studio 2010 now
Easy to Learn and Flexible: JQuery is very compact and easy to understand. Fact is, even if you have basic knowledge of coding, you can start writing JQuery very easily after going through a short tutorial.
Lots of extendable and reusable Plug-ins: The JQuery team has kept the plug-in creation process simple. They have given a framework for extending the library. You can develop your own customized plug-in, use it in JQuery projects, and share it with fellow developers. In the case you don’t want to create plug-ins, there are hundreds of high quality plug-ins available for download to do your work.
CSS3 Selectors Compliant: JQuery completely supports the CSS3 selector requirements. You can learn and start using CSS3 selectors in your production code right away.
DOM traversal manipulation: Dom Traversal Manipulation is made very simple and easy with JQuery. DOM manipulation like adding new elements, removing elements, traversing across elements etc with querying and chaining is extremely Wonderful & Robust.
Cool Effects and animations: very cool animations like fade-in/fade-out expand/contract etc can be achieved very easily on any element with couple of lines of code.
JQuery User Interface: JQuery UI offers accordions, sliders, dialog boxes, date pickers, and many more features. All of them are ready to use. The UI controls are configurable and you don’t need to spend any extra time in building these features. However, for .Net developers, all these utilities are available in Ajax too.
The Whole World is Embracing JQuery: Various IT behemoths on web have already accepted JQuery. Companies such as IBM, Microsoft and Google are using JQuery. Microsoft even included JQuery with its MVC framework and is working with the open-source JQuery project to add new features to the JQuery library
Disadvantages of JQuery
Functionality maybe limited
Features of Jquery
The jQuery library provides a general-purpose abstraction layer for common web scripting, and is therefore useful in almost every scripting situation. Its extensible nature means that we could never cover all possible uses and functions in a single book, as plug-ins are constantly being developed to add new abilities. The core features, though, address the following needs:
Modify the appearance of a page. CSS offers a powerful method of influencing the way a document is rendered; but it falls short when web browsers do not all support the same standards. jQuery can bridge this gap, providing the same standards support across all browsers. In addition, jQuery can change the classes or individual style properties applied to a portion of the document even after the page has been rendered.
Alter the content of a page. Not limited to mere cosmetic changes, jQuery can modify the content of a document itself with a few keystrokes. Text can be changed, images can be inserted or swapped, lists can be reordered, or the entire structure of the HTML can be rewritten and extended-all with a single easy-to-use API.
Respond to a user's interaction with a page. Even the most elaborate and powerful behaviors are not useful if we can't control when they take place. The jQuery library offers an elegant way to intercept a wide variety of events, such as a user clicking on a link, without the need to clutter the HTML code itself with event handlers. At the same time, its event-handling API removes browser inconsistencies that often plague web developers.
Add animation to a page. To effectively implement such interactive behaviors, a designer must also provide visual feedback to the user. The jQuery library facilitates this by providing an array of effects such as fades and wipes, as well as a toolkit for crafting new ones.
- Leverage knowledge of CSS. By basing the mechanism for locating page elements on CSS selectors, jQuery inherits a terse yet legible way of expressing a document's structure. Because a prerequisite for doing professional web development is knowledge of CSS syntax, jQuery becomes an entry point for designers who want to add behavior to their pages.
- Support extensions. In order to avoid feature creep, jQuery relegates special-case uses to plug-ins. The method for creating new plug-ins is simple and well-documented, which has spurred the development of a wide variety of inventive and useful modules. Even most of the features in the basic jQuery download are internally realized through the plug-in architecture, and can be removed if desired, yielding an even smaller library.
- Abstract away browser quirks. An unfortunate reality of web development is that each browser has its own set of deviations from published standards. A significant portion of any web application can be relegated to handling features differently on each platform. While the ever-evolving browser landscape makes a perfectly browser-neutral code base impossible for some advanced features, jQuery adds an abstraction layer that normalizes the common tasks, reducing the size of code, and tremendously simplifying it.
- Always work with sets. When we instruct jQuery, Find all elements with the class 'collapsible' and hide them, there is no need to loop through each returned element. Instead, methods such as .hide() are designed to automatically work on sets of objects instead of individual ones. This technique, called implicit iteration, means that many looping constructs become unnecessary, shortening code considerably.
- Allow multiple actions in one line. To avoid overuse of temporary variables or wasteful repetition, jQuery employs a programming pattern called chaining for the majority of its methods. This means that the result of most operations on an object is the object itself, ready for the next action to be applied to it.
Images used on this website
are either a production of Bhaktivedanta Book Trust(http://www.krishna.com), Iskcon
Foundation or were found in google search under "Free to use and share". If any
of the images presented here violates copyright issues or infringes anyone copyright
or are not under "Fair use", then please bring it to our notice. Read Disclaimer
Share this to your friends. One of your friend is
waiting for your share.
How AJAX Works, advantages and disadvantages
Working with server controls and HMTL controls
Working with forms-Jquery form selector
Working with canvas in silverlight
Silverlight New features & system requirement
Creating your first application in JQuery
JQuery FAQ and Jquery Effects
How Silverlight works internally
What is Silverlight,its features and how it works
Software developer by profession,
Poet by hobby,
Blogger by Passion
Birth Place: Munger
Read More about me
Read my daily what'sapp quotes