Guide 40 – Install PHPRunner development on multiple instances with customization |
7/11/2022 7:11:39 PM |
PHPRunner Tips and Tricks | |
![]() Many of the consult I have had were as a result of how to develop an application in PHPRunner and install it for various Offices or Companies.
There are many more questions, but these are often the "big" and difficult to answer. Normally I indicate that if they are data from a single company , but the analysis of them is by department, warehouse or something similar, a single database is used and in all the tables the department, warehouse, etc., is indicated, to manage authorizations according to that division of information. Now, if the same application is for unrelated companies and the information is never going to be analyzed by joining the data of these, the most interesting thing is that they are different instances of the database and also of applications (in order to personalize each business). And in this case, how do we manage the project in PHPRunner?
Goal Design an alternative to have a single PHPRunner project and install it for several companies, customizing the instance according to the characteristics of the company to which it is going to offer service. Technical Solution Really, I am not inventing anything, what you want to obtain is what is usually available for any PHP development, that is, that the application is customized through a configuration file. In this file, in addition to the connection data to the database, you must also have customization of the characteristics that are different between the companies that use the application. To address these requirements in the PHPRunner solution, I have defined:
If you are interested in this article, keep reading the solution proposal through this link. |
|