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.

  • @ReversalHatchery@beehaw.org
    link
    fedilink
    English
    114 months 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
      34 months ago

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

    • EphraimOP
      link
      fedilink
      English
      24 months 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?

      • @ReversalHatchery@beehaw.org
        link
        fedilink
        English
        34 months 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

        • EphraimOP
          link
          fedilink
          English
          14 months ago

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