As it says on the Code Server project page ...

Allows limitless communication between Drupal sites.

Code Server provides a framework for calling PHP functions on a Drupal site from code running on a different Drupal site.

Applications include:

  • Synchronising data (content, users, etc.) between two or more sites.
  • Synchronising files (attachments and uploads, etc.) between local development machines and remote (e.g. Pantheon hosted) development site.
  • Running arbitrary tests without needing any specific supporting code installed on the remote site.
  • More!

Example:

  // Load a node from the remote site.
  $node = $remote->node_load($nid);
  // Save the node on the local site.
  node_save($node);

Comments

Andy Inman’s picture

Beta-3 version now available.

Andy Inman’s picture

Now includes drush integration.