CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • Move third-party libraries out of the Drupal module directory?
Pages: [1]

Author Topic: Move third-party libraries out of the Drupal module directory?  (Read 1252 times)

TallDavid

  • I post occasionally
  • **
  • Posts: 41
  • Karma: 2
    • ATO Zeta Mu Alumni
  • CiviCRM version: 3.4.8
  • CMS version: Drupal 6.22
  • MySQL version: 5.1.52
  • PHP version: 5.2.13
Move third-party libraries out of the Drupal module directory?
December 04, 2010, 01:16:54 pm
It has recently come to my attention that Drupal performance improvements can be realized by moving 3rd-party libraries out of the Drupal module directory: Move third party libraries outside the modules folder

CiviCRM uses a number of 3rd-party libraries including CKEdit, jQuery, reCaptcha, tcpdf, etc. which are included under the ...\modules\civicrm\packages directory.  Moving these libraries out of the modules folder should provide a performance increase for the entire Drupal site... even when the CiviCRM system is not actively in use.

The Drupal Libraries API provides a systematic approach to managing external libraries which might be leveraged by CiviCRM.  In addition to performance, there may be other advantages to this approach.  These are detailed on the Libraries API project page.

Thoughts?


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Move third-party libraries out of the Drupal module directory?
December 04, 2010, 02:38:48 pm

I think this primarily applies to only one drupal url: admin/build/modules (where the directory structure is recursively traversed), and most folks dont do there a lot. however this will potentially complicate the civicrm install and upgrade scripts

would be great if you can investigate and check the viability both from an install and upgrade perspective.

lobo

A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • Move third-party libraries out of the Drupal module directory?

This forum was archived on 2017-11-26.