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

Search Tracker

Search Tracker module looks up search engines to find if the url's in your sitemap are indexed.

PGP Contact Forms

pgpcontact.png

This is a project to provide client side pgp encryption of user and site-wide contact forms using the OpenPGP.js library.

commentstatsrebuild

A node I found describes how to do it manually, this is a minimalistic module that adds a button to the admin interface.

Background Process

Drupal 7 Settings

Dependencies


Modules that utilize Background Process


Developer

Executing a background process

<?php
$handle = background_process_start('mymodule_dosomething', $myvar1, $myvar2);

$handle = background_process_start(array('myclass', 'mystaticfunction'), $myvar1, $myvar2);

$handle = background_process_start(array($myobject, 'mymethod'), $myvar1, $myvar2);

$handle = background_process_start_locked('dontrunconcurrently', 'mymodule_dosomething', $myvar1, $myvar2);
?>


Executing arbitrary http requests

The following code shows how to fetch data via http in "parallel" (asynchronous non-blocking mode)
It uses an API similar to that of HTTPRL but "slightly" different, in order for the caller to gain more control of the requests. Plans to join forces with HTTPRL are in place.

Drupal way: blocking/synchronous

<?php
$r = array();
for ($i = 0; $i < 10; $i++) {
  $r[] = drupal_http_request('http://www.example.com/stuff/' . $i);
}
print_r($r);
?>


Pages

Subscribe with RSS Subscribe to RSS - Developer tools