perl / cgi outdated?

Discussion about the creation of websites in general, HTML, PHP, Java.

perl / cgi outdated?

Postby krod on Mon Mar 14, 2005 4:23 pm

i have read an article saying that perl and cgi are being replaced by asp, php and other new server side scripting languages, i strongly dis-agree with this statement. What do you think about it?
I went to the woods because I wished to live deliberately, to front only the essential facts of life, and see if I could not learn what it had to teach, and not, when I came to die, discover that I had not lived.-Thoreau
User avatar
krod
Phoenix Veteran
Phoenix Veteran
 
Posts: 616
Joined: Thu Mar 10, 2005 4:03 am
Location: USA/Georgia

Postby zogo on Mon Mar 14, 2005 4:38 pm

i haven't used perl/cgi for years... php became sufficient for my needs. So yeah, sure, why not.
zogo
Phoenix Veteran
Phoenix Veteran
 
Posts: 667
Joined: Thu Mar 10, 2005 5:23 pm
Location: Northern California

Postby Tim on Mon Mar 14, 2005 11:04 pm

But perl isn't only a scripting language, its a fully functional programming langauge as well, php can only go so far when using it in a shell environment rather than a web one and I don't know is asp can even do that much.
Perl may be being replaced php and others when it comes to the web but thats because they are newer, they were made easier to use and faster to use.
Most people wouldn't goto the trouble of learning/using C/C++ type languages for simple tasks like managing and syncronizing local and remote users, or restoring backups while they could use somthing much simpler which requires less actual coding like perl.
User avatar
Tim
root
root
 
Posts: 736
Joined: Thu Mar 10, 2005 6:31 am
Location: Australia

Postby krod on Tue Mar 15, 2005 12:38 pm

true, you can create a perl script much faster then a c, or c++ program, and you don't have to go through the trouble of compiling the program :D
I went to the woods because I wished to live deliberately, to front only the essential facts of life, and see if I could not learn what it had to teach, and not, when I came to die, discover that I had not lived.-Thoreau
User avatar
krod
Phoenix Veteran
Phoenix Veteran
 
Posts: 616
Joined: Thu Mar 10, 2005 4:03 am
Location: USA/Georgia

Postby bLiTz on Fri Mar 25, 2005 9:55 pm

PHP is easier to integrate into HTML than Perl. PHP is easier to learn than Perl.
Both of them are quick. It's an absurd idea that PHP is "greater" than Perl. Both of them have different purposes [but sometimes they're crossing :) ]
bLiTz
Newbie
Newbie
 
Posts: 6
Joined: Mon Mar 14, 2005 11:29 pm

Postby nickdev on Tue Apr 05, 2005 7:44 pm

In my opinion perl is a powerfull language but i see it dying out as time goes on, If i am hired to do a webbased project i would use PHP rather then CGI, where as if i am going to be doing a application i would probably use C or C++, Although if you would have asked me a year or so ago when i was a die hard PERL fanatic i would have spoken otherwise. It's all a matter of opinion really what you feel comfortable with.
nickdev
Newbie
Newbie
 
Posts: 7
Joined: Tue Apr 05, 2005 7:13 pm

Postby thebeast on Tue Apr 05, 2005 8:42 pm

I Don't know how about an CGI but Perl is finishing his days of web scripting i think. :-)
Sarunas B.
Phoenix Network Still Alive!
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(" )_(" ) signature to help him gain world domination.
thebeast
Phoenix Veteran
Phoenix Veteran
 
Posts: 646
Joined: Wed Mar 23, 2005 1:20 pm
Location: Lithuania

Postby nickdev on Tue Apr 05, 2005 9:52 pm

Actually CGI is part of perl.
nickdev
Newbie
Newbie
 
Posts: 7
Joined: Tue Apr 05, 2005 7:13 pm

Postby thebeast on Wed Apr 06, 2005 12:13 pm

But i don't remember where i've been whit perl page now everythink is setting on PHP :-)
Sarunas B.
Phoenix Network Still Alive!
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(" )_(" ) signature to help him gain world domination.
thebeast
Phoenix Veteran
Phoenix Veteran
 
Posts: 646
Joined: Wed Mar 23, 2005 1:20 pm
Location: Lithuania

Postby _neil on Wed May 11, 2005 8:21 pm

perl is much stronger and many people swear by it. ive wanted to take time out to learn it but i really only get around to do webdev work so i've just stuck with php. after doing mirc script for years on irc, php was easy to pick up as its relatively the same, as with all other C-ish languages.

im still considering picking up perl to work on non-http apps of some sort
Last edited by _neil on Wed May 11, 2005 8:24 pm, edited 1 time in total.
_neil
Contributer
Contributer
 
Posts: 25
Joined: Sun May 08, 2005 4:00 pm

Postby _neil on Wed May 11, 2005 8:23 pm

also many sites (slashdot, dslreports, etc) run flawlessly and solely on perl, where php would not be able to handle the load as well. although ive heard slashdot was poorly written, but thats just the word.
_neil
Contributer
Contributer
 
Posts: 25
Joined: Sun May 08, 2005 4:00 pm

It won't die

Postby whitehat101 on Fri Jul 08, 2005 8:19 pm

Perl is still in development and I think it's user base is still way too big. I've coded a few websites in PERL/cgi and I will stick with it! It's string tools are great, file access, it's data structures. It can do anything I'll ever want it to and more!

I can't say I have coded a lot of php, but I like how perl generates that page more than php, but I can see how php could be good/easier for some people.

_neil wrote:perl is much stronger and many people swear by it.

If perl can't do it, it's probably not worth doing. Cool
If it hurts, rub it.
whitehat101
Contributer
Contributer
 
Posts: 41
Joined: Fri Jun 24, 2005 5:18 am
Location: Orangevale, CA

Postby al_tyranny on Fri Jul 08, 2005 10:00 pm

Funny that we're on web scripting and nobody's mentioned Python yet ^^.
mm_freak wrote:Slackware users are dreamers. Sorry to say.
al_tyranny
Phoenix Veteran
Phoenix Veteran
 
Posts: 294
Joined: Tue May 17, 2005 3:18 am
Location: Greater Boston Area

Postby krod on Fri Jul 08, 2005 11:30 pm

i know, perl can be used for cgi programming
I went to the woods because I wished to live deliberately, to front only the essential facts of life, and see if I could not learn what it had to teach, and not, when I came to die, discover that I had not lived.-Thoreau
User avatar
krod
Phoenix Veteran
Phoenix Veteran
 
Posts: 616
Joined: Thu Mar 10, 2005 4:03 am
Location: USA/Georgia

Postby rammbonee on Tue Aug 16, 2005 1:24 am

Perl's String manipulation is ridiculous. Ive scene the most complicated string manipulations done with perl and regex in just a few lines of code... However i feel that perl is a harder language to learn, esp when being compared to ASP... ASP can be scripted with JS or VBScript, which makes it a lot easier to learn and shortens the learning time needed...
rammbonee
Newbie
Newbie
 
Posts: 3
Joined: Tue Aug 16, 2005 1:14 am

Next

Return to General Webmastering

Who is online

Users browsing this forum: No registered users and 1 guest

cron