jQuery Fundamentals :: A guide to the basics of jQueryjQuery released almost eight years, quite unbelievable. Web development over the years has changed a lot, jQuery also changes significantly. In this process, the team has been working on efforts to ensure compatible between supports and get the best Web development practices with the reality of the past code.

One of the best practice is semantic version, or simply call it semver . In practice, semver gave developers (and builder) One way to avoid a risk of switching software version. Version number MAJOR.MINOR.PATCH form, its three parts are integers. In semver, if MAJOR changed, which means that there are developers the API changes need to pay attention to the fault changes.

JQuery in version control concept becomes more subtle, because jQuery for browser compatibility is more important than API compatibility. In order to create a thin jQuery, the team in 2013 released two versions. Holding the first version 1.x number, current 1.11.1, this holds the maximum number of browser compatible. The second version, from 2.0.0 to 2.1.1 now, to streamline the code removes support for IE8 and the following browsers. Whether it is the jQuery 1.x and 2.x versions have the same public API, but their internal implementation is different.

Our next version will use different naming conventions. As before, there will be two different publishing documents. 1.11.1 Inheritance version will become jQuery Compat 3.0. Inheritance version jQuery 2.1.1 will be jQuery 3.0. On npm and Bower have two different packages, but they share the same version through to indicate that they have the same API.

We will publish as these policies to readjust our browser support. The main package will still maintain a small compact to support jQuery publish regular browser (current and previous versions of the browser-specific) when it is published. Based on market share, we may support additional browsers in this package. JQuery-compatible package provides a wider browser support, but the file size will be larger and there will be a potential risk of low performance.

In addition to the large version number jump, we will not do much to change the current jQuery code. We want to handle version changes. Some changes, such as deleting outdated methods will be a new version of jQuery plugin migration is detected; it is easier to find and fix them. We will list more details in the future to modify the blog.

Here are some of the jQuery API 3.0 versions of the content to say:

If you want compatible with a wider range of browsers, including IE8, Opera 12, Safari 5 and so on, using jQuery-Compat 3.0.0 package. Most sites we recommend using this version, because it provides the best compatibility for the most site visitors.
If your site is designed to build the leading browser, or a webview (such as PhoneGap or Cordova) container HTML applications, and you know what browser engine will use it, then use jQuery 3.0.0 package.
Unless we announce otherwise, in the same major and minor versions of these two packages will contain similar public API. So that developers can easily switch between them, and will remain with third party jQuery plugin for maximum compatibility.

When they released their own future, we will ensure that both of these two packages in npm and bower in. These two packages are also available as a separate file will still exist in jQuery CDN. From there, they are very simple to use, depending on your need to include jquery-compat-3.0.0.js or jquery-3.0.0.js. We talked about the conversation with the operation and maintenance Google CDN people, they will support both packages.

We further development of version 3.0, we will update the code changes, and the details are browser supports and so Stay tuned!


Post a Comment

How we work

Bitcoin is a cryptocurrency, which is a form of electronic cash. This is the first decentralized digital currency: the system was designed to work without a central bank or a single administrator. Many economists and investors consider the Bitcoin market to be a bubble. Bitcoin has also been criticized for its use in illegal transactions, its high power consumption, price instability, and theft from exchanges.

What Is Real Cryptocurrency
Bitcoin is made as a reward for the process known as mining. They can be exchanged for other currencies, products and services. The research produced by Cambridge University estimates that in 2017, there were 2.9 to 5.8 million unique users using cryptocurancency wallet, most of which used bittoine. A cryptocurrency (or crypto currency) is a digital asset designed to work as a medium of exchange that uses cryptography to secure its transactions, to control the creation of additional units, and to verify the transfer of assets. Cryptocurrencies are classified as a subset of digital currencies and are also classified as a subset of alternative currencies and virtual currencies.

Bitcoin, created in 2009, was the first decentralized cryptocurrency. Since then, numerous cryptocurrencies have been created. These are frequently called altcoins, as a blend of bitcoin alternative. Bitcoin and its derivatives use decentralized control as opposed to centralized electronic money/central banking systems . The decentralized control is related to the use of bitcoin's blockchain transaction database in the role of a distributed ledger