Professional Documents
Culture Documents
Public Interest Tailor Module Stakeholder Requests: Version
Public Interest Tailor Module Stakeholder Requests: Version
Public Interest Tailor Module Stakeholder Requests: Version
Tailor module
Stakeholder Requests
Version <1.0>
Tailor module Version: <1.0>
Stakeholder Requests Date: <dd/mmm/yy>
<document identifier>
Revision History
Date Version Description Author
<15/NOV/2006> <1.0> Initial revision Brandon
<16/NOV/2006> <1.0> Revision Hamad nazir
Table of Contents
1. Introduction 1
1.1 Scope 1
1.2 Definitions, Acronyms and Abbreviations 1
1.3 Overview 1
Stakeholder Requests
1. Introduction
1.1 Scope
This document covers the design of a Drupal module that can be programmed to alter arbitrary Drupal forms in
arbitrary ways, without the need for the site developer to create a custom module.
This project is being done using the infrastructure provided by the Drupal project for use by independent
contributors.
The module itself will be available for use by all users of Drupal.
1.3 Overview
This document is organized into an introduction, an assessment, and a list and analysis of features.
This module will be designed with ease-of-use in mind. There are many modules that alter forms, but there are no
modules currently available that will allow the site developer to create alterations through the web. This module will
reduce the dependency on one-off “site customization” modules that implement the desired alterations to a site’s
forms and allow for easier customization by the end user, as well as additional flexibility.
Ability to alter forms without writing a custom module High (Purpose of the module)
Ability to create and delete alterations through the High
Drupal administration interface
Ability to control the module via the database Low
Speed High (Hooks are like interrupts, they need to be fast)
Ability to use “PHP mode” to define the behavior Medium
Disable/enable module without side effects High (Drupal modules are expected to be well-behaved)
Scalability Medium (Even the largest sites have no more than a few
dozen custom alterations.)
Security High (Unauthorized access to the facilities provided by
this module could be used to compromise the entire site)
Conditional execution of alteration rules Medium
5.2 Ability to create and delete alterations through the Drupal administration interface
The ability to use the normal interface means a lower learning curve. Users are uncomfortable using modules that
require configuration that can not be performed via the administration interface.
5.4 Speed
This module will be consulted every time a form will be rendered. This may happen several times on a single page
view. It is essential to maintain a good speed, and not adversely affect the speed of forms that have not been altered
via this module.
5.7 Scalability
Drupal sites come in all sizes. A site with many customizations and many users must maintain a reasonable response
time. Care must be made not to introduce bottlenecks.
5.8 Security
The ability to alter forms is a powerful tool that may be used to break security if it is accessible by people with
malicious intent. Proper access checks must be made at all times to prevent the module from introducing security
holes.