[Phpmyadmin-devel] Re: Templates

Sebastian Mendel lists at sebastianmendel.de
Tue May 30 07:48:11 CEST 2006


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

Garvin Hicking schrieb:
> 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.

much of this redirects are not required with templates anymore, as you
can decide at the end what template will be displayed without redirects!

btw. with a template enigne you have the freedom to make many choices
not at the start - f.e. you don't need to know the 'resulting' table at
the start of the script (for navigation links), the resulting table can
assigned at the very last just before the template is processed


- --
Sebastian Mendel

www.sebastianmendel.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFEfFvjX/0lClpZDr4RAu+5AKCRccHjotyw+kfSYwTdV6BMHhyU6wCfc/nP
7HlQVgeob2y06D6R3rmdJhA=
=jCW0
-----END PGP SIGNATURE-----




More information about the Developers mailing list