[Typo3-dev] ['ctrl']['label'] generated by a function?

Karsten Dambekalns k.dambekalns at fishfarm.de
Fri Jul 2 12:11:13 CEST 2004


Hi,

On 2004-07-02, Martin T. Kutschker <Martin-no5pam-Kutschker at blackbox.n0spam.net> wrote:
> Juergen Egeling wrote:
>> what about letting MySQL doing the job?

BAD IDEA!

> Typo3 is heading for DBAL. Date functions have the nasty habit of being 
> database specific.

Right.

*All* date and time fields are plain integers, that store the time in
unix format. This is a Goot Thing, and won't change, especially now
that DBAL is near (or already there, depending on point of view).

PHP has functions that deal with date conversion, and if need be, we
could even use advanced 'rebuilds' of those, that deal with dates
before 1970 (e.g. ADOdb has those, they could be used on their own).

But NEVER switch to using MySQL-specific functions, if you intend to
ever share your development using the TER or want to patch the core.

Thanks for listening :)

Karsten




More information about the TYPO3-dev mailing list