Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-15-2012, 08:52 PM   #1
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
PHP is much better than you think

The biggest problem of these rants is that they come from people stuck in the old days of PHP. They either don't care or they don't want to admit that PHP actually evolves at a very fast pace, both at the language level but also at the community level. In fact, it evolves much faster than any other language or web platform. It has not always been the case, but the last 5 years have been an amazing journey for PHP.

http://fabien.potencier.org/article/...than-you-think
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-15-2012, 09:11 PM   #2
Zoxxa
Confirmed User
 
Zoxxa's Avatar
 
Industry Role:
Join Date: Feb 2011
Location: Ontario, Canada
Posts: 1,026
I love php, I love python, I love ruby. I learned php first and I am great at it. I code all my web apps with it. I use CodeIgniter which I find to be the best framework for a one man team.

What I realized early on was that I blamed PHP for being slow, when in fact I sucked balls at indexing my databases. I spent 99.99% of my time learning php and no time on my database design or SQL. I had shitty designs with shitty SQL queries that made my sites slow as fuck. People have put WAY too much attention towards the language and not enough on the database, this is the heart of your app and you need to learn how to optimize it. It is quite easy, spend the time.
__________________
[email protected]
ICQ: 269486444
ZoxEmbedTube - Build unlimited "fake" tubes with this easy 100% unencoded CMS!
Zoxxa is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-15-2012, 09:13 PM   #3
PornMD
Mainstream Businessman
 
PornMD's Avatar
 
Industry Role:
Join Date: Jan 2007
Location: San Diego
Posts: 9,291
Who would bitch about PHP? It's the backbone of Wordpress among many other things and is an integral part of the web - I don't think that's by accident.
__________________
Want to crush it in mainstream with Facebook ads? Hit me up.
PornMD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-15-2012, 09:28 PM   #4
2012
So Fucking What
 
2012's Avatar
 
Industry Role:
Join Date: Jul 2006
Posts: 17,189
safe mode
2012 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-15-2012, 09:33 PM   #5
r00bz
Registered User
 
r00bz's Avatar
 
Industry Role:
Join Date: May 2012
Posts: 85
Ruby > PHP
so..
Rails > CI
__________________
PROMOTE your adult website at http://fumbleuporn.com
and get FREE TRAFFIC right NOW

Twitter: @fumbleuporn
FB Page: www.fb.com/pages/FumbleUPorn/448992625146044
Website: fumbleuporn.com
r00bz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-15-2012, 09:37 PM   #6
SiliconToad
Registered User
 
SiliconToad's Avatar
 
Join Date: Nov 2002
Location: Infinity Void
Posts: 55
Quote:
Originally Posted by r00bz View Post
Ruby > PHP
so..
Rails > CI
You <= Stupid
so..
Idiot == You
and..
You != Reliable Source
SiliconToad is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-15-2012, 09:40 PM   #7
Zoxxa
Confirmed User
 
Zoxxa's Avatar
 
Industry Role:
Join Date: Feb 2011
Location: Ontario, Canada
Posts: 1,026
Operators, how clever.

__________________
[email protected]
ICQ: 269486444
ZoxEmbedTube - Build unlimited "fake" tubes with this easy 100% unencoded CMS!
Zoxxa is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-15-2012, 09:44 PM   #8
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
I like Ruby too, as well as Python.
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2012, 03:53 AM   #9
nextri
Confirmed User
 
nextri's Avatar
 
Industry Role:
Join Date: May 2004
Location: Norway
Posts: 1,661
facebook runs on php. I guess that says something..
__________________
DivaTraffic - Traffic for Models
nextri is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2012, 04:05 AM   #10
seeandsee
Check SIG!
 
seeandsee's Avatar
 
Industry Role:
Join Date: Mar 2006
Location: Europe (Skype: gojkoas)
Posts: 50,945
php is great, but i dont have good place to learn all secrets
__________________
BUY MY SIG - 50$/Year

Contact here
seeandsee is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2012, 04:36 AM   #11
Barefootsies
Choice is an Illusion
 
