Archive for August 27th, 2006

First Release of Salty_Savant_OutputControl

August 27th, 2006

Today I released 0.0.1 of a Savant template output controller I’ve been experimenting with.

It’s a simple package which automatically correlates objects with their Savant templates.

The paradigm I’m using is to build everything into an object with member variables for the changing/dynamic content. With this, each object has a corresponding template which will output the member variables. The Salty_Savant_OutputControl package automatically populates the Savant templates before they are sent to the client.
It also handles arrays of objects or strings, and even supports optional template output caching with Cache_Lite. Relatively few lines of code, but they really help out when you have 30 DB_DataObjects and want templates for each object to quickly work, and play nice with one another.

I think of this package as the quick bridge between your disparate logic and presentation.

I’ve included a simple example in the package, and I’d be interested in any feedback people have – whether I should have used a Savant plugin, if this is a good idea or bad, etc.

At any rate, I think it’s useful.

Check it out:
Salty_Savant_OutputControl

PEAR Channel Server Now Operational

August 27th, 2006

My personal PEAR channel server has just been set up at http://pear.saltybeagle.com/.

The first task was a rewrite of the Chiara_PEAR_Server post-install scripts to use MDB2_Schema, and some other small changes to get things running.

This is the second channel server I’ll be managing, and this one will be the personal companion to my work PEAR Channel Server http://pear.unl.edu/.
I’ll use this to put out small simple packages I frequently use at home, as well as testing for my help on the Chiara PEAR Channel Server.

Yea for PEAR Channels.