Timeline for How to set up an architecture and a strategy allowing the persistence of the data of a MUD in a relational database?
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 25, 2019 at 23:46 | answer | added | Silenthobo | timeline score: 1 | |
| Jul 3, 2019 at 18:05 | comment | added | Tim Holt | You might check out CoffeeMud's documentation at coffeemud.net/guides/Programming.html. Though it is Java based, you might be able to glean some approaches to persistence. Specifically take a look at the Database Tables section (coffeemud.net/guides/Programming.html#DIG6) where the author discusses persistence and how his approach evolved. | |
| Jul 2, 2019 at 20:12 | comment | added | Vaillancourt♦ | Hey I'm just thinking out loud... Did you consider not using Classes/instances that use references to other objects, but using instead structs of data, handles to instances, and "systems" to act on this data? This would reflect the state of your database, allowing you to interface with it more easily. | |
| Jul 2, 2019 at 17:25 | comment | added | Daily45 | I am not looking for an ORM. I would prefer to solve this problem by myself. I also read that in the C++ community, the use of ORMs was not very popular. It means that they are moving towards other solutions. And I would like to understand which ones. I am certainly not the only C++ user who wants to save his data in a relational database without using an ORM. | |
| Jul 2, 2019 at 14:57 | comment | added | Philipp | What you are looking for is an ORM wrapper library. There are lots and lots of options available. Unfortunately we can not recommend you a specific one, because we generally don't give technology recommendations. | |
| Jul 2, 2019 at 13:43 | history | edited | Daily45 | CC BY-SA 4.0 | edited body |
| Jul 2, 2019 at 13:18 | history | asked | Daily45 | CC BY-SA 4.0 |