Empower developers with tools that assist with developing and debugging the frontend or backend of the site.

JSUtils

An attempt to add helper functions, depedencies, and modularity to frontend Drupal code.

Adds the following function (backend):

  1. drupal_add_js_dependency(stack, name) - ensures a dependency is in effect before pages load to sidestep race conditions.

Adds the following function sets (frontend):

Dependency functions:

  1. Drupal.modules.init_dependencies() - initialises all dependencies that were present in Drupal.settings on load.
  2. Drupal.modules.init_dependency(stack, fallback = true) - create a dependency stack, optionally making it resolve after page load. May switch to a timeout in future.
  3. Drupal.modules.add_dependency(stack, name) - adds a dependency to a dependency stack, which must be marked as resolved before the stack marks as resolved
  4. Drupal.modules.resolve_dependencyname - resolves a named dependency on all stacks.
  5. Drupal.modules.dependency_status(stack) - checks the status of a dependency stack
  6. Drupal.modules.get_dependants(name) - lists stacks that depend on the named module.

Hook handling functions

Configuration builder

The Configuration builder module provides a Form Builder based, drag and drop interface for building custom, exportable, configuration pages.

This can be used to create a unified settings form bringing important settings (Site name, Google analytics account, etc) into one easy to manage page, or for creating custom settings forms as needed.

 

Features

  • Drag and Drop form builder interface.
  • Configuration variables provided as tokens.
  • Provides a block per configuration page.
  • Set page access by:
    • User permission.
    • User role(s).
  • Exportable as:
    • Drupal API hooks via:
      • Configuration builder export interface.
    • CTools exportable via:
      • Configuration builder export interface.
      • CTools Bulk Export module.
      • Features module.
  • Integrates with:
    • Drupal Contextual links module:
      • Adds a hover link for quick editing configuration pages.
      • Adds contextual link tokens for quick editing variables.
    • Variable module:
      • Adds Variable element for Form Builder for any declared variables.
      • Declares all created variables with hook_variable_info().

Awkward Showcase

Provides Views Display Style and Field Display Formatter for image fields using the Awkward Showcase jQuery image gallery plugin.

Drupal Computing

Drupal Computing is a framework that facilitates distributed computing between Drupal and external programs written in non-PHP languages such as Java and Python. It is particularly designed for the cases where you need to use Drupal with non-PHP, computational-intensive code libraries (such as Apache Mahout, NumPy/SciPy, R, etc) for offline big data analytics. In addition to this Drupal module, you also need the companion Java and Python client library at https://github.com/danithaca/drupal-computing. The target audience would be developers who write Java/Python programs for Drupal.

Key Features

  • Reusable Java and Python code to interact with Drupal (https://github.com/danithaca/drupal-computing)
  • Two ways of Drupal interaction using either Drush (unlimited access) or Services (restricted but more secure).
  • A work queue system within Drupal to facilitate data exchange and asynchronous execution with agent programs.
  • Entity API support to provide flexible data structure.
  • Views integration.
  • Rules integration. For example, send an email when a certain agent program finishes running.

Buckaroo | Ubercart payment

Payment module for Ubercart. Integrates Buckaroo gateway as a checkout method for Ubercart.

Better Revisions

#D8CX: I pledge that Better Revisions will have a full Drupal 8 release on the day that Drupal 8 is released.

Pages

Subscribe with RSS Subscribe to RSS - Developer tools