Re: [vox-tech] PHP fun!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vox-tech] PHP fun!
- Subject: Re: [vox-tech] PHP fun!
- From: Jay Strauss <jjstrausMAPSs@yahoo.com>
- Date: Thu, 22 Feb 2001 08:39:53 -0800
- References: 200102211940.f1LJeVs02280@sonic.net
I don't remember C very well, but I thought PERL looks a lot like C
I think in order to use Mason you need Mod_perl, Anyone???
The only reason I asked the question, is when I first started using PHP,
I was like "this is
nice but, it seems like a bad copy of perl (from a language perspective
(form, syntax, functionality)),
thats when I went looking for a perl alternative. Found mod_perl, and
just started writing perl (and printing
out my html, as opposed to writing html and embedding my perl). But I
think mason, embperl, asp all let
you do it as HTML with embedded perl (but they make use of the perl
module for apache (mod_perl)), and
give you faster execution and better language capabilities (although I
think there is a mod_php which
I suspect is faster than regular php)
Jay
William Kendrick wrote:
>> Why don't you use mod_perl?
>
>
> (1) I'm still not very familiar with Perl. PHP is qutie C like.
> (One of the mottos is: if you don't know how to do it, try doing it
> like you would in C.)
>
> (2) Henry and/or Eric mentioned at our last meeting that one of the reasons
> something like Perl's HTTP::Mason or PHP are better is because you
> focus on the content and add code to the HTML... rather than creating
> a script and sticking HTML in it.
>
>
> For me, PHP is like SSI on steroids. I love SSIs, but they're only
> _truly_ cool when you use the "exec" directive. That means I need to
> write my functions in shell scripts or compiled C programs. It also means
> that the webserver needs to fork to execute the command.
>
> (I haven't looked into XSSI yet, however... it sounds a bit more versatile)
>
>
> Since I'm focusing on the content, and using PHP as a means to make my
> work easier, it's definitely a much better choice (for me) than Perl.
> (That, and I seem to know PHP better already ;) )
>
> -bill!
>
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
|