Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. [No PHPun Intended] A Brief History of Web Development

[No PHPun Intended] A Brief History of Web Development

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
174 Posts 97 Posters 1.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S [email protected]

    I agree that PHP was easy to pick up, but I already knew several programming languages and was quickly shooting myself in the foot with the extremely overbuilt, redundant, and buggy builtin functions. At the time, though, it was either that or ASP, so I chose the lesser of two evils.

    To segue, switch statements aren't inherently necessary for a mature programming language; I think that addition was partially to mollify the growing userbase (not a good reason), but on the other hand it's really just structured pattern matching wearing a hat that says "switch" on it ... though again, that's something which could fairly trivially be achieved with a list comprehension. It's not like you're getting the machine-code-level optimizations that a C compiler could churn out for a proper switch statement.

    R This user is from outside of this forum
    R This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #86

    I personally feel that giving the growing user base things they want is probably the most prudent reason. Constantly refusing to provide simple constructs that are available everywhere else It's not a good look. In the open source world if you do that shit enough you end up getting forked.

    The context and ease of switch in a functional programming layout is a rather clean implementation.

    Otherwise you end up with the crap like they're pulling with flask were you just make an unnamed, unindexed number of functions. Can you sort and organize your functions and make everything clean? Sure you can. Does it happen by default? Almost never.

    You can walk up to someone else's switch and see what the options are. The code flows through that simple construct and it's very easy to understand someone else's work.

    I load up someone else's flask endpoint, It's just this multi-page stream of consciousness.

    You don't need switch, But there's a reason why so damn many people ask for it. Before they agreed to include "match", They said just to use getattr and write your own switch.

    S P 2 Replies Last reply
    1
    • S [email protected]

      Get that fucking JavaScript out of here

      P This user is from outside of this forum
      P This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #87

      What's your alternative for web development?

      Server side rendered content can only get you so far.

      B bilb@lemmy.mlB 2 Replies Last reply
      2
      • T [email protected]

        yeah rails is literally the only thing giving ruby a bad name, it's terrible. Ruby is a beautiful, amazing language, and then people shit all over it because of Rails. I literally had someone complain that ruby is a horrible language, I asked them what they meant, they listed off all rails things, then I showed them the language and they were like "this isn't what I was using...".

        in any case I think you really should only use ruby for very small scripts or programs. Nothing enterprisey at all.

        G This user is from outside of this forum
        G This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #88

        I'm complete opposite. I feel ruby is a far more mature solution compared to what enterprises are using; node, python, (new hot language here).

        T 1 Reply Last reply
        0
        • P [email protected]

          What's your alternative for web development?

          Server side rendered content can only get you so far.

          B This user is from outside of this forum
          B This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #89

          Right? That's the mindset that brought us asp, jsp, and php. JS might be obnoxious, but it's the only viable client-side right now.

          1 Reply Last reply
          0
          • merc@sh.itjust.worksM [email protected]

            Where I live, I still see people in a horse-drawn wagon. So, I guess horse-drawn wagons never died? It's only used for tourists and weddings, but that counts, right?

            According to Tiobe, PHP was the programming language of the year in 2004. In 2010 it was number 3 in the top 10 programming languages. It's now out of the top 10 entirely. There really isn't a language that has completely disappeared. Mainframes are still programmed using COBOL, Scientists are still using FORTRAN, even Lisp, which has been around since the 1950s, is still going strong.

            Maybe Actionscript counts as truly dead, since it was tied to Adobe Flash, and Flash is truly dead?

            I have a lot of bad memories of PHP. It was, for a brief time, the main language I used, but it was so ugly and inconsistent. The only thing I loved about it, at the time, was that it wasn't Visual Basic. As bad as PHP was, at least I wasn't making web pages in that pile of hot garbage. But, I never felt joy writing something in PHP. At best it was a slog. At worst it was like pulling teeth.

            Just about every other language has given me moments of fun. Original Javascript was a mess, but it already contained scheme-like features. It was sold as being an interpreted version of Java, but it had features that Java wouldn't have for at least a decade. C is a brutal and unforgiving language, but as long as you're not working with strings, it's great to have such low-level control over everything.

            Maybe PHP has evolved like other languages, but I still am not interested in trying it out. Everything it was good at can be done better by other languages, and those are languages that give me joy, not pain. I hope it keeps dropping in the rankings so that people aren't exposed to it as one of their first languages.

            D This user is from outside of this forum
            D This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #90

            I wouldnโ€™t even say that Flash is truly dead, thanks to emulators like Ruffle. You can still make a movie or game in Flash MX 2004, which is freely available now, and have it run in the browser. That said, last I looked (years ago) only AS2 was supported, so AS3 might be well and truly dead (rip my first language).

            1 Reply Last reply
            2
            • L [email protected]

              Or TSP (trisodium phosphate) - which you can't even make websites with, but it's great for cleaning oil spots off the driveway.

              L This user is from outside of this forum
              L This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #91

              I laughed pretty hard at this while also unexpectedly learning how to clean up a mess I made changing the oil in my car on a particularly windy day recently!

              1 Reply Last reply
              3
              • R [email protected]

                I personally feel that giving the growing user base things they want is probably the most prudent reason. Constantly refusing to provide simple constructs that are available everywhere else It's not a good look. In the open source world if you do that shit enough you end up getting forked.

                The context and ease of switch in a functional programming layout is a rather clean implementation.

                Otherwise you end up with the crap like they're pulling with flask were you just make an unnamed, unindexed number of functions. Can you sort and organize your functions and make everything clean? Sure you can. Does it happen by default? Almost never.

                You can walk up to someone else's switch and see what the options are. The code flows through that simple construct and it's very easy to understand someone else's work.

                I load up someone else's flask endpoint, It's just this multi-page stream of consciousness.

                You don't need switch, But there's a reason why so damn many people ask for it. Before they agreed to include "match", They said just to use getattr and write your own switch.

                S This user is from outside of this forum
                S This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #92

                I guess I should be thankful that they were no longer demanding GOTOs.

                1 Reply Last reply
                1
                • merc@sh.itjust.worksM [email protected]

                  Where I live, I still see people in a horse-drawn wagon. So, I guess horse-drawn wagons never died? It's only used for tourists and weddings, but that counts, right?

                  According to Tiobe, PHP was the programming language of the year in 2004. In 2010 it was number 3 in the top 10 programming languages. It's now out of the top 10 entirely. There really isn't a language that has completely disappeared. Mainframes are still programmed using COBOL, Scientists are still using FORTRAN, even Lisp, which has been around since the 1950s, is still going strong.

                  Maybe Actionscript counts as truly dead, since it was tied to Adobe Flash, and Flash is truly dead?

                  I have a lot of bad memories of PHP. It was, for a brief time, the main language I used, but it was so ugly and inconsistent. The only thing I loved about it, at the time, was that it wasn't Visual Basic. As bad as PHP was, at least I wasn't making web pages in that pile of hot garbage. But, I never felt joy writing something in PHP. At best it was a slog. At worst it was like pulling teeth.

                  Just about every other language has given me moments of fun. Original Javascript was a mess, but it already contained scheme-like features. It was sold as being an interpreted version of Java, but it had features that Java wouldn't have for at least a decade. C is a brutal and unforgiving language, but as long as you're not working with strings, it's great to have such low-level control over everything.

                  Maybe PHP has evolved like other languages, but I still am not interested in trying it out. Everything it was good at can be done better by other languages, and those are languages that give me joy, not pain. I hope it keeps dropping in the rankings so that people aren't exposed to it as one of their first languages.

                  K This user is from outside of this forum
                  K This user is from outside of this forum
                  [email protected]
                  wrote on last edited by [email protected]
                  #93

                  Yeah, I think this is a more fitting meme to be about Java, because despite all the java is dead articles it's still like one of the top most used language, if anything is a serious backend service it likely runs on Java.

                  merc@sh.itjust.worksM 1 Reply Last reply
                  12
                  • K [email protected]

                    Yeah, I think this is a more fitting meme to be about Java, because despite all the java is dead articles it's still like one of the top most used language, if anything is a serious backend service it likely runs on Java.

                    merc@sh.itjust.worksM This user is from outside of this forum
                    merc@sh.itjust.worksM This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #94

                    Java is a better fit. It hasn't fallen in popularity the way PHP has. But, I'm not convinced that serious backend services mostly use Java. It's one of the languages used, sure. But, I don't know if it beats C/C++ or Go. Apache's C. Nginx is C. Kubernetes is Go. Docker is Go.

                    I think Java has a niche with certain kinds of business logic applications, and those are pretty common. I would guess that in a typical set of interactions with a Google product, or a Meta product, or an AWS product, some parts of the traffic will be handled by services written in Java. But, others will be C/C++ or Go. There will probably also be some parts of the process that are PHP or Ruby or Python, and a lot of Javascript.

                    C K B 3 Replies Last reply
                    5
                    • M [email protected]

                      Most memes or jokes referencing a direct problem in PHP, are old or made by people who haven't touched the language in a decade(version 7 was in 2015, and it removed/fixed a lot of issues and added needed features).

                      There's also the huge looming thing that a lot of programmers forget: Websites like Wikipedia run on PHP, not to mention the amount of WordPress and similar websites are out there. Which means it will keep going strong. And for a while Facebook also used quite a lot of it, to the point where they made a rudimentary compiler instead of rewriting parts in more efficient languanges.

                      S This user is from outside of this forum
                      S This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #95

                      Also, most of the websites are made with WordPress, which... take a guess, yes, it runs on PHP!

                      (even though WordPress is a bad example because it's written in a horrible and ancient way)

                      1 Reply Last reply
                      3
                      • M [email protected]

                        PHP will remain alive as long Wordpress is still being used.

                        S This user is from outside of this forum
                        S This user is from outside of this forum
                        [email protected]
                        wrote on last edited by [email protected]
                        #96

                        But let's not forget that the WordPress codebase is absolute dogshit.

                        And not an example of how to write proper modern PHP.

                        1 Reply Last reply
                        20
                        • P [email protected]

                          What's your alternative for web development?

                          Server side rendered content can only get you so far.

                          bilb@lemmy.mlB This user is from outside of this forum
                          bilb@lemmy.mlB This user is from outside of this forum
                          [email protected]
                          wrote on last edited by [email protected]
                          #97

                          Webassembly frameworks.

                          Blazor! But only because I'm a dotnet guy professionally.

                          Yew? I'm not good enough with Rust to have tried it.

                          P P 2 Replies Last reply
                          2
                          • F [email protected]

                            No JavaScript, just HTML and CSS. Basically no images. The heaviest page dumps 50 rows of logs in a table.

                            It's admittedly a fundamentally simple frontend, but we all know of frontends with a simple job and a not so simple frontend.

                            B This user is from outside of this forum
                            B This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #98

                            Ah, so it sounds like it was more about dieting than exercising.

                            F 1 Reply Last reply
                            1
                            • merc@sh.itjust.worksM [email protected]

                              Java is a better fit. It hasn't fallen in popularity the way PHP has. But, I'm not convinced that serious backend services mostly use Java. It's one of the languages used, sure. But, I don't know if it beats C/C++ or Go. Apache's C. Nginx is C. Kubernetes is Go. Docker is Go.

                              I think Java has a niche with certain kinds of business logic applications, and those are pretty common. I would guess that in a typical set of interactions with a Google product, or a Meta product, or an AWS product, some parts of the traffic will be handled by services written in Java. But, others will be C/C++ or Go. There will probably also be some parts of the process that are PHP or Ruby or Python, and a lot of Javascript.

                              C This user is from outside of this forum
                              C This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #99

                              Most developers are not going to create the next kubernetes. For me it is usually down to earth integrations. Take this file from s3, send as email and sftp here. Create API to proxy another API. Take messages from Kafka, put on rabbitMQ. Save messages from rabbitMQ to database.

                              I think Java is very strong with libraries. Especially with Spring Boot and camel. I don't really see it as niche but more of a plain boring peanut butter sandwich. Boring. Unexciting. But works.

                              I am however trying to convince my boss to allow kotlin. Which has access to all the java libraries

                              merc@sh.itjust.worksM 1 Reply Last reply
                              4
                              • pro@programming.devP [email protected]

                                Source.

                                Yep, PHP is turning 30 this year! Wondering if "PHP is still relevant?" Ever since we have been hearing that PHP is dead. It was โ€œdeadโ€ 10 years ago, 5 years ago, and โ€œis deadโ€ today. But somehow - it isnโ€™t. Anyway... happy birthday!

                                P This user is from outside of this forum
                                P This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #100

                                bro ive been doing fullstack js dev for severals years to then realize php is superior๐Ÿ’€

                                3 mrsoup@lemmy.zipM D 3 Replies Last reply
                                13
                                • tommasz@piefed.socialT [email protected]

                                  Joined at the hip.

                                  K This user is from outside of this forum
                                  K This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #101

                                  Used php for quite a few personal projects without touching wordpress.

                                  1 Reply Last reply
                                  0
                                  • P [email protected]

                                    bro ive been doing fullstack js dev for severals years to then realize php is superior๐Ÿ’€

                                    3 This user is from outside of this forum
                                    3 This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #102

                                    The only reason php is still alive is Facebook

                                    B 1 Reply Last reply
                                    8
                                    • P [email protected]

                                      bro ive been doing fullstack js dev for severals years to then realize php is superior๐Ÿ’€

                                      mrsoup@lemmy.zipM This user is from outside of this forum
                                      mrsoup@lemmy.zipM This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by [email protected]
                                      #103

                                      W-what? Did you used js as backend? How was performance?

                                      P P zos_kia@lemmynsfw.comZ 3 Replies Last reply
                                      4
                                      • P [email protected]

                                        bro ive been doing fullstack js dev for severals years to then realize php is superior๐Ÿ’€

                                        D This user is from outside of this forum
                                        D This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #104

                                        Well better late than never.

                                        1 Reply Last reply
                                        2
                                        • merc@sh.itjust.worksM [email protected]

                                          Where I live, I still see people in a horse-drawn wagon. So, I guess horse-drawn wagons never died? It's only used for tourists and weddings, but that counts, right?

                                          According to Tiobe, PHP was the programming language of the year in 2004. In 2010 it was number 3 in the top 10 programming languages. It's now out of the top 10 entirely. There really isn't a language that has completely disappeared. Mainframes are still programmed using COBOL, Scientists are still using FORTRAN, even Lisp, which has been around since the 1950s, is still going strong.

                                          Maybe Actionscript counts as truly dead, since it was tied to Adobe Flash, and Flash is truly dead?

                                          I have a lot of bad memories of PHP. It was, for a brief time, the main language I used, but it was so ugly and inconsistent. The only thing I loved about it, at the time, was that it wasn't Visual Basic. As bad as PHP was, at least I wasn't making web pages in that pile of hot garbage. But, I never felt joy writing something in PHP. At best it was a slog. At worst it was like pulling teeth.

                                          Just about every other language has given me moments of fun. Original Javascript was a mess, but it already contained scheme-like features. It was sold as being an interpreted version of Java, but it had features that Java wouldn't have for at least a decade. C is a brutal and unforgiving language, but as long as you're not working with strings, it's great to have such low-level control over everything.

                                          Maybe PHP has evolved like other languages, but I still am not interested in trying it out. Everything it was good at can be done better by other languages, and those are languages that give me joy, not pain. I hope it keeps dropping in the rankings so that people aren't exposed to it as one of their first languages.

                                          C This user is from outside of this forum
                                          C This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #105

                                          There really isnโ€™t a language that has completely disappeared.

                                          How about that shit where a "program" was a bunch of patch cables plugged into various sockets? That shit is gone, man.

                                          S 1 Reply Last reply
                                          5
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups