On 7/10/07, Jason Kohles <[EMAIL PROTECTED]> wrote:
On Jul 10, 2007, at 12:35 PM, John Wang wrote: > I think one reason prototype keeps coming up is because > HTML::Prototype exists and is the only wrapper providing Perl > access to JS effects. HTML::Prototype doesn't seem to have a lot of > functionality in it but it can get some small things going fast. If > a HTML::$other_js_lib was created, especially with the same API, > Prototype usage would probably stop. A HTML::JQuery might be > useful. Just a thought. > http://search.cpan.org/~peterg/JQuery-1.06/ http://search.cpan.org/~cfranks/HTML-Dojo-0.0403.0/ http://search.cpan.org/~bct/CGI-Ajax-0.701/
I haven't used any of these but from looking at the POD, I think HTML::Prototype may be the most attractive to new users. In JQuery, the following seems strange to me and not like conventional Perl style that I've seen. Should this style of coding be recommended? my $clickmenu = JQuery::ClickMenu->new( remoteProgram => '/cgi-bin/jquery_clickmenu_results.pl' ... HTML::Dojo seems to just load the js includes for you. I don't it lets you access any of the effects through Perl. CGI::Ajax doesn't say whether it's built off a JS lib or not but I'm guessing it's not. Because of the above, I think HTML::Prototype is probably the best Perl option of the four. Just my two cents from reading the POD. -- John Wang http://www.dev411.com/blog/
_______________________________________________ List: [email protected] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
