Re: Where do I start?
From: zentara (zentara_at_highstream.net)
Date: 02/14/05
- Previous message: Basile Starynkevitch [news]: "Re: C: Getting all filenames and attributes from a 'pattern'"
- In reply to: annesville_at_hotmail.com: "Re: Where do I start?"
- Next in thread: Dave Cook: "Re: Where do I start?"
- Reply: Dave Cook: "Re: Where do I start?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 14 Feb 2005 07:54:34 -0500
On 13 Feb 2005 22:10:39 -0800, annesville@hotmail.com wrote:
>Thanks for the friendly reception to someone from another planet!
Another dimension. :-)
>With either Python or Perl, would I be expected to use it in
>conjunction with PHP or CGI or ??? to implement a web interface? Also,
>any suggestions on whether to consider the Boa web server, or to use
>Apache? I understand that Boa is single-threaded which may make for a
>simpler implementation, considering the limited expected load.
Perl has alot of modules to support html and cgi. Go to http://cpan.org
and look through the modules. Of course the top dog in Perl-cgi is
mod_perl, which is about as good as you get. The mod_perl website has
a great tutorial. http://perl.apache.org/
But you don't need mod_perl to do plain cgi, it is designed for fast,
big, heavy-load websites. Regular cgi with Perl is very simple. For a
quick introduction go to google and search for "perl cgi tutorial".
>And again, not to start a family fight, but could some please drop me
>some pointers on (main) the differences between Python an Perl so that
>I can get a better grasp of what I am working with. (I do suppose that
>a google search would give me a week's worth of reading on this!)
First the one thing I don't like about Python, is that it uses
indentation as part of the code. That means hidden tabs or spaces can
make your code unrunable. I can't handle invisible code. On the other
hand, Perl use braces and brackets, {} [] instead, which can blow your
mind when you are beginning. So you really should try both, and see
what you like best.
Also to understand the difference between the Two, you need to know what
object-oriented programming is. Python tends more toward the
object approach. Perl can use the object approach very well, but can
also be plain old functional programming.
This has been discussed to great depth, so it would be best for you
to go to http://groups.google.gom and search for "Python vs. Perl".
By the way, the future versions of both Perl and Python, will be based
on the developing Parrot engine, and you will be able to use Python
code from Perl, and vice-versa.
Goodluck.
-- I'm not really a human, but I play one on earth. http://zentara.net/japh.html
- Previous message: Basile Starynkevitch [news]: "Re: C: Getting all filenames and attributes from a 'pattern'"
- In reply to: annesville_at_hotmail.com: "Re: Where do I start?"
- Next in thread: Dave Cook: "Re: Where do I start?"
- Reply: Dave Cook: "Re: Where do I start?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|