Libraries API

sun - May 18, 2009 - 12:51

The common denominator for all Drupal modules/profiles/themes that integrate with external libraries.

External libraries
Describes libraries that are not shipped or packaged with a project on drupal.org. We do not want to host libraries on drupal.org for a multitude of reasons, starting with licensing, proceeding to different release cycles, and not necessarily ending with fatal errors due to conflicts of having having the same library installed in multiple versions.

This module introduces a common repository for libraries in sites/all/libraries resp. sites/<domain>/libraries for contributed modules.

Quick summary of this project's goals:

  • The same library can be shared by more than one module.
  • The same library can be shared by more than one site.
  • Ease the process of upgrading a module that requires an external library. Just replace the module folder with the new one. No need to move the contained library out and back in.
  • Preventing incompatibilities due to having the same library installed more than once in different versions.
  • Central installation instructions (widget) to help users figure out how to install.
  • Library classification.
  • Handling of dependencies between libraries.
  • Library version detection.
  • Runtime control of library availability.

See #320562: Libraries API for more information.

All issues tagged with "Libraries" on drupal.org

If you want to participate in architectural design decisions, make sure you subscribe to "all issues" on http://drupal.org/project/issues/subscribe-mail/libraries

Downloads

Version Downloads Date Links
7.x-1.x-dev Download (7.64 KB) 2009-Jun-22 Notes
6.x-1.x-dev Download (7.64 KB) 2009-Jun-22 Notes


 
 

Drupal is a registered trademark of Dries Buytaert.