From: "Jim Green" <student.northwest...@gmail.com>
> Hello,
> I wrote simple cgi scripts before but want to go further, I want to
> learn a little bit systematic web programming, I found catalyst and
> ORMs, do you guys think with those I don't need to learn javascript,
> ajax etc?


Catalyst is a web framework that help you to do very many things automaticly 
without needing to write Perl code, but most of the things you will do in a 
Catalyst-based app are done by other Perl modules that you can get from CPAN.

Catalyst can do the authentication, authorization, UTF-8 encoding, caching, 
generate JSON data, ease the use of templating systems like Template-Toolkit, 
use of different ORMS like DBIx::Class, or form processors like HTML::FormFu. 
It can also help you to use javascript (just search for "Catalyst javascript" 
on search.cpan.org).
But Catalyst it can do very many other things.

Passing from simple CGI scripts to use of Catalyst is a very good idea and 
Catalyst is not hard to learn, but it may be harder to learn to use other 
modules which are recommended to be used nowadays.

In order to understand better what you will see in the Catalyst books and 
tutorials, it might be helpful to learn a little other modules before. For 
example: DBIx::Class, Template-Toolkit, HTML::FormFu. If you are also 
interested in using javascript in your apps, you may be interested in using 
REST and JSON.

There are Perl modules on CPAN that can help you to have the javascript code 
wrote automaticly by those modules, but they are not recommended because it is 
better to learn how to use some javascript libs like jQuery, ExtJS, YUI, DOJO 
and so on.
Those JS libs are better maintained and improved and they offer a bigger 
flexibility.

But it is not compulsory to use javascript in your Catalyst apps. Catalyst is 
just a thin glue that let you use easier other modules from CPAN. It is not a 
CMS that generates javascript code for you, and even though it can let you use 
other Perl modules that do this, as I said, it is not recommended to do it if 
you care about maintaining and improving the apps for a long term.


Octavian


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to