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

Table

NOTE: This module doesn't do anything of its own. Only install this module if another module requires it.

Form Alter UI

Example application for Form Alter UI

New module that provides a UI for altering forms. This module will also support export/import operations and generating module code for a static hook_form_alter module.

lc

This micro-module does one thing and one thing only - it provides the lc function which is a drop in replacement for the

AJAX Cache

AJAX Cache acts much like imagecache by generating the result of a request on demand and storing it on the filesystem for later reuse. This is useful if you are trying to scale a site that makes many dynamic ajax calls. AJAX cache saves results directly to the files so the web server can serve them directly, rather then bootstrapping Drupal.

AJAX Cache will do nothing by itself. Supporting code must call it.

How to use

First you define the presets you are going to use like this:

/**
 * Test implementation of hook_ajaxcache_presets().
 */
function ajaxcache_ajaxcache_presets() {
  return array(
    'test' => array(
      // Name of your function that outputs the data to be cached
      'callback' => 'ajaxcache_test_callback',

      // Optional: include file where the callback is located.
      // 'file' => 'include.inc',

      // Optional: file extension to be used when serving the file. Defaults to html.
      // 'extension' => 'json',

      // Optional: file name (without extension) to be used when serving the file. Defaults to ajax.
      // 'filename' => 'test',
    ),
  );

Then, instead of passing javascript the URL that would point to your output function through the menu system, you pass the URL returned by:

ajaxcache_get_url($preset_name, $args);

Amazon S3 Stream Wrapper

amazon S3 api

Similar work has been completed with Media : Amazon
http://drupal.org/project/media_amazon

Amazon S3 is storage for the Internet. It is designed to make web-scale computing easier for developers.

Amazon S3 has a simple web services interface that can be used to store and retrieve any amount of data, at any time, from anywhere on the web. It gives any developer access to the same highly scalable, reliable, fast, inexpensive data storage infrastructure that Amazon uses to run its own global network of web sites. The service aims to maximize benefits of scale and to pass those benefits to developers.

Amazon S3 PHP class

This class is a standalone Amazon S3 REST implementation for PHP 5.2.x (using CURL), that supports large file uploads and doesn't require PEAR.
Checkout the latest

S3 Api guide

<?php
/**
* @param object $file
* example :
* $file = new stdClass();
* $file->uid = $user->uid;
* $file->filename = $filename;
* $file->filepath = $filepath;
* $file->filemime = file_get_mimetype($filename);
* $file->filesize = filesize($filepath)
* $file->timestamp = time();
*
*/

/**
* sends file to s3
* @param array $file standard file object
* @returns string completed file string
*
*/
s3_api_put_file($file);

/**

Pages

Subscribe with RSS Subscribe to RSS - Developer tools