JavaScript library

Print Print
Reading time 2:59

A JavaScript library is a library of pre-written JavaScript that allows for easier development of JavaScript-based applications,[1] especially for AJAX and other web-centric technologies.[2]

History

While JavaScript, as first developed by Netscape (and later Mozilla), has long had a presence on the Web for many websites, it gained a particular pitch with the rise of the Web 2.0 era of computing, in which JavaScript became increasingly used for the development of user interfaces for applications, both web-based and desktop-based.

JavaScript was also combined with CSS to create dynamic web pages, which have also become popular as a more efficient and accessible alternative to Flash-based websites.

Libraries

With the expanded demands for JavaScript, an easier means for programmers to develop such dynamic interfaces was needed. Thus, JavaScript libraries and JavaScript widget libraries were developed, allowing for developers to concentrate more upon more distinctive applications of Ajax.[3] This has led to other companies and groups, such as Microsoft and Yahoo! developing their own JavaScript-based user interface libraries, which find their way into the web applications developed by these companies.[4] Some JavaScript libraries allow for easier integration of JavaScript with other web development technologies, such as CSS, PHP, Ruby, and Java. Many libraries include code to detect differences between runtime environments and remove the need for applications to allow for such inconsistencies.

Almost all JavaScript libraries are released under either a copycenter or copyleft license to ensure license-free distribution, usage, and modification.[5]

Frameworks

Some JavaScript libraries, such as Angular, are classified as frameworks since they exhibit full-stack capabilities and properties not found in general JavaScript libraries.[citation needed]

See also

References

  1. ^ David Sawyer McFarland (2014). JavaScript & JQuery: The Missing Manual. O'Reilly Media. p. 106. ISBN 9781491948620.
  2. ^ "What is a JS library?". Khan Academy. Retrieved 2018-01-15.
  3. ^ Andy Harris (2009). JavaScript and AJAX For Dummies. Wiley. p. 240. ISBN 9780470417997.
  4. ^ Jake Rutter (2011). Smashing JQuery. Wiley. p. 21. ISBN 9780470977361.
  5. ^ Shelley Powers (2010). JavaScript Cookbook. O'Reilly Media. pp. 389–412. ISBN 9781449395926.

By: Wikipedia.org
Edited: 2021-06-18 12:36:34
Source: Wikipedia.org