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
    91 month ago

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

    and maybe most importantly, why would you use PHP?

    • Rikudou_Sage
      link
      fedilink
      English
      41 month ago

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

    • EphraimOP
      link
      fedilink
      English
      21 month 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
        31 month 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
          21 month 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.

        • EphraimOP
          link
          fedilink
          English
          11 month ago

          You have a point, but to be honest my only concern for this project would be hiding from the ESA.