How is the database of a WEB application created and configured?

Asked

Viewed 90 times

1

How is created and configured database of an application WEB? Routines responsible for the creation of the database and all CRUD in the application itself when it is first started on the server or must do this procedure through the server itself SGBD or some interface that provides access to the bank?

Usually in Desktop applications the database is created and configured at runtime when the application is first started or this process is done by an installer. With applications WEB occurs in the same way?

  • 1

    I’m not going to comment on answers, because I don’t have much information, but in my view, that’s pretty relative. Generally, the largest web applications provide an install folder, which has all the installation script and configuration of the application. The main system only identifies if there is a config file and an install folder, so it will know if the application has already been installed or not, and if it was not, redirects to the install folder. There it will be possible to validate the minimum requirements necessary for the application, as well as to collect important data such as the database and generally

  • 1

    The data of the first administrator to be registered in the system. As I said, depending on the application, this is not a small code, which if placed in the main application, would leave more mess and for no benefit. And there we are not even considering the security problem, since the installation files would contain important information about the system, especially about DBMS. Hence, also, that applications request the user to delete the install folder after completing the process.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.