4 ms·
To all the haters out there. I self taught myself PHP almost 15 years ago, and I've completely developed over the years, from the ground up and from scratch by
by blantonl 7y ago
To all the haters out there.
I self taught myself PHP almost 15 years ago, and I've completely developed over the years, from the ground up and from scratch by my self, a complete network of businesses: RadioReference.com and Broadcastify, that does
Public and Private APIs in SOAP, JSON and XML. Complete user authentication and session for millions of users.
Integration with third-party best of breed apps like MediaWiki and Xenforo. Database, Ticketing, Location, Admin, User, Payments management. Provisioning, Scripting, Web Services consumption etc
The code is ugly, barely any OOP except for some reusable internal classes. Tons of copy paste from Stackoverflow. I'm still using mysql_query() in a lot of places. Did we hit some security issues, sure!
But it works, it generates millions of dollars in revenue, and it's all managed and developed by one person.
So, to all the PHP haters out there. See above.
- TylerE 7y agoYou are making the argument for the haters. You can build a house out of kindling coated in gasoline too. Doesn't mean it's a good idea.
- mthoms 7y agoAs someone who likes modern PHP and hopes to see old stereotypes go away, this comment made me sad.
- blantonl 7y agoWhy sad? The objective is to build a business, generate value and execute on a vision using a programming language, not win a popularity contest by proclaiming your use of anonymous classes, unicode codepoint escape syntax, and the spaceship operator. I'm doing some really cool things in PHP, and some really ancient things as well. Who cares? The business is killing it, delivering some of the latest and great technologies to end users. That's all that matters.
- mthoms 7y agoIt's just that your cavalier attitude towards best practices and apparent pride in having a shoddy codebase perpetuates the stereotype that PHP developers are second rate. And no, I'm not advocating for using the latest and greatest just for bragging rights. There is a middle ground. > "Who cares? The business is killing it" What happens when you want to sell the business, or the sole developer of this monstrous codebase becomes ill? Based on the picture you've painted of it, a good developer won't want to touch it with a ten foot pole. Anyhow, I am very glad for your success. It does sound like an interesting story. Just don't be surprised to see a negative reaction from a community of professional developers when you brag about how poorly written (and vulnerable to attack) your "million" dollar application is. I can only hope that you aren't operating anything that other businesses rely on, or worse — handles personal data.
- rawoke083600 7y ago>What happens when you want to sell the business, or the sole developer of this monstrous codebase becomes ill? Based on the picture you've painted of it, a good developer won't want to touch it with a ten foot pole. Lol the same can be said for any website written in plain-js+jquery, or C++
- mc3 7y agoWhat sounds better for PHP? "PHP is a great programming language because of feature X, principle Y. It's not like old PHP because of 1,2,3..." or "PHP is a great programming language because I made a lot of money"
- stef25 7y agoAll fun & games until your copy pasta code ends up dumping your DB in to the wrong hands.