Answer the question
In order to leave comments, you need to log in
CRUD bike - is it worth it?
Hi %username%.
At the moment, I just finished writing a tricky software that manages vpn connections in our organization. And since not only I will have to use this, they decided that a certain gui was needed for this business, namely, a web interface.
In general, the matter is not God knows how complicated - 50<N<100 hubs, from each of them SNMP statistics are dripped to the analytics center via two channels, after the statistics are analyzed, a semi-automatic transition to another routing configuration is carried out. Of the manual pieces, only the approval of the administrator on duty is required here, so that in the event of something terrible, everything can be quickly returned to its place.
Accordingly, for sensible management of this matter, two forms of information presentation are needed - summary statistics (remarkably shown by zabbix), and viewing a certain set of specific parameters with the possibility of editing them (including group ones).
In fact, this is implemented through a bundle of codeigniter + bootstrap, a sign with a list of hubs, forms with parameters, and an “make changes” button. And writing the code that manages all this drives me into frank anguish, because for this you need:
Answer the question
In order to leave comments, you need to log in
A quick Google search turned up several options. The operation of autogenerating code based on a database is called DB Scaffolding. there are a couple of services and systems that create or simplify the creation of such forms:
www.phpscaffold.com/ - Creates PHP scripts based on a database dump.
ajaxcrud.com/ - The system simplifies the creation of CRUD forms by describing the form fields in the code.
www.grocerycrud.com/ is a very simple and convenient CRUD builder. In just a couple of lines, you have the crud for any table in the database.
Further search on similar services for different programming languages and databases will lead you to the desired result.
For the last six months I have been working with the .net Entity Framework - how much more convenient and concise my bike was.
Eh.
The Yii2 framework for PHP has a crud generator. With him, such things are sawn in a day)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question