‹ BackHN Continuity

Thread

SAML: A fractal of bad design

353 points · 190 comments · aray07

  1. bigquama · · focus · HN ↗
    I have to know. Is this a play on the ever-so-popular <a href="https:&#x2F;&#x2F;eev.ee&#x2F;blog&#x2F;2012&#x2F;04&#x2F;09&#x2F;php-a-fractal-of-bad-design&#x2F;" rel="nofollow">https:&#x2F;&#x2F;eev.ee&#x2F;blog&#x2F;2012&#x2F;04&#x2F;09&#x2F;php-a-fractal-of-bad-design&#x2F;
    1. all2 · · focus · HN ↗
      This is one of my favorite articles. I refer back to it whenever the subject of PHP comes up.
      1. g8oz · · focus · HN ↗
        Have you kept up with the improvements in the latest PHP versions?
        1. jojobas · · focus · HN ↗
          Nobody calls me McGregor the Bridgebuilder.
        2. all2 · · focus · HN ↗
          I have not. As above, I just find the article humorous.
      2. esskay · · focus · HN ↗
        I hope its referred to as &quot;this is the article idiots who know nothing about modern php reference in a futile attempt to make it appear they know what they are talking about&quot; as every time someone mentions that article it seems to be when they want to show everyone how daft they are.
        1. [deleted] · · focus · HN ↗

          [deleted]

        2. lelanthran · · focus · HN ↗
          There&#x27;s a lot of hype-chasing morons who diss old languages without knowing the first thing about them.

          You&#x27;d be shocked at the number of developers that believe C has no types.

        3. bel8 · · focus · HN ↗
          Yeah it&#x27;s an instant red flag when someone links that outdated article.

          Signals their ease to spit out incorrect information with confidence. That has no place in engineering.

          1. imtringued · · focus · HN ↗
            I use a 20 year old web framework with an 18 year old build system and it was good the moment it came out. That&#x27;s 66% of the lifespan of old PHP (its still around) and 181% of the lifespan of modern PHP.

            You guys are in an awkward position where you are both the old grandpa and the new kid on the block simultaneously while there are competent middle aged workers around.

            1. bel8 · · focus · HN ↗
              &quot;You guys&quot;? lol it&#x27;s just a tool. I don&#x27;t identify as &quot;a PHP guy&quot; for the same reason I don&#x27;t identify as a &quot;Rust guy&quot;. And labeling others like that is yet another red flag.

              I use many languages. Some more than PHP. But that&#x27;s besides the point.

        4. all2 · · focus · HN ↗
          I just thought it was funny. But ok.
      3. bbg2401 · · focus · HN ↗
        I&#x27;ve not got a huge amount to appreciation for PHP but I&#x27;m not sure it makes sense in 2026 to refer back to an article which suggests Perl with Catalyst as an alternative to PHP with Symfony or Laravel.

        I suppose you are more a fan of the histrionic tone of the criticism than anything? In which case, I&#x27;m with you there. It&#x27;s equal to the most unhinged but technically correct rants of Zed Shaw for me.

      4. bigquama · · focus · HN ↗
        Same. I toss this link out probably more than any other article reference I&#x27;ve got. I remember the first time I read it very shortly after it was written.

        It&#x27;s a classic that everyone should at least know about and have read at least once.

    2. amiga386 · · focus · HN ↗
      Because you asked that, the article is now called &quot;SAML Considered Harmful&quot;
    3. schwag09 · · focus · HN ↗
      Yes it is, good catch. It&#x27;s even linked under the text &quot;especially at the time&quot; in the post. I probably should have referenced it more prominently, but I thought it was a fun Easter egg under a more subtle link.

      As the post mentions, I worked on the DAG (an on-prem IdP implementation) for many years, which was based on simpleSAMLphp. So &quot;PHP: a fractal of bad design&quot; was our other north star after the SAML specs for avoiding critical security issues. I spent many hours poring over that blog post trying my best to avoid PHP bugs.

      Here was a fun one that occurred due to PHP&#x27;s wonky in_array behavior: <a href="https:&#x2F;&#x2F;simplesamlphp.org&#x2F;security&#x2F;201710-01" rel="nofollow">https:&#x2F;&#x2F;simplesamlphp.org&#x2F;security&#x2F;201710-01

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.