Categories > TinyButStrong general >

Debug Console (again ;-) using TBS+ezsql

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Tom
Date: 2006-01-05
Time: 02:41

Debug Console (again ;-) using TBS+ezsql

<OT - but for TBS+ezsql users>
As mentioned previously, I have been trying to add a "Debug Console"
(a la Smarty - but am not clever enough to do it the Smarty way ;-(

I have done some work on this using ezsql
The first step was to add an onLoad Javascript popup window which would be used to accept the debug output from the TBS template engine

The second step was to slightly modify the debug and dump functions so that they deliver a $result_var that could then be delivered to the popup window.

Now I have this working - in a small fashion, please
see http://tomhenry.us/tbs/debugconsole/
(the scripts code is there also)

What I want, as an enhancement, is to use ezsql debug_all flag
to replace having to code debug for each query in script as currently needs to be done.

I do not understand PHP-OOP so that I can implement this.

If there are any ezsql users to help me on this it would be appreciated
By: Skrol29
Date: 2006-01-09
Time: 16:24

Re: Debug Console (again ;-) using TBS+ezsql

Sorry, I don't know ezSql enought to help on this.