Answer the question
In order to leave comments, you need to log in
What is the easiest way to implement such an admin panel?
There is a need to create an administrative page for a one-page site.
Login to the admin panel must occur with a password (it is possible without a login).
The admin page consists of many fields and a "save" button.
After saving the data on the page, the corresponding fields of the admin page change.
I did it with php and mysql. But it's too complicated I think - to have a base for one page. How can all this be implemented using js for example?
Maybe there is some kind of assembly on the Internet of such an admin page with its own api? Throw tags for Google please.
Answer the question
In order to leave comments, you need to log in
As a database, you can use https://github.com/Greg0/Lazer-Database - a database on Json files, or sqlite, it should probably be on every hosting.
There are also solutions for such sites that work without databases, such as automad.org . In general, such as yours in a day or two or three is sawn on the knee on slim php or lumen, so it seems like it makes no sense for developers to think about finding ready-made solutions :)
Well, did you do it in mysql? Simply, you can still store data in files, but this is a bad idea, since mysql will still be faster. It is even better to use MariaDB, it is fully compatible with Mysql, but there are some improvements.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question