Hacker News new | past | comments | ask | show | jobs | submit login

This is why PHP is mostly banned at bigCo



Pretty sure there's plenty of PHP at Amazon and Facebook (just with slightly different names)


There is no PHP at Amazon (at least not 2009-2016). It was evaluated before my time there and Perl Mason was chosen instead to replace C++. A bunch if that’s still appears to exist (many paths that start with gp/) but a lot was being rebuilt in various internal Java frameworks. I know AWS had some rails apps that were being migrated to Java a decade ago, but I don’t think I ever encountered PHP (and I came in as a programmer primarily writing PHP).


Ok, my "pretty sure" turns out to be "not sure at all". Thank you for the refresher! I was thinking about Mason and somehow conflated Perl with PHP.

I left Amazon 2020. Had various collaborations with ecommerce (mainly around fulfillment) and there was plenty of Mason around.


I was probably one of the few who enjoyed Mason and still think the aggregator framework was great. We implemented a work-a-like in Java on Prime and it worked great there as well. It was effectively GraphQL before GraphQL, but local and remote, async, polymorphic, and extremely flexible. Not being in that world anymore I’m not sure if there is anything else quite like it, but there really should be.


I can *assure* you that php is expressly prohibited for use at Amazon.


Really? How come? What is the history with regarding to that? What are their reasoning? Does it apply to PHP >=8?


To paraphrase: you can write PHP in any language. PHP is a negative bias for bigCo mostly because of the folkloric history of bad security practices by some PHP software developers.


By “folkloric history”, don’t you actually mean just “history”?


I guess they mean the stigma that arose based on the reality in the past.

So kind of both.


They fucked themselves and the rest of us moved on.

You can become a good person late in life and still be lonely because all your bridges are burned to the ground.


> folkloric

I think the word you’re looking for is “epic” or “legendary”


Isn’t Facebook one of the biggest?


Hack is not PHP (any longer)


Pretty much. PHP for a banking software? For anything money related? Goomg to have a bad time.


Magento, OpenCart or WooCommerce are money related. All terrible but also very popular. But I guess they work, somehow.

What would you use to build and self-host an ecommerce site quickly and that is not a SaaS?


Have you ever heard of WooCommerce? It’s the market leader. It powers more stores than Shopify.


You're saying all big companies ban whole language ecosystem because somebody on the internet used one function in that language in knowingly unsafe manner contrary to all established practices and warnings in the documentation? This is beyond laughable.


Laughable, but accurate.

Google for example does exactly this.


Does exactly what? Ban whole ecosystems because somebody on the internet used it wrong? Could you please provide any substantiation to this entirely unbelievable claim?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: