You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jim Cox <ji...@jimco-fwt.com> on 2001/05/07 09:44:13 UTC

Re: embperl


This will sould like sour grapes,..... But!

Since PHP module compiles,... and Mod_Perl will not on AIX with 
gcc compiler....

I'm thinkin' PHP is getting better and better all the time.

iain truskett wrote:
> 
> * Diego V (massakre72@hotmail.com) [07 Sep 2001 06:59]:
> 
> [...]
> > Just wanted to ask to any embperl user, is there any real advantage
> > about using embperl instead of PHP ?
> 
> You get the advantage of using Perl rather than PHP.
> 
> This includes the vast resources of CPAN.
> 
> Personally, I recommend Mason <http://www.masonhq.com/> over Embperl
> simply because I prefer the way it integrates into HTML.
> 
> Investigate both =)
> 
> I've done reasonably sized projects with both and find Mason cleaner
> (mostly in its handling of scope and the way it doesn't use all those [-
> [+ [# [$ [* etc. tags and instead just has <%, <%init and other wordy
> ones: easier to remember =). )
> 
> cheers,
> --
> iain.                                          <http://eh.org/~koschei/>
>     "The only disadvantage I see is that it would force everyone to get
>      Perl. Horrors. :-)" --Larry Wall in <88...@jpl-devvax.JPL.NASA.GOV>

-- 
Jim Cox (mailto:jim@jimco-fwt.com) 
(817) 315-8134           (888) 834-7656 Toll Free
(817) 315-8253 FAX
(817) 233-8567 Mobile

Re: embperl

Posted by iain truskett <ic...@koschei.8m.com>.
* Jim Cox (jim@jimco-fwt.com) [07 Sep 2001 08:03]:

> This will sould like sour grapes,..... But!

> Since PHP module compiles,... and Mod_Perl will not on AIX with gcc
> compiler....

> I'm thinkin' PHP is getting better and better all the time.

It's all a case of "use what works" =)

There's something peculiar with one of my Apaches in that it refuses to
use DSOs. And I've got mod_perl happily compiled into it.

On my home site, the admin of the machine has PHP installed but not
mod_perl.

At work, I haven't been able to convince the sysadmin to install either.
And if I do, he's more likely to go for PHP since it's less likely to
require many configuration changes. mod_perl can attach modules to any
part of a request/response phase and thus can be configured somewhat
complexly.

PHP is just a content handler, right?

mod_perl is an everything handler: content, headers, logging, URI
translation, etc. etc. It's more powerful. As far as I know, there's
nothing PHP can do that mod_perl can't.

Well, apart from compile on AIX with gcc =)


cheers,
-- 
iain.                                          <http://eh.org/~koschei/>

Re: embperl

Posted by Jim Cox <ji...@jimco-fwt.com>.
Well,... Now that makes some sense. I'll try that.


Thanks.

Jens-Uwe Mager wrote:
> 
> On Mon, May 07, 2001 at 02:44:13AM -0500, Jim Cox wrote:
> >
> >
> > This will sould like sour grapes,..... But!
> >
> > Since PHP module compiles,... and Mod_Perl will not on AIX with
> > gcc compiler....
> 
> As far as I have heard mod_perl will compile using gcc, only you must
> first compile your perl with gcc. As mod_perl picks up the compiler
> settings from the perl installation you must first compile perl with the
> proper compiler. But IBM does ship perl compiled using their compiler,
> so if you are lazy and do not recompile perl you are hosed.

I'm not the lazy type,.... just did not realize that.  I'm not using
the IBM perl distribution and I thought it was compiled with gcc,... but
I will check that.

> 
> --
> Jens-Uwe Mager
> 
> HELIOS Software GmbH
> Steinriede 3
> 30827 Garbsen
> Germany
> 
> Phone:          +49 5131 709320
> FAX:            +49 5131 709325
> Internet:       jum@helios.de

-- 
Jim Cox (mailto:jim@jimco-fwt.com) 
(817) 315-8134           (888) 834-7656 Toll Free
(817) 315-8253 FAX
(817) 233-8567 Mobile

Re: embperl

Posted by Jens-Uwe Mager <ju...@helios.de>.
On Mon, May 07, 2001 at 02:44:13AM -0500, Jim Cox wrote:
> 
> 
> This will sould like sour grapes,..... But!
> 
> Since PHP module compiles,... and Mod_Perl will not on AIX with 
> gcc compiler....

As far as I have heard mod_perl will compile using gcc, only you must
first compile your perl with gcc. As mod_perl picks up the compiler
settings from the perl installation you must first compile perl with the
proper compiler. But IBM does ship perl compiled using their compiler,
so if you are lazy and do not recompile perl you are hosed.

-- 
Jens-Uwe Mager

HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Germany

Phone:		+49 5131 709320
FAX:		+49 5131 709325
Internet:	jum@helios.de