It looks like the Block API still leaves something to be desired: The only way to “properly” save the various region, title, and visibility settings of a block is using a form submission. This is a bit of a work-in-progress as far as documentation, but the function works as a simple wrapper of the form submit.
For the last few months I’ve (intermittently) been thinking about how to build a nice PHPSDK for working with external APIs from PHP applications, and Drupal in general.
This post is a sort of round up of my thoughts, hopefully I’ll find time to complete this project so I can post a detailed followup.
Read on for a quick snapshot on why I like Guzzle and how I plan to use it.
Bio in Brief: I spend a lot of time thinking about how to build collaboration tools in Drupal. Before that I noodled about with Java looking at long-term data preservation and geospatial data discovery.