|
|
|
|
|
by Kequc
4254 days ago
|
|
If you have two applications making use of the same database, then build a shared ORM layer and have the applications interact with that. Modern applications do not interact with the database directly there is an ORM. Separate that out and share it between however many applications you want you should be able to swap out data stores not be confined to them. |
|
I've also never made an application that doesn't eventually want to do something that the ORM I'm using doesn't know how to do, at which point it makes a lot more sense to interact directly with the database than to shrug my shoulders and say "I guess I can't do that".
Maybe my applications just aren't "modern" enough.