Re:Building an interface (even if there's only one implement...
by durazabu on Wednesday May 25, 2022 @11:06PM
(#31513930)
Yes, you go further than 12 factors with my favorite point of the article:
> It’s much better to have a DataBackend that has implementations like Postgres14DataBackend and MySQL8DataBackend rather than just changing the driver: 'postgres' to driver: 'mysql' in some configuration file.
> It’s much better to have a DataBackend that has implementations like Postgres14DataBackend and MySQL8DataBackend rather than just changing the driver: 'postgres' to driver: 'mysql' in some configuration file.