Strategies for Managing Dynamic Content
Using TinybutStrong Template Engine and ezSQL Database Class


NEWEST   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!
See the TBS Template source and the PHP code source for your viewing pleasure

new   Lineage-based Menu Tree makes sorting fast   new
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

TBS Calendar using database   v.2.3
See TBS source and HTML template
Forms: event_admin.php -- event_admin.html -- event_new.html
tinyCMS - a lightweight Content Management System
Includes database-driven content, browser-based page editing, autogenerated thumbnails of uploaded images, automatic menus, multiple page styles, access controlled administration.
Converting PHP/Mysql MyContacts legacy application
to a TBS template driven application
MyInventoryDemo
A complex legacy app converted to TBS template in 90 minutes

Basic caching model (1) -- shows infrequently changing page elements like a sidebar menu included-script being cached independently Caching model (2) --creating globally reusable disk cache for each database cached-queries
Caching model (3) --individual cross-table or sub-query templates being cached cached-sub-pages example Caching model (4) --script creates cached object --subsequent clicks query the cached-db-object example

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.5.3

ezSQL v2.05