[Phpmyadmin-devel] Re: Templates

Garvin Hicking phpmyadmin at supergarv.de
Tue May 30 07:29:01 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

>> at first step we could just catch the output into a variable and put it into
>> the 'main'-template (just an empty template with only html-headers and body on
>> it, just the things that are common on every page)
>>
>> i moved an entire live system into templates with this practice.

This would be the easiest solution, and will carry through code. However it
might create trouble to have many conditional issues and variables in the
template compared to when redone from scratch with a clear concept. I am
especially speaking of all the conditional JavaScript/HTML/PHP redirects and
output messages which will be harder to implement.

Stuff like templating the "Create Table" or "Browse" dialog would actually be
the easiest part of it. I could offer to volunteer porting the "Browse" section
to Smarty once the framework is there.

Best regards,
Garvin

- --
++ Garvin Hicking | Web-Entwickler [PHP]    | www.garv.in | ICQ 21392242
++ Developer of   | www.phpMyAdmin.net      | www.s9y.org

++ Make me happy  | http://wishes.garv.in

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFEfFdfUZolOPYrUhYRAgMIAJ45oziUUGT3dnABTxe2b6gdx3peVQCfaBq9
zM72eQapKkm7sCAh7tnxkrk=
=AAvZ
-----END PGP SIGNATURE-----





More information about the Developers mailing list