• I’m hosting a json file in my website and I need to create a page in my website that allows you to add, edit and delete items; and eventualy edit the file.
    can you guide me how to?

    • This topic was modified 2 years, 3 months ago by shaharbad.
Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    I suggest keeping the master data source in the DB. DB operations are much more efficient than file operations. Editing would be via some sort of form interface. Exactly how that looks and works is up to you. Users can still download JSON data as though it were a file, except the data comes from the DB and the download stream is generated dynamically from the DB data.

    Actual files are best thought of as static data. Data that needs to be regularly changed is best kept in a DB.

Viewing 1 replies (of 1 total)
  • The topic ‘how to add a crud operations that edits a file in my website?’ is closed to new replies.