|
|
| .htaccess URL rewrite |
|
ImLeftFooted
Member #3,935
October 2003
|
Thomas said: Well known fact, php was once implemented with Perl. Not that it's related, but hasn't php been implemented in a lot of language? Thomas said: Except when most of the apps are coded in that way, then its more of a language issue.
|
|
Thomas Fjellstrom
Member #476
June 2000
|
Quote: Not that it's related, but hasn't php been implemented in a lot of language? It started out as a Perl program, and is now written in C afaik. From the state of PHP code itself, I can only imagine what php's C code looks like Quote:
Ok, then it must be the other option, MOST php coders are completely worthless. Then again if it is that, then PHP attracts MOSTLY worthless coders, which doesn't put php in a good light. -- |
|
Vanneto
Member #8,643
May 2007
|
Quote: Clueless much? There area actually still more usefull sites that run perl than PHP. Well known fact, php was once implemented with Perl. If George Bush and Vladimir Putin prefer some Zango Cola over Coca-Cola then that does not mean that Coca-Cola is any less popular... Quote: Oh sure, apply that to your precious php, and not perl? Sure it applies to Perl, but you started the debate. Quote: Perl was my first programming language. Taught it to myself by reading a book and playing with scripts. If I can do it, anyone can.
Same here man, just replace Perl with PHP. Quote: Junk is indeed the right term. And it dumps it all in the global namespace. hundreds of functions you're likely to not use in most apps! Yeah it has its quirks, but PHP 6 will fix that AFAIK. Quote: Except when most of the apps are coded in that way, then its more of a language issue. PHP was created to write spagetty <?php code ?> crap. Popularity applies here... 90% of the code is bad because 90% of the users are beginners that don't have a clue. Its not a language issue... Anymore. Granted, it was some time ago... cough register globals cough EDIT: Quote: It started out as a Perl program, ... No: Quote: PHP was written as a set of Common Gateway Interface (CGI) binaries in the C programming language by the Danish/Greenlandic programmer Rasmus Lerdorf in 1994, to replace a small set of Perl scripts he had been using to maintain his personal homepage.
In capitalist America bank robs you. |
|
Thomas Fjellstrom
Member #476
June 2000
|
Quote: Popularity applies here... 90% of the code is bad because 90% of the users are beginners that don't have a clue. Its not a language issue... Anymore. Granted, it was some time ago... cough register globals cough Take any popular php app and prove to me that its not crap code wise. Dare you. Quote: PHP was written as a set of Common Gateway Interface (CGI) binaries in the C programming language by the Danish/Greenlandic programmer Rasmus Lerdorf in 1994, to replace a small set of Perl scripts he had been using to maintain his personal homepage. I just said that. It started out as a perl program/script, and was then rewritten in C. -- |
|
Vanneto
Member #8,643
May 2007
|
Yeah but technically, the Perl scripts weren't PHP! They were PHP after they were rewritten! Anyway, phpBB 3? In capitalist America bank robs you. |
|
Thomas Fjellstrom
Member #476
June 2000
|
Quote: Yeah but technically, the Perl scripts weren't PHP! They were PHP after they were rewritten! This is only an asumption, but I'm betting his original site loaded and executed Php like template files with embeded Perl code, which explains PHP's similarity to Perl. Quote: Anyway, phpBB 3? phpBB? At least v3 seems to be using a templating system of sorts (custom format using html comments? huh?). Being brand new, I know little about it. But if its anything like the prior phpBB's, its pure crap. -- |
|
Vanneto
Member #8,643
May 2007
|
Quote: phpBB? At least v3 seems to be using a templating system of sorts (custom format using html comments? huh?). Being brand new, I know little about it. But if its anything like the prior phpBB's, its pure crap.
OK Thomas, your turn! You show me some popular application written in Perl thats not crap! In capitalist America bank robs you. |
|
BAF
Member #2,981
December 2002
|
Any popular application is likely pure crap. Thats why I use custom code for the most part. |
|
Thomas Fjellstrom
Member #476
June 2000
|
Ever heard of slashcode? How 'bout apt? wp said: Large projects written in Perl include Slash, Bugzilla, TWiki and Movable Type. Many high-traffic websites, such as bbc.co.uk, Amazon.com, LiveJournal.com, Ticketmaster.com and IMDb.com[16] use Perl extensively.
-- |
|
BAF
Member #2,981
December 2002
|
Those high traffic websites aren't popular applications. |
|
Vanneto
Member #8,643
May 2007
|
Quote: Many high-traffic websites, such as bbc.co.uk, Amazon.com, LiveJournal.com, Ticketmaster.com and IMDb.com[16] use Perl extensively. Cheater! Those are not available to the public and the applications aren't popular but the websites are! Different! Hence, I could say Allegro.cc, I dare you to say otherwise, Matthew will smite you! In capitalist America bank robs you. |
|
Thomas Fjellstrom
Member #476
June 2000
|
Wow, you guys totally missed the first sentence. Try paying attention. Quote: A.cc uses PHP, and works just as well as those sites, just not on as large a scale. Scalability is part of usability. -- |
|
Vanneto
Member #8,643
May 2007
|
Perl said: Large projects written in Perl include Slash, Bugzilla, TWiki and Movable Type.
PHP said: MediaWiki, Typo3, phpBB3, Drupal
apt is not a web application. In capitalist America bank robs you. |
|
BAF
Member #2,981
December 2002
|
Quote: Scalability is part of usability. I didn't say it wasn't scalable. I just said it wasn't on as large a scale. The sites from WP likely run on quite a few servers, whereas a.cc runs on one. |
|
Thomas Fjellstrom
Member #476
June 2000
|
Intead of those apps, look at PHPBB2, ZenCart, and Moodle. -- |
|
BAF
Member #2,981
December 2002
|
http://avatraxiom.livejournal.com/58084.html Also, nobody ever claimed those apps were written well. What about Drupal or e107? There are many PHP apps that aren't coded badly. (Although I've never looked at the source of those applications, I've never heard anybody say anything bad about them). |
|
ImLeftFooted
Member #3,935
October 2003
|
Dude Thomas, why are you so angry about PHP? |
|
BAF
Member #2,981
December 2002
|
He has to deal with Zencart. I only looked at it for under an hour and that was almost enough to make me angry about PHP. Zencart's devs do have a place on my hated developers list, though. |
|
Thomas Fjellstrom
Member #476
June 2000
|
Quote: Dude Thomas, why are you so angry about PHP? I'm more iritated about Vaneeto's (and many other people's random) Perl comments. But then I've just spent 3 days trying to hack an old template into a new version of ZenCart. God my head hurts. -- |
|
Vanneto
Member #8,643
May 2007
|
Oh sure, sure, now I write random comments... I wonder what this is: Quote: Yes. A horrible mix of Perl and Java. I still wonder why people like it.
In capitalist America bank robs you. |
|
Thomas Fjellstrom
Member #476
June 2000
|
Quote: Yes. A horrible mix of Perl and Java. I still wonder why people like it. You can mix one or more non horrible things and get a horrible result you know. -- |
|
BAF
Member #2,981
December 2002
|
Personally, my Perl comments are in return to PHP comments. I don't hate Perl. I don't like how the code looks, but I don't have enough experience with it to form a solid opinion. |
|
Vanneto
Member #8,643
May 2007
|
Quote: You can mix one or more non horrible things and get a horrible result you know. That was not the point. The point was that you were the first to make a random comment. I did not write random comments about Perl, one maybe, but all others were not random. Well, at least not any less or more random then yours. In capitalist America bank robs you. |
|
Thomas Fjellstrom
Member #476
June 2000
|
I didn't necessarily mean yours was random, most people's are. -- |
|
Vanneto
Member #8,643
May 2007
|
Well, seeing as how we single handedly derailed this thread, I might as well give out cookies for the ones that helped! (with the problem at hand, not the derailing part In capitalist America bank robs you. |
|
|
|