> DM> Hello All,
> DM>         We have a server running in a Linux machine, now we would like
to
> DM> present the data in a browser using HTML interface. Can anyone suggest
me
> DM> which is the best one (CGI or PHP or modperl) to develop for web
> DM> programming and also their advantages and differences to choose them
as
> DM> the best

Depends on your requirements, which are not very clearly stated.

Here's my head-up:

  CGI - simple, slow, I wouldn't recommend under any circumstances

  PHP4 - simple, fast, easy to learn, not as fully featured language as
Perl.
         easy to install, cookies, sessions etc all easy out-of-the box.
         only for dynamic web pages - dont use it for data processing.
         easy to share one Apache server, multiple developers

  MOD_PERL - complex, fast, difficult to master for non-Perl programmers.
         lots of folks have problems installing /building - try yourself.
         Perl is a more fully-featured language, more general purpose
         can share web / data-processing classes and code

We use PHP for complex interactive websites. We use Perl for
data-processing. We plan on building our next generation ASP websites using
mod_perl so that we can share code/classes between data-processing and the
interactive sites. We have build a suite of system admin tools using
mod_perl - this was much harder than the PHP development, but we are pleased
with the results.

You should join the PHP lists and compare the questions with those asked
here - gives you an idea about some of the differences in the communities.
Also consider the number of PHP4 v MOD_PERL development resources available.

> From: "Lee Goddard"
>
> mod_perl, obviously: you posted to a mod_perl users' list.
> You might wish to have a look at the case-studies pages of
> http://perl.apache.org, as well as http://www.perl.org.
> As for PHP, it's not perl, so forget it :)

Sometimes you just need a toothpick, rather than a swiss-army chainsaw! 8-)

my $0.02

Regards
Jeff

Reply via email to