I found out JSON could work as a small local database, thinking of storing records of at least 1135 cars, televisions and handbags, while allowing downloads through magnet links.

I would like to see if there are projects that have already done this or if a standard database with SQL and PHP is better.

  • @[email protected]
    link
    fedilink
    English
    92 days ago

    why would you store cars, televisions and handbags for a bittorrent tracker?

    and maybe most importantly, why would you use PHP?

    • EphraimOP
      link
      fedilink
      English
      12 days ago

      Can’t tell you right now.

      PHP can be old but it is still taught at schools, are there other languages I should use?

      • @[email protected]
        link
        fedilink
        English
        21 day ago

        it is taught, and maybe it’s better now than when I was taught, but I would rather use Java or Rust. reasons include PHP’s syntax being insane, and it regularly having security issues by itself, even without the ones that the web dev creates

        • @LiPoly
          link
          English
          122 hours ago

          What are you talking about? The syntax is basically C with a few $ and -> sprinkled in, and it has just about as many security issues as any other language. Plus, it has been receiving a lot of great new features over the last few years.

          I think you’re confusing WordPress with PHP.

    • Rikudou_Sage
      link
      fedilink
      English
      42 days ago

      No idea about the first, but php because it’s a pretty cool and modern language.