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.

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

      • LiPoly@lemmynsfw.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 days 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.