[Catalyst] html::prototype syntax in new Cat version

John Napiorkowski jjn1056 at yahoo.com
Tue Jul 10 20:37:16 GMT 2007


--- Daniel McBrearty <danielmcbrearty at gmail.com>
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.

In the case of toolkits like jquery or YUI, what you
end up with is a perl code generator that build JS
which is using another JS layer library to smooth over
browser compatibility issues...

--john

> 
> -- 
> Daniel McBrearty
> email : danielmcbrearty at gmail.com
> http://www.engoi.com
> http://danmcb.vox.com
> http://danmcb.blogger.com
> find me on linkedin and facebook
> BTW : 0873928131
> 
> _______________________________________________
> List: Catalyst at 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/
> 



 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 



More information about the Catalyst mailing list