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


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 by TBS just as if it were a db query
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

new   Application TBS Calendar   v.2.3   new
See TBS source and HTML template
Forms: event_admin.php -- event_admin.html -- event_new.html
new Lightweight Content Management System with TBS/ezSQL new
Includes example of browser-based page editing
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.1

ezSQL v2.04