Archive for August, 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.

New Calendar Releases

August 22nd, 2006

I packaged up some new releases for the UNL Calendar system today.

The system now supports output caching for the frontend event views which greatly enhances performance.

There are some other important fixes and updates to the backend, manager, and frontend… get the latest from http://pear.unl.edu/.
* unl/UNL_UCBCN-0.2.5
* unl/UNL_UCBCN_Manager-0.2.5
* unl/UNL_UCBCN_Frontend-0.2.5

The packages provide an entire web-based calendaring system for a university, and this is the code running UNL’s calendar at http://events.unl.edu/.
Get ‘em while they’re hot.

Utah State University

August 7th, 2006

I was browsing around looking at the various University Event/Calendar websites for comparison and I stumbled across Utah State’s website.

Utah State has a very well thought out website with consistency presented throughout. All the way down to the xhtml and css compliant code the site works very well and has a nice design edge.

Their search page contains a comprehensive set of tools to find whatever you’re looking for, and seamless integration with Google University/Public Service Search.

We’ll be rolling out the new UNL design in a week or so, but it’s nice to see other universities trying to elevate their web presence and putting resources toward this growing medium.

Bravo Utah State… you impressed me.

Theo’s Reason #5

August 5th, 2006

Theo Schlossnagle’s “Six Reasons PHP Sucks” slides from OSCON have been making their way around the Internet.. without hearing any audio it’s hard to give a good understanding of his tone, but #5 was specifically about PEAR… :-)

PEAR
Allows PHP to exposé what are perhaps the worst most dysfunctional and retarded code… in an easily downloadable/installable form.

What I find funny is that you could easily substitute Microsoft&Windows MSI/CPAN/any other easy install platform in there.

The code is what you make of it of course. Open source and sharing is what it’s all about… you wouldn’t re-invent the wheel when you have one that just needs air, would you?
Funny stuff.