Self-Introduction: Fergus Sullivan
Pankaj K Garg
gargp at acm.org
Fri Aug 31 14:37:53 UTC 2007
On Aug 31, 2007, at 3:56 AM, Jochen Wiedmann wrote:
> On 8/31/07, Gervase Markham <gerv at mozilla.org> wrote:
>
>> The two serve different purposes. Template Toolkit is a server-side
>> templating language. YUI helps enhance the resulting HTML
>> generated by
>> the Template Toolkit without requiring a page reload.
>
> Of course they do serve different purposes. But, particularly in the
> case of AJAX, it is quite common that client side stuff depends on
> server side components as well.
It really doesn't matter, as Gervase said they are server-side vs.
client-side issues. Whichever library we use will require server
side to generate the proper results.
That said, in my experience with YUI, from the server side you should
be able to generate JSON objects as necessary and be able to populate
Javascript code with values from the DB. In both these cases I've
found the Bugzilla's use of Template Toolkit to be very handy and
useful.
Pankaj
--
Pankaj K Garg garg at zeesource.net
1684 Nightingale Avenue 408-373-4027
Suite 201 408-733-2737(fax)
Sunnyvale, CA 94087 http://www.zeesource.net
More information about the developers
mailing list