Could anybody tell me the advantages of mod_perl comparing it with php. Well i am interested in perl but my management wants a clear explanation.
-- Nasar
Thomas Klausner wrote:
Hi!
On Mon, Dec 15, 2003 at 04:16:28PM +0530, nasar.sherieff wrote:
Thanks. my doubt is can't I understand modperl after just learning a documentation on cgi. It will safe my time to directly going to modperl. how will you justify this.
Developming mod_perl applications is quite different from plain old CGI stuff, so you cannot really take your CGI-knowledge and us it as-is to do mod_perl stuff (cf: http://perl.apache.org/docs/1.0/guide/porting.html for a short list of common pitfalls). mod_perl also provides more interesting features than CGI (access to the Apache API, Auth stuff etc)
IMO, while it a basic understanding of CGI helps you when starting mod_perl (especially the non-persistent nature of http), it is not strictly needed.
IMO, you should grab some good books http://perl.apache.org/docs/offsite/books.html (especially "Writing Apache Modules with Perl and C" provides some rather good general introduction to Web Development) and read them.
-- Regards, A. Nasar Sherieff
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html