i may be the exception, but i have no hesitation in using perl (or other templating languages) to generate html, javascript, css, or even more perl.

it may be harder to debug, but the productivity gains are worth it.

i think RoR's rjs stuff is really keen, too.

On Jul 10, 2007, at 10:08 AM, Daniel McBrearty wrote:

It's been said by others but I really prefer to do all
this in my templates.  It would be easy to have this
in a Template Toolkit plugin if you wanted, but I
can't see the value of basically using perl as a code
generator for Javascript.  I prefer to be closer to

my sentiments exactly. Even if your perl is way better than your js,
it's harder to debug js wrapped in perl than straight js. You usually
have to face the underlying library sooner or later.

--
Daniel McBrearty


_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to