Barefootsies's Avatar
 
Industry Role:
Join Date: Feb 2005
Location: Land of Obama
Posts: 42,635
:2cents

Quote:
Originally Posted by SiliconToad View Post
You <= Stupid
so..
Idiot == You
and..
You != Reliable Source
__________________
Should You Email Your Members?

Link1 | Link2 | Link3

Enough Said.

"Would you rather live like a king for a year or like a prince forever?"
Barefootsies is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2012, 04:42 AM   #12
mafia_man
Confirmed User
 
mafia_man's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: icq#: 639544261
Posts: 1,965
If I had to start a new project today from scratch I wouldn't pick PHP.

Yes it's popular, yes it powers Wordpress and the rest of them, yes it's a piece of piss to deploy but fuck me I severely dislike the language; from the syntax to the shitty bolted on OO system, wannabe closures and crappy defaults.

PHP is a bad language made infinitely worse by script kiddies who don't have a clue what they are doing.

I haven't looked back since moving to Ruby. That said if I was coding a commercial script like a tube script, I'd use PHP.
mafia_man is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2012, 04:59 AM   #13
CurrentlySober
Too lazy to wipe my ass
 
CurrentlySober's Avatar
 
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,644
i like Pretty Hard Poos...
__________________


👁️ 👍️ 💩
CurrentlySober is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2012, 07:14 AM   #14
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by mafia_man View Post
If I had to start a new project today from scratch I wouldn't pick PHP.

Yes it's popular, yes it powers Wordpress and the rest of them, yes it's a piece of piss to deploy but fuck me I severely dislike the language; from the syntax to the shitty bolted on OO system, wannabe closures and crappy defaults.

PHP is a bad language made infinitely worse by script kiddies who don't have a clue what they are doing.

I haven't looked back since moving to Ruby. That said if I was coding a commercial script like a tube script, I'd use PHP.
The good and bad thing at php you can do same thing with million of different ways-for example when i was looking for pagination snippet,my goal was to find example which have less lines then any other.After like 100 examples found,average number of lines was from 150 to 250,till i found example which have only 5 lines.And what is irony,examples which i used before with 150 to 250 lines was bugged while this one with 5 lines works perfectly.And this is why i stick with PHP- even if something right now is not made good,they will fix it in future and make it better.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2012, 07:18 AM   #15
- Jesus Christ -
Confirmed User
 
Industry Role:
Join Date: Mar 2003
Location: ::::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: ::::::||||||||||||:::::: :::::::::::||::::::::::: :::::::::::||::::::::::: ::::::::::::::::::::::::
Posts: 7,197
Quote:
Originally Posted by nextri View Post
facebook runs on php. I guess that says something..
The code base is in PHP becasue its easier to coordinate the dev team using PHP, but its actually compiled as C before its deployed.
__________________

Amen
- Jesus Christ - is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2012, 07:43 AM   #16
Kiopa_Matt
Confirmed User
 
Industry Role:
Join Date: Oct 2007
Posts: 1,448
Quote:
Originally Posted by 2012 View Post
safe mode
Depreciated, and removed all together as of PHP v5.4.

http://php.net/manual/en/features.safe-mode.php
__________________
xMarkPro -- Ultimate Blog Network Management
Streamline your marketing operations. Centralize management of domains, pages, Wordpress blogs, sponsors, link codes, media items, sales and traffic statistics, plus more!
Kiopa_Matt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2012, 08:09 AM   #17
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
Quote:
Originally Posted by mafia_man View Post
If I had to start a new project today from scratch I wouldn't pick PHP.

Yes it's popular, yes it powers Wordpress and the rest of them, yes it's a piece of piss to deploy but fuck me I severely dislike the language; from the syntax to the shitty bolted on OO system, wannabe closures and crappy defaults.

PHP is a bad language made infinitely worse by script kiddies who don't have a clue what they are doing.

I haven't looked back since moving to Ruby. That said if I was coding a commercial script like a tube script, I'd use PHP.

