Tuesday, May 14, 2019

Client-side development 1 - jQuery

 JQuery a framework or a library


 J Query is a library.framework is something that usually forces a certain way of implementing a solution, whereas j Query is just a tool to make implementing what you want to do easier. j Query: The Write Less, Do More, JavaScript Library.


Explain the features provided by jQuery

j Query is a write less and do more java script library, it use of java script much easier and  simplifies the complicated things from java script like the AJAX calls.

Features of j Query are :

1. Effects and animations.
2. Ajax.
3. Extensible.
4. DOM element selections functions.
5. Events.
6. CSS manipulation.
7. Utilities - such as browser version and the each function.
8. JavaScript Plugins.
9. DOM traversal and modification.





 Advantages and disadvantages of using jQuery in different project scales

The main advantage of jQuery is that it is much easier than its competitors.IT can add plugins easily, translating this into a substantial saving of time and effort. jQuery community is active and hard work. Competitors such as Flash and pure CSS is its excellent integration with AJAX.


  1. jQuery is flexible and fast for web development
  2. It comes with an MIT license and is Open Source
  3. It has an excellent support community
  4. It has Plugins
  5. Bugs are resolved quickly
  6. Excellent integration with AJAX
Disadvantages
jQuery is easy to install and learn, initially. But it’s not that easy if we compare it with CSS. JQuery is improperly implemented as a Framework, the development environment can get out of control.


 How the jQuery handles the issues related to partial page loads to the browser

I'm recommended follow this link for easy to understand:


Discuss the selectors and their use in jQuery

jQuery Selector is a function which makes use of expressions to find out matching elements from a DOM based on the given criteria.Once an element is selected then we can perform various operations on that selected element.Simply you can say,selectors are used to select one or more HTML elements using jQuery.


The use of CSS advanced selectors in jQuery and jQuery’s DOM traversal API, indicating the pros and cons of them

jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.


Explain the importance of DOM objects and DOM processing in jQuery

The functions associated with these objects determine how the objects may be manipulated, and they are part of the object model.The DOM is an object-oriented representation of the web page, which can be modified with a scripting language such as JavaScript.The Document Object Model currently consists of two parts, DOM Core and DOM HTML. The DOM Core represents the functionality used for XML documents, and also serves as the basis for DOM HTML.




JQuery event handling over HTML event attributes, providing a list of events supported by jQuery

  1. Mouse Events scroll, click, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave, load, resize, scroll, unload, error
  2. Keyboard Events keydown, keypress
  3. Browser Events load, resize, scroll, unload, error.
  4. DOM Element Events. blur, focus, focusin, focusout, change, select, submit.

Identify a list of advanced features provided by jQuery and explain their use towards improving the user experience

Create an Empty jQuery Object

Creating a new jQuery object can bring significant overhead. Sometimes, you might need to create an empty object, and fill it in with the add() method later.
Use CSS Hooks
The CSS hooks API was introduced to give developers the ability to get and set particular CSS values. Using it, you can hide browser specific implementations and expose a unified interface for accessing particular properties

6 comments: