From 8a3de4e8d4346a88f8645fa99640847e300aec45 Mon Sep 17 00:00:00 2001 From: Kevin Bowrin Date: Tue, 24 Feb 2015 16:56:06 -0500 Subject: [PATCH] Make the goals of the Drupal modules a list. --- technical-design/technical_documentation/index.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/technical-design/technical_documentation/index.html b/technical-design/technical_documentation/index.html index d734ce60c..3ec950877 100644 --- a/technical-design/technical_documentation/index.html +++ b/technical-design/technical_documentation/index.html @@ -388,11 +388,13 @@
Camel's Interaction with Drupal

In fact, the main role of the Islandora Drupal module is to provide the REST endpoint and define any common services that will be used independent of content type. The service module acts much like Drupal Views, allowing the endpoint to be customized in through a UI, and code to be exported and inserted into the Drupal module to provide permanency beyond that of the database.

See the example in the 'Using Camel' section for a look at how we create nodes remotely through the REST interface Drupal provides.

The Drupal Modules
-

With so much of the core functionality being moved out of the Drupal layer, we'll see the Drupal modules we've grown accustomed to shrink in size. The core purpose of the Drupal modules will be to: -- Provide custom Islandora content types (One-to-one with content models) -- Provide custom Islandora views -- Provide custom renderers for the access copy derivatives -- Expose custom services for the middleware layer

+

With so much of the core functionality being moved out of the Drupal layer, we'll see the Drupal modules we've grown accustomed to shrink in size. The core purpose of the Drupal modules will be to:

+

It should be noted that although there will still exist a module for each content model, they will not be in separate git repos. There is a difference between modularity of code and modularity of revision control. Managing some thirty odd git repos is a maintenance nightmare, and so you will see all code move into a single repository. This will help eliminate commit mis-matches between modules, and will synchronize changes with the middleware layer as well. Over time, as the code base grows, we can consider moving out larger pieces for specific reasons (getting the Islandora modules on drupal.org, for instance), and using git submodules to replace them in the single canonical Islandora Github repository.