Dynamic ORM - Perl

I am looking to update an existing perl web application and am wondering if there are any suggestions for solving a specific problem:

The application is used by several clients, each of which has a customized dataset behind the scenes. There are very few matches between the clients in the data set. However, they all download and use the same software. There are many configuration files that talk about how to process this client and understand its customized dataset.

In essence, there are common functions, but different data sets that these functions work on. I am looking for a way to abstract data in ORM. However, most ORMs seem to expect a common dataset behind the scenes. I need to either load the ORM modules dynamically based on the client used, or dynamically create an ORM structure based on the same.

eg. The software provides a view / edit / delete function, but

Client A Manages Tables

Customer B Car Management

The View function downloads configuration files and has custom template files for each client that are related to the type of data they manage.

Any suggestions?

+3
source share
2 answers
0

Rose::DB::Object (RDBO).

Loader. , RDBO, #rdbo irc.perl.org .

( ) . , DB, .

0

Source: https://habr.com/ru/post/1782656/


All Articles