Standalone Code from the Clay Framework

One of the things I like about my design approach to the Clay Framework is its compatibility. I’ve written a lot of the code so it could easily be transplanted into other projects. The sessions manager is a simple example – I needed a sessions class that supported Creole, but had a hard time finding any examples on the Net. I didn’t know a lot about sessions in PHP, just the basic security and setup stuff. It took almost a week of going back and forth to finally build a small class for PHP sessions and using Creole for the database abstraction. Another example is the Sculpt templating engine I’ve developed – it’s a pure PHP templating engine, very light-weight, and very fast. It can easily be modified to be self-sufficient and released as a standalone templating engine. Sculpt currently depends on 3 functions (if I recall correctly) from another module in Clay.

As Clay progresses I plan to release bits and pieces to the community. I prefer that approach to an alpha release and I think it serves the community better than hoarding the code in the meantime. The training I had to do for work the last 4 months of 2008 threw my release cycle off, so it will still be a little while before Clay is ready for a beta release.

Tags: , , ,

Leave a Comment