Categories > TinyButStrong general >

Can clsTbsDataSource be Deleted?

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Maz
Date: 2005-08-09
Time: 11:56

Can clsTbsDataSource be Deleted?

I use the ezsql class exclusively for all my database interaction. Given that, is is possible to delete the clsTbsDataSource class, or is that required eslewhere?
By: Skrol29
Date: 2005-08-09
Time: 12:17

Re: Can clsTbsDataSource be Deleted?

Hi,

clsTbsDataSource is used for any data source type, even Php Arrays.
This class recognizes the data source type and performes fetch on each requiered rows.

Deleting native data support won't save significant time execution because all data retrieving is on the same shape (Ive made some bench already). But if you want to do so, each specification is coded on methodes  DataPrepare(), DataOpen(), DataFetch() and DataClose().
By: Maz
Date: 2005-08-09
Time: 12:56

Re: Can clsTbsDataSource be Deleted?

Ah, thanks, Skrol. That makes perfect sense. I'll leave it as is in that case.

Thanks for the great support as always.