short answers follows
Mazen S. Alzogbi wrote:
Hi, I am totally new to the LAMP world and I am trying to find my way. I am a web solutions architect using Microsoft .NET, hence, I know how web servers work, etc. etc.
I am just confused between mod_perl and Perl. My target is to be able to write enterprise web-based solutions using LAMP or Perl. TO be quite honest, I prefer writing in Perl (I am still a Perl newbie). This bring me to a set of very important questions: 1. Do I have to learn Perl first before looking at mod_perl?
yes, definitely. the code you write will be perl. in that respect you dont need to learn another language [apart from perl]
2. Do I have to learn Apache httpd before looking at mod_perl?
that will certainly help if you write your own mod_perl handlers - but there are many aspects of mod_perl. for instance you can run plain old perl/cgi scripts with minor or no change that are still running faster because they run in a mod_perl environment - to do that you probably wouldn't worry too much about the httpd. if you start to write your own handlers you will begin to at least learn the apache httpd.conf file to know.
3. Is mod_perl a scripting lang or is it like ISAPI for IIS of Microsoft?
mod_perl is basically an embedded perl interpreter into the apache web server - it's not a scripting language. one advantage of the embedded interpreter is that you dont have to start a new expensive interpreter for every single request in your web application
please read the frontpage at http://perl.apache.org/
basically i recommend to read the information at above mentioned site - mod_perl is IMO probably one of the best documented internet technologies.
hth ./allan
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html