Money is money.

  • 25
  • 9
    It's not crazy if it works 🀷‍♂️
  • 9
    PHP users be like, "It's just a single file with jquery and it prints MONEH. You salty."
  • 1
    @OneOrZero Pro tip: you can save images.
  • 8
    @C0D4 Yup! But we have to stay humble. One could probably do the same with 437MB of JS.
  • 2
    @SortOfTested index.min.php 🌚🌚🌚🌚
  • 5
    Nah, your meme says index.php. Don't bring your min fanciness into this. $64k this month budgies πŸ’ΈπŸ’ΈπŸ’ΈπŸ’Έ
  • 0
  • 10
    The question is not so much if its possible, sure it is and perl very often was just one server side file.

    The question is if its a good idea.

    Sure it can be easier in some respects but maintainability usually suffers which can cause the profit to drop later.

    I once built a multithreaded application in bash script. Did it work, sure, but it was all but impossible to improve or understand.
  • 2
    @Jilano that's before you type anything πŸ˜…

    Although I'm not sure what all the fuss is about, it's only 60k / month, some of use deal with a lot more 0's then that. 🀷‍♂️

    Anyway a single php file can contain an entire site and handle all the routing... it'd be a bitch to maintain but doable, it's just an SPA right, the JS devs know all about that 😏
  • 1
    @Voxera "You can't bring facts and logic into memes, that's unfair"
  • 4
    tips and tricks.
  • 2

    For a good laugh, here's the thread.
  • 1
    @C0D4 maintainer will likely go insane though.
  • 1

    Line 6298. Explains a lot.
  • 0
    @gronostaj if only he had a } πŸ™ƒ
  • 0
    @OneOrZero ew, damn, ew. Those containers...
  • 8
    Money is money, true.

    But that money is earned despite the lack of architecture, not because of it. Their market (remotely working employees) has exploded because of the pandemic.

    I think they will soon discover that:

    1. There's a hard ceiling to their revue, because their platform won't be able to scale beyond x visitors.

    2. Their velocity of developing/changing features decreases with time.

    3. Another company will clone their success with a more scalable architecture & less tech-debt-ridden codebase.

    Not being salty here, It's just that I've experienced this story 3 times now.

  • 6
    Other side of the coin is of course the tiny 3-man startup developing their cannabis edibles webshop with kubernetes cloud functions, an autobalancing Redis cluster, $10k/month application performance management to track their pub/sub channels, overpriced hosted CI/bugtracking....

    After which they discover that they sell about 5 space brownies a month.
  • 2
    "Do not tell me that Facebook and Wikipedia are built in PHP. I’m aware! They could also be written in Brainfuck, but as long as there are smart enough people wrangling the things, they can overcome problems with the platform. For all we know, development time could be halved or doubled if these products were written in some other language; this data point alone means nothing."

    -- https://eev.ee/blog/2012/...
  • 2
    Haha, truth. In most ways, saying Facebook runs on PHP is like saying Nascar races stock cars.
  • 1
    the comments in that thread are legit hilarious. php crew for life yo
  • 0
    @OneOrZero no he won't, cmd+f remember?
  • 3
    omg no I am still having a blast with this thread:

    "Modern web dev is an extreme over reaction to some people not liking php"

    These comments are gold and I am pretty sure everyone is just trolling one another.
  • 2
    @AleCx04 check this out lol
  • 0
    Okay, no muhdern web usual clusterfuck is great!
    But PHP and jQuery, really?
  • 0
    @CodeTalker Neither of these is fundamentally bad. They have their problems, but they also have advantages and if you're proficient with them both can be the best choice given the circumstances. The real problem here is 6300 lines of code in a single file.
  • 0
    @SortOfTested could just have easily embedded the jQuery source in the PHP, or linked to the CDN.
Add Comment