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.
  • B [email protected]

    I exercised all client side JavaScript from an app I maintain. It’s fast, clean, and the back button always works. I just checked on one of the more complicated pages, and according to Firefox’s memory profile, it takes about 2.6MB of RAM.

    Wow, that really is a light weight! What exercise do you have your code perform to get such impressive results?

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

    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 1 Reply Last reply
    0
    • G [email protected]

      ruby has so many better reasons to exist beyond that.

      since v3 it performs just as well if not better than Python.

      it has a well documented and lush library of gems that still work even if they are 15 years old.

      ruby gets a lot of shit because everyone ties rails in, which has improved, but is still slow as shit compared to other orms.

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

      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 1 Reply Last reply
      2
      • zachariah@lemmy.worldZ [email protected]

        Thank you for clearing that up.

        “PHP: Hypertext Preprocessor”.

        But do you happen to know what the first P there stands for?

        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
        #67

        Personal Home Page, so the whole thing written out is:

        Personal Home Page Hypertext Preprocessor

        https://en.m.wikipedia.org/wiki/PHP

        1 Reply Last reply
        1
        • 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!

          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
          #68

          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.

          B D K C P 5 Replies Last reply
          47
          • zachariah@lemmy.worldZ [email protected]

            for many websites, this is the ideal way to do it

            makes it order of magnitude more secure

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

            And performant. And accessible. And compatible.

            1 Reply Last reply
            6
            • P [email protected]

              php is too mainstream, give ruby a reason to exist.

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

              Ruby is as dead as PHP.

              1 Reply Last reply
              0
              • 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!

                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 [email protected]
                #71

                Last week I found the code for the first website I created, way back in the mid 90s. The server-side part was written in Perl.

                1 Reply Last reply
                0
                • B [email protected]

                  In PHPs defense, it keeps evolving in positive, meaningful ways. If you are up to date with it, it’s quite sophisticated and enjoyable. Doubly so if you use a framework like Laravel.

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

                  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 1 Reply Last reply
                  15
                  • S [email protected]

                    Well, at least PHP isn’t as bad as JSP.

                    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
                    #73

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

                    L P 2 Replies Last reply
                    14
                    • B [email protected]

                      In PHPs defense, it keeps evolving in positive, meaningful ways. If you are up to date with it, it’s quite sophisticated and enjoyable. Doubly so if you use a framework like Laravel.

                      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
                      #74

                      I agree. A lot of people who mock PHP know almost nothing about it but they know they're supposed to hate it because all the cool kids do.

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

                        LicK PaPeR

                        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
                        #75

                        1 Reply Last reply
                        9
                        • S [email protected]

                          Replaced the P in LAMP with Python when I started building webpages again a few years ago, and never looked back. Such a vastly more pleasant experience.

                          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
                          #76

                          Python is a natural evolution for web development, especially once you're past the fundamentals. For someone with no scripting background, PHP is easier to approach. The syntax is more direct, and basic debugging doesn't require any setup. An error happened on x line is the default behavior.

                          Python's logging system can be tricky to configure properly if you're unfamiliar with the factory and error level handling. Those green people don't have any idea where to put the log or how to let the web server talk to it safely.

                          It's the little bs like refusing for years to include switch, then when they finally give, they just refuse to allow fallthrough. It's like they said, fine, but it's got to work slightly differently and we don't like the name... it feels childish.

                          All things considered, Python has a richer ecosystem and deeper long-term potential. But there's something to be said for how quickly a basic PHP site can be spun up and debugged with minimal knowledge with minimal friction. And that's why it's still around so much today.

                          S 1 Reply Last reply
                          2
                          • B [email protected]

                            LicK PaPeR

                            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
                            #77

                            Replace Postgres with Valkey, then it's LicK ViPeR

                            1 Reply Last reply
                            6
                            • 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.

                              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
                              #78

                              Laravel brought life back to PHP for me. It's elegant. I feels like speaking.

                              And PHP 8 is light-years away from the garbage I grew up on.

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

                                I am an advocate for LKPPR (Linux, Kubernetes, Postgres, Python, React). Doesn't roll off the tongue that well.

                                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
                                #79

                                Get that fucking JavaScript out of here

                                P v_krishna@lemmy.mlV 2 Replies Last reply
                                3
                                • J [email protected]

                                  It's true that the fuckers that stayed in PHP now are getting paid insane amounts of money to maintain systems? I've heard they are the new cobol people.

                                  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 [email protected]
                                  #80

                                  I doubt that the pay is insane yet. There are a lot more PHP devs than COBOL devs. About half of the web still runs on PHP. It's true that COBOL runs about half of the financial world, but PHP is less than 30 years old whereas COBOL programs are relics from decades earlier, and generally only get updated minimally if the systems around them change.

                                  1 Reply Last reply
                                  3
                                  • M [email protected]

                                    Now it was a great while ago I wrote anything in PHP. What icks me is the separation of concern. It has a tendency to cause code that’s concerned with logic and rendering at the same time. The act of moving a button can interfere with the logic, and it obfuscates how the entire website looks like.

                                    Maybe there’s better coding practices to ensure better separation of concern in PHP.

                                    lime@feddit.nuL This user is from outside of this forum
                                    lime@feddit.nuL This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #81

                                    that just sounds like what i hear from react devs.

                                    1 Reply Last reply
                                    0
                                    • natecox@programming.devN [email protected]

                                      Oh sorry, that P actually stands for “PHP: Hypertext Preprocessor”.

                                      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
                                      #82

                                      "Recursive Backronym"

                                      1 Reply Last reply
                                      0
                                      • kshade@lemmy.worldK [email protected]

                                        So PHP may be trash, but don't treat the people using it like trash? Makes sense to me.

                                        lime@feddit.nuL This user is from outside of this forum
                                        lime@feddit.nuL This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #83

                                        lift people up instead of pushing them down. we don't make fun of the language someone is using, we help them get better.

                                        1 Reply Last reply
                                        2
                                        • R [email protected]

                                          Python is a natural evolution for web development, especially once you're past the fundamentals. For someone with no scripting background, PHP is easier to approach. The syntax is more direct, and basic debugging doesn't require any setup. An error happened on x line is the default behavior.

                                          Python's logging system can be tricky to configure properly if you're unfamiliar with the factory and error level handling. Those green people don't have any idea where to put the log or how to let the web server talk to it safely.

                                          It's the little bs like refusing for years to include switch, then when they finally give, they just refuse to allow fallthrough. It's like they said, fine, but it's got to work slightly differently and we don't like the name... it feels childish.

                                          All things considered, Python has a richer ecosystem and deeper long-term potential. But there's something to be said for how quickly a basic PHP site can be spun up and debugged with minimal knowledge with minimal friction. And that's why it's still around so much today.

                                          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
                                          #84

                                          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 1 Reply Last reply
                                          2
                                          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