( I split the below from the original thread as this part was off topic. )
The premise of this is to allow an owner of a page I made for them to update some areas of information.
The Info/data is loaded into their webpage using a json file.
Doing pages like that can make them dynamic in content but there needs to be a way for the owner/client to edit their own content so I do not have to.
There are systems out there that can do this for you/them. Some probably are free!.
Some probably come with the client control panel…
But I do not want to use them… I wanted to see if I could just write a relatively simple page that they could:
Load the live data from their site.
Update /delete/add data /entries in an easy to understand way on the edit page
Save the changes to a new json file.
They then just need to put the json file in it’s folder on there server along with any new images and the like.
So this is just to show it can be done.
The demo page is tailored for my uses. And the code I used also. But not the core of it.
The demo also relies on a certain format to the json file. i.e simple.
The data on the demo page is loaded into dynamically created tables.
At soe point I may post a core coded version that just does the parsing back and forth so others and adapt it for their own use.
The thing I like about this is as long as the json file structure stays the same I can add new data items, change most of their names and they should just be picked up.
Also I can just put this page on their site and the only logging I have o worry about is them to their ftp sever. Which they can do already.