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
    arrow-up
    0
    ·
    11 days ago

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

    and maybe most importantly, why would you use PHP?

    • Ephraim@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      11 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?

      • ReversalHatchery@beehaw.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 days 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