Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects

Services API

At Fanlala.com we are working with a contractor to develop a mobile app to work with the site. We are using Services to provide and API for the mobile app to connect to the backend of the site. We needed to provide the developer with documentation of the API. Since the service may change we decided to write a module to provide the API documentation.

This module will list the resources and methods in your service endpoints with the documentation provided in the help section of the services resource given in hook_services_resources() or changed in hook_services_resources_alter().

Different Services servers can provide examples on calling the methods using hook_services_api_create_example_request() and sample responses can be added in hook_services_resources_alter() to be rendered by another hook_services_api_render_response().

Roadmap

I prefer to use the rest_server module with my Services endpoints so my goal is to have complete documentation for the REST implementations. If others want to contribute documentation in the form of examples/sample responses for other servers they can look at servers/rest_server.inc and look at the hooks there or contact me for help.

Webform External

Description

The Webform External module allows users of webform to store the data for specific webforms in an external datasource that is defined in the settings.php file. This was created in response to forms that contained data protected by HIPAA regulations, which requires that HIPAA-defined data be stored separately from other data and be closely monitored.

Requirements

Webform 7.x-3.x

Installation

Install the module as you would any other.

Configuration

Adds an additional menu item when creating new or editing existing Webform
nodes called External DB. Select desired datasource to store webform data
from a dropdown list. List is generated from available datasources in the
settings.php file.

Database configuration should be created as such:

$databases = array (
'default' =>
array (
'default' =>
array (
'database' => 'main_datasource',
'username' => 'drupal',
'password' => 'foo',
'host' => 'localhost',
'port' => '',
'driver' => 'mysql',
'prefix' => '',
),
),
'external_datasource' =>
array(
'default' =>
array (
'database' => 'external_datasource',
'username' => 'drupal',
'password' => 'bar',
'host' => 'localhost',
'port' => '',

Detector

NOTE: Given that Detector no longer appears to work in newer versions of PHP, there's probably not much point in maintaining this. Sorry for this.

Pages

Subscribe with RSS Subscribe to RSS - Unsupported