Strategies for Managing Dynamic Content
using the TinybutStrong template engine with an appropriate database class


NEWEST   Caching merged templates TBS templates are used as subtemplates instead of subscripts by merging them and caching them as separate files. Those 'merged' files are then available to any and all pages throughout the site. Love it!
New   Native Debug Console in TbsSQL Great stuff from Skrol29! He has added a Console to the already impressive Trace and Cache features of v3.0, and now he adds query results as an object for those who need that feature, wow!

My tinyCMS - a lightweight Content Management System
Includes database-driven content, browser-based page editing, autogenerated thumbnails of images, automatic menus, multiple page styles, page administration.
TBS Calendar using database   v.2.3
See TBS source and HTML template
Forms: event_admin.php -- event_admin.html -- event_new.html
Converting PHP/Mysql MyContacts legacy application
to a TBS template driven application
MyInventoryDemo
A complex legacy app converted to TBS template in 90 minutes
Lineage-based Menu Tree
Makes sorting blindingly fast.   And a Bulleted version for the die-hards.   A simple system for determining the lineage of each menu item, so you can build the hierarchical menu tree in a single pass! No more db recursion or sub-queries!
Source: demo.php, demo.tpl, add/edit, rebuild, bulleted
Processing XML data as objects using TBS   For processing blocks - just as if the XML was a db query result I am using an XML/RSS parser from Keith Devans to build the XML data object. But you could just as well be processing any XML.
Read single RSS feed PHP source template source
Read multiple RSS feeds PHP source template source
Caching db queries --creating globally reusable disk cache for each database cached-queries Querying a cached object --script creates cached object and subsequent clicks query the cached-db-object
A two-part tip for Efficient Paging in large datasets.
The simplcity of using native MySQL with TBS navbar_plugin\
Function automatically Cloaking Email Address from your database.
Template source and the PHP code source for your pleasure.


TBS v3.7.0
TBS Home
TbsSQL v3.2 for MySQL-extended32a
Return to TomHenry.us