Mannfred Count of Sylvania: Part 1

Welcome to part one of my Mannfred Count of Sylvania painting log.

Mannfred With Pinned Feet

I prepared Mannfred for priming by removing mold lines and flash using a selection of needle files, sandpaper, and iron wool. I removed the slotta tab and pinned his feet using a pin vice and pieces of a paper clip.

Mannfred's Base (Unpainted)

Mannfred’s base, seen here unpainted, consists of a 30mm Dark Age base, a bit of cork tile, Woodland Scenics fine gray talus, and a sprinkling of Games Workshop modeling sand. Holes were drilled to accommodated the pins in Mannfred’s feet.

Mannfred (Primed)

Mannfred’s pinned feet were inserted into a mount that I made from a cork and a piece of foam core. He was primed using Citadel Color Skull White primer.

Mannfred’s Base (Primed)

Finally, Mannfred’s base was primed using Citadel Color Chaos Black primer.

Posted in Miniatures | Tagged , , , , , , | Leave a comment

Creating Assets Using Web Services for Cascade and Zend SOAP Client

As a follow up to the article Hannon Hill’s Web Services PHP Sample Project Using Zend SOAP Client, here is a sample project demonstrating how to create folder and page assets using web services for Hannon Hill’s Cascade CMS and Zend SOAP Client. This project is based, in part, on Hannon Hill’s Web Services Database Migration demo.

Continue reading

Posted in Programming | Tagged , , , , , , | Leave a comment

Mannfred Count of Sylvania: Part 0

Unassembled Mannfred Miniature

Welcome to my painting log for Mannfred Count of Sylvania. I just picked up Mannfred from my local gaming/hobby store. This is my first attempt at painting a miniature in nearly two years. To make things easier on myself, I am going to follow the Count Mannfred Masterclass article from the May 2008 issue of White Dwarf magazine. I will be using mostly Games Workshop Citadel Color Vallejo Model Color paints. Please check back often for updates.

Continue to Part 1.

Posted in Miniatures | Tagged , , , , , , | Leave a comment

An Inexpensive Light Tent

An Inexpensive Light Tent

This is a light tent I constructed for taking pictures of my miniatures. It is made from an old cardboard box, bristol board, and muslin. The light is a Tensor 15W (75W equivalent) Natural Daylight bulb.

Instructions for constructing this light tent can be found here.

Posted in Miniatures | Tagged | Leave a comment

Social Plugin for WordPress 1.2.0 Available

I am pleased to announce that the Zolton.org Social Plugin for WordPress v1.2.0 is now available for download via the WordPress Plugin Directory.

The Zolton.org Social Plugin is a simple plugin for WordPress that integrates a blog with popular social networking sites such as Facebook and Twitter.

New Features

  • Social buttons no longer appear on posts and pages that have comments disabled.
  • Added the option to include the Facebook Send button along with the Facebook Like button.
  • Added an option to hide the WordPress comments form.

For more information, visit the official project page or the WordPress plugin page.

Posted in Programming | Tagged , , , | Leave a comment

Hannon Hill’s Web Services PHP Sample Project Using Zend SOAP Client

The following code is a re-creation of Hannon Hill’s “Web Services PHP Sample Project” using Zend SOAP Client. I re-created this project as a learning exercise for a project I am working on for my employer. Although most of the code is similar, it is not a cut-and-paste or the original project.

Note lines 39 and 40. I had to unset these lest I receive an error when sending an edit request to an asset. I’m not sure why this is the case. Clarification is welcome.

It appears it is no longer necessary to unset the elements specified on lines 39 and 40 in the latest version of Cascade (6.8.3 as of this update).

<?php

/* A re-creation of Hannon Hill's Web Services PHP Sample Project
 * using Zend SOAP Client.
 *
 * Author: Mark Zolton (mark@zolton.org)
 * Website: http://www.zolton.org
 *
 * Original Project:
 * https://github.com/hannonhill/Webservices-PHP-Sample-Project
 *
 * Zend SOAP Client:
 * http://framework.zend.com/manual/en/zend.soap.client.html
 */

require_once 'web_services_util.php';
require_once 'Zend/Loader.php';
Zend_Loader::loadClass('Zend_Soap_Client');
Zend_Loader::loadClass('Zend_Debug');

$url = 'http://localhost:8080/ws/services/AssetOperationService?wsdl';
$auth = array('username' => 'admin', 'password' => 'admin');
$id = array('type' => 'page', 'id' => '8e8535540a63e2190189a406c0805cdb');

$client = new Zend_Soap_Client($url,  array('compression' => SOAP_COMPRESSION_ACCEPT));

$params = array('authentication' => $auth, 'identifier' => $id);
$reply = $client->read($params);

if($reply->readReturn->success == true)
{
	$page = (array) $reply->readReturn->asset->page;

	Zend_Debug::dump($page);
	Zend_Debug::dump($page['metadata']->title);

	$page['metadata']->title = date('l dS \of F Y h:i:s A');

	unset($page['entityType']);
	unset($page['pageConfigurations']);

	$params = array('authentication' => $auth, 'asset' => array('page' => $page));

	try
	{
		$reply = $client->edit($params);
	}
	catch(Exception $e)
	{
		echo 'Exception: ' . $e->getMessage();
	}

	$result = $client->getLastResponse();

	if(!isSuccess($result))
	{
		echo 'Error occured: ' . extractMessage($result);
	}
	else
	{
		Zend_Debug::dump($page['metadata']->title);

		echo 'Asset updated successfully.';
	}
}
else
{
	echo 'A problem occured.';
}

?>

I have to give credit to my colleague for working with me on this exercise. I would state his name, but I’m not in the habit of mixing my personal site with my job.

You may also be interested in the article Creating Folder and Page Assets Using Web Services for Cascade and Zend SOAP Client.

Posted in Programming | Tagged , , , , , , | Leave a comment