There is absolutely no reason to use Prototype.


The Prototype + Scriptaculous javascript framework is junk.


"There is absolutely no reason to use"... Prototype + Scriptaculous

It doesn't work very well, the syntax is terrible, it will break other
javascript on the page just by being included


This is not true, for prototype.js (including "the syntax" wich is as it is
in OO-javaScript...).
I have a working application in which is used prototype.js, tinyMCE.js,
tabber.js (from Patrick Fitzgerald) with Catalyst and TT. Many complex
applications (and widgets) exists, based on prototype.js.

--vb



There is absolutely no reason to use Prototype.
On 7/5/07, Jonathan Rockway <[EMAIL PROTECTED]> wrote:

On Thursday 28 June 2007 07:33:57 am vb wrote:
> > HTML::Prototype is the Matt's Script Archive of javascript.
>
> possible, but don't confuse with " prototype.js".

Same difference.  The Prototype + Scriptaculous javascript framework is
junk.
It doesn't work very well, the syntax is terrible, it will break other
javascript on the page just by being included, and the "cool effects" it
includes aren't even very good.  There is absolutely no reason to use
Prototype.

Mochikit, Dojo, Mootools, Jquery, etc. will treat you much better.  (I
like
Jemplate also, but that's not a "framework" per-se'.)

> A solution: use "prototype.js" as is, and not from HTML::Prototype!

This is the right idea.  Put your javascript in .js files, include those
in
the page, etc.  Catalyst/Perl doesn't need to deal with your Javascript.
Just treat it as static content (the library) or HTML (hooks in the
document).

If you want AJAX stuff, I recommend building a JSON/REST interface with
Catalyst::Action::REST and using one of the above frameworks to talk to
it.
With Jemplate, you can render your TT templates client-side, which is
always
fun.

--
package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do {
$,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //,
";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;

_______________________________________________
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/



_______________________________________________
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