Developer

Rollbar

This module provides Drupal integration with Rollbar . Rollbar provides a central point for managing code errors and warnings on your site. Users can easlily track when errors begin to occur and how often.

Combined with client infomation. Like, browser, page plugins etc it can be very powerful at aiding development.

Sign up for an account at http://www.rollbar.com.

Features

This module currently supports

  • Configurable PHP library path.
  • Configurable access keys.
  • Configurable environment (production, staging development etc)
  • PHP Exception handler.
  • PHP Error handler.
  • Watchdog error handler
  • Ignore PHP watchdog errors. (Don't send these to Rollbar)
  • Ability to turn off native PHP handlers and send all watchdog errors
  • JavaScript integration (send JS errors/exceptions to Rollbar.com)

Installation instructions

  1. Download and enable the module.
  2. Download rollbar.php from https://github.com/rollbar/rollbar-php
  3. Place the downloaded file in your installation: sites/all/libraries/rollbar/rollbar.php

Mongo Entity

Overview

Mongo Entity provides developers with entity and controller classes for storing entities entirely in a MongoDB collection. It eliminates the need for a base table, or any SQL queries at all; an entity's ID, name, properties, and any field data are all written directly to MongoDB. It also provides classes for embedded entities: entities that are stored as subdocuments in a parent collection, but that can be managed using the standard Entity API CRUD methods, as well as found with EntityFieldQuery. Ultimately, loading a parent entity should automatically load and embed all its child entities, with only one query to a single MongoDB collection.

Mongo Entity is for developers. It provides no interface, nor does it alter the behavior of existings sites out of the box. Modules can use the provided MongoEntity and MongoEntityController classes in hook_entity_info to store entities in MongoDB, rather than a SQL database.

Features

  • Minimal configuration. Save custom Entities entirely in automatically generated MongoDB collections. No SQL tables needed.
  • Performance boost. Field data is stored with the Entity in MongoDB, reducing the need for complex JOINs and multiple database queries to load a single object.
Read more

dCycle

dCycle helps you deploy sites in dev-stage-prod. See also dCycleproject.org

This module is in initial stages and plan is for it to:

  • Provide hook_requirement()s checking for various best practices
  • Instructions on how to use with Jenkins
  • Require a namespace, at least one simpletest and a one-step deployment module for your site
  • Allow you to specify dev, stage, and production environments, with different requirements for each

Taxonomy override

Taxonomy Override provides a hook for developers to override taxonomy term page behavior.

Without implementing hooks and callback on your own module, this module will have no utility.

How use it ?

Read taxonomy_override.api.php

On your module :

Use hook_taxonomy_override_define_callback() to define available callback(s).

On your site configuration :

Based on vocabulary : Simply choose your callback function in vocabulary add/edit form.

Similar Module :

You can also take an eye on https://github.com/G-nova/useful_taxonomy/ to find useful taxonomy functions.

Status Message Close

Status Message Close

Add a close button to each status message.

This module takes a slightly different approach than Dismiss to make sure all CSS margin and padding is reset - identical to a fresh reloaded page. This can be helpful during theming.

Installation

Just download and enable.

Multiple Entity Form

Provides helper functions for creating forms that display multiple entities, of multiple types, showing selected fields. This can also include new, unsaved entities.

Example:

// Create a form builder as normal.
function my_form($form, &$form_state) {
  // Define an array of data for the entities to show in the form.
  $entity_data = array();
  // First entity: node 1.
  $entity_data[] = array(
    'entity_type' => 'node',
    'entity' => node_load(1),
    'fields' => array('field_foo', 'field_bar'),
    'fieldset' => t('My First Node'),
  );
  // Second entity: node 2.
  $entity_data[] = array(
    'entity_type' => 'node',
    'entity' => node_load(2),
    // 'fields' not given: all fields shown.
  );
 
  $form += multiple_entity_form($form, $form_state, $entity_data);

  // Add your submit button and other form elements you need.
}

function my_form_validate($form, &$form_state) {
  multiple_entity_form_validate($form, $form_state);
}

function my_form_submit($form, &$form_state) {
  multiple_entity_form_submit($form, $form_state);

  // Save the entities.
  foreach ($form['#entity_form_keys'] as $form_key) {
    $entity_type = $form[$form_key]['#entity_type'];
    $entity = $form[$form_key]['#entity'];
   
    entity_save($entity_type, $entity);
  }
}
Subscribe with RSS Syndicate content
nobody click here