Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

PHP or mod_perl

Name: Anonymous 2008-01-02 22:58

Which one should I use for my websites? I'm not worried about difficultly, just power and performance.

Name: Anonymous 2008-01-02 22:59

Sounds like you want assembly.

Name: Anonymous 2008-01-02 23:12

Could you post the link to mod_asm?</sarcasm>

Name: Anonymous 2008-01-02 23:23

Name: Anonymous 2008-01-02 23:26

>>4
></sarcasm>

Name: Anonymous 2008-01-03 0:51

>>3,5
Syntax error: unexpected closing tag </sarcasm>. Expected </p>.

Name: Anonymous 2008-01-03 3:15

fastcgi

Name: Anonymous 2008-01-03 4:01

>>7
fastercgi

Name: Anonymous 2008-01-03 4:45

ruby on rails.

but if those are your only two choices, mod_perl. or fcgi.

Name: Anonymous 2008-01-03 4:47

>>9
RAILS IZ A GHETTO

Name: Anonymous 2008-01-03 5:51

SON OF BITCH ZED SHAW
ZED IS PIG
DO YOU WANT PROFANITY?
DO YOU WANT PYTHON?
ZED IS PIG DISGUSTING
MONGREL IS A MURDERER

Name: Anonymous 2008-01-03 5:56

lol zed lol

Name: Anonymous 2008-01-03 6:00

>>9
MOAR LIEK RUBY ON FAILS AMIRITE

Name: Anonymous 2008-01-03 6:15

Assembly is superior for CGI scripts.

Name: Anonymous 2008-01-05 20:08

PHP is awesome, I use it for everything.

Name: Anonymous 2008-01-05 20:10

>>15
PHP is a kiddie programming language :)

Name: Anonymous 2008-01-05 20:14

>>16
:)

Name: Anonymous 2008-01-05 20:14

http://tnx.nl/php should help you choose.

Name: Anonymous 2008-01-05 20:21

>>15
One word: REGISTER GLOBALS
I can has magic_quotes_gpc ?
I can has safe_mode ?

PHP is a sinking ship.

Name: Anonymous 2008-01-05 20:24

>Wall's Christian faith has influenced some of the terminology of Perl, such as the name itself, a biblical reference to the "Pearl of great price" (Matthew 13:46). [1] Similar references are the function name bless, and the organization of Perl 6 design documents with categories such as apocalypse and exegesis. Wall has also alluded to his faith when he has spoken at conferences, including a rather straightforward statement of his beliefs at the August, 1997 Perl Conference and a discussion of Pilgrim's Progress at the YAPC (Yet Another Perl Conference) in June, 2000.

Why I'm boycotting Perl.

Name: Anonymous 2008-01-05 20:57

>>19
Psst. You can turn that shit off.

PHP aims to be useable by even the very ignorant, which is why those options exist (and are often turned on by retarded shared webhosts). Anyone who knows what he's doing is expected to configure his own installation.

Name: Anonymous 2008-01-05 21:03

>>21
PHP aims to be useable by even the very ignorant
And that's the reason it's only used by them.

Name: Anonymous 2008-01-05 21:10

>>22
>And that's the reason it's only used by them.
QFT.

>>21
>Psst. You can turn that shit off.
Sometimes you have to deploy on a box that you don't admin. Either way you still have to litter your code with
 
if(get_magic_quotes_gpc()){
    stripslashes($var)
}

and other bullshit hacks to even get a working application. PHP is a horribly broken language.

Name: Anonymous 2008-01-05 21:11

>>21
This also causes huge headaches for anyone who tries to develop software written in PHP. The fact that the language behaves completely differently based on the configuration choices made by the system admin is ridiculous.

Name: Anonymous 2008-01-06 3:21

>>20
Are you going to boycott computers because Turing was gay?

Name: Anonymous 2008-01-06 4:13

>>25
No, I'm totally cool with gay people.

In fact, I am gay.

In fact, disregard >>20, I suck cocks.

Name: Anonymous 2008-01-06 6:04

i usually try to use perl for server scripts and php for web stuff, because php is so simple, but look at how much php is updated compared to perl, with php you have to MAINTAIN the fucking interpreter once a fucking week

perl never gets updated, yet it has everything you could want, i'm doing more and more in perl, but i have problems with mod_perl, it's weird to me, takes some getting used to for perl programmers, i'm using mod_cgi so far with a cgisock

Name: Anonymous 2008-01-06 6:16

>>27
Perl does get updated. Perl just got a lots of new goodies less than a month ago, take a look at the new features here: http://www.slideshare.net/rjbs/perl-510-for-people-who-arent-totally-insane

The Perl guys are just sane enough to stay backward compatible.

Name: Anonymous 2008-01-06 6:50

>>23
ini_set

>>24
It's really only a problem (and not even a very big one) if you try to develop software that works exactly the same on every given configuration, which you almost never will be.

PHP has some problems, but the fact that it's configurable to such an extent isn't one of them.

Name: Anonymous 2008-01-06 9:48

>>29
ini_set
An EXPERT QUALITY tip! Just as expected from a PHP PROGRAMMER.

Your code is already running and $_REQUEST is already populated with data.

Name: Anonymous 2008-01-06 11:25

>>29
>ini_set

HAHA OH WOW.

Name: Anonymous 2008-01-06 11:26

>>28

o new built-in say
o it's like print
o but it adds a newline for you


AWESOME

Name: Anonymous 2008-01-06 12:17

say "valid perl code";

Name: Anonymous 2008-01-06 12:32

VALID PERL COD

Name: Anonymous 2008-01-06 18:46

>>32
now I can 'say for @_' rather than 'print "$_\n" for @_'. It's awesome.

Name: Anonymous 2008-01-06 19:17

>>35
$\="\n";print for @_

Name: Anonymous 2008-01-06 22:21

mod_perl duh lol.

Name: Anonymous 2008-01-07 1:31

In that class I'd choose mod_python any day. You should find that the power and performance compares favorably, and as a bonus you get the forced indentation of code and thread over.

Name: Anonymous 2008-01-07 5:33

>>36
wouldn't that need to be { local $\ = "\n"; print for @_ } to avoid buggy behavior for the rest of the program?

Name: Anonymous 2008-01-07 8:46

>>39
Even better,
sub say{local$\="";print@_;print"\n"}

Name: Anonymous 2009-03-18 3:23

I'm feeling really keen, for some of that good ol' green

Marijuana MUST be legalized.

Name: Anonymous 2010-12-10 10:58

Name: Anonymous 2011-02-04 15:43

Name: Anonymous 2011-02-17 20:10

check my doubles

Name: Anonymous 2013-01-19 0:00

/prog/ will be spammed continuously until further notice. we apologize for any inconvenience this may cause.

Don't change these.
Name: Email:
Entire Thread Thread List