V
V
Vadim Timoshenko2015-09-26 14:49:12
PHP
Vadim Timoshenko, 2015-09-26 14:49:12

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

2 answer(s)
D
Dmitry Evgrafovich, 2015-09-26
@Tantacula

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 :)

S
Schoolboy., 2015-09-26
@viphorizon

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 question

Ask a Question

731 491 924 answers to any question