Your out of touch.
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2012, 08:44 AM   #18
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,588
Quote:
Originally Posted by nextri View Post
facebook runs on php. I guess that says something..
Not really, since PHP, PERL, etc... all run in an interperter that is written in C.

PHP, PERL, etc... are "easier ways" to execute C.

Debating which is better is like debating which gas station has the best regular gas;
neither is high octane.

__________________
Make Money with Porn
blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2012, 09:24 AM   #19
mafia_man
Confirmed User
 
mafia_man's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: icq#: 639544261
Posts: 1,965
Quote:
Originally Posted by KlenTelaris View Post
The good and bad thing at php you can do same thing with million of different ways-for example when i was looking for pagination snippet,my goal was to find example which have less lines then any other.After like 100 examples found,average number of lines was from 150 to 250,till i found example which have only 5 lines.And what is irony,examples which i used before with 150 to 250 lines was bugged while this one with 5 lines works perfectly.And this is why i stick with PHP- even if something right now is not made good,they will fix it in future and make it better.
How about 'gem will_paginate' and then sticking 'will_paginate' into my template file.

Piece of piss in Rails.

Quote:
Originally Posted by grumpy View Post
Your out of touch.
You're*

Expand on your shitty point.
mafia_man is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2012, 10:28 AM   #20
HomerSimpson
Too lazy to set a custom title
 
HomerSimpson's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
php simply rocks...
__________________
Make a bank with Chaturbate - the best selling webcam program
Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!!

PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email:
HomerSimpson is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2012, 11:05 AM   #21
KillerK
Confirmed User
 
Join Date: May 2008
Posts: 3,406
I think we will see a shift away from php on the larger more traffic'd websites.
KillerK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2012, 11:11 AM   #22
shake
frc
 
Industry Role:
Join Date: Jul 2003
Location: Bitcoin wallet
Posts: 4,663
The right tool for the job is the most important thing. I like PHP for simpler projects, and I'm trying to start using PHP frameworks for more complicated projects as it saves a lot of time. Really enjoying using Python for some interesting multithreaded projects I'm working on these days.
shake is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2012, 12:52 PM   #23
Dvae
Confirmed User
 
Dvae's Avatar
 
Industry Role:
Join Date: Feb 2005
Location: US
Posts: 5,326
Anyone use Scala.
Looks very interesting. Apparentlty Twitter runs on it.
API listing here. Looks like it requires Java to run.
__________________
.
.

Arguing with a troll is a lot like wrestling in the mud with a pig, after a couple of hours you realize the pig likes it.
Dvae is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2012, 01:22 PM   #24
mafia_man
Confirmed User
 
mafia_man's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: icq#: 639544261
Posts: 1,965
Quote:
Originally Posted by Dvae View Post
Anyone use Scala.
Looks very interesting. Apparentlty Twitter runs on it.
API listing here. Looks like it requires Java to run.
Yes, but functional programming is hard to grasp if you come from OO.

I do believe it's the future though: functional programming, actor model == multi-core scaling.
mafia_man is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2012, 01:57 PM   #25
Confined
Registered User
 
Industry Role:
Join Date: Jan 2006
Posts: 93
Quote:
Originally Posted by - Jesus Christ - View Post
The code base is in PHP becasue its easier to coordinate the dev team using PHP, but its actually compiled as C before its deployed.
+1 to jc.
Was just gonna type this...

https://github.com/facebook/hiphop-php

it's pretty good
Confined is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-16-2012, 09:54 PM   #26
r00bz
Registered User
 
r00bz's Avatar
 
Industry Role:
Join Date: May 2012
Posts: 85
Quote:
Originally Posted by SiliconToad View Post
You <= Stupid
so..
Idiot == You
and..
You != Reliable Source
SiliconToad['sexuality'] = 'fag'
SiliconToad['fagotry-level'] = 10000
__________________
PROMOTE your adult website at http://fumbleuporn.com
and get FREE TRAFFIC right NOW

Twitter: @fumbleuporn
FB Page: www.fb.com/pages/FumbleUPorn/448992625146044
Website: fumbleuporn.com
r00bz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.