Re: Minimum Viable Database Component

2015-04-30 Thread Malcolm Sparks
I think it can be a dangerous road trying to create abstractions over data sources. It can be a lot of work maintaining a stub/mock implementation to work alongside a database, and sometimes it's not that much more work (or less work) to install Postgres, SQLite, or whatever you're using,

Re: Minimum Viable Database Component

2015-04-30 Thread Jeroen van Dijk
Hi Andy, I'm not aware of such a project, but I can confirm that it is an approach that we apply internally at AdGoji and has been working well for us. For instance, we have (simple) components that mock Kafka and Redis in a way that make them feature compatible to these services in the context

Re: Minimum Viable Database Component

2015-04-30 Thread Stuart Sierra
Hi Andy, That was just an example I made up for the slides, and not a very good one. Usually, the functions/protocols you implement for your components are specific to your application. –S On Thursday, April 30, 2015 at 4:54:38 AM UTC+1, Andy Chambers wrote: Hi All, I'm trying to follow

Re: Minimum Viable Database Component

2015-04-30 Thread Derek Troy-West
Hi Andy, We use component at SMX, and do follow an approach similar to the one you hint at but as Stuart suggests we tend to have protocols that are more application-centric. For instance, we use Cassandra extensively and our general interaction with that is captured by the protocol:

Minimum Viable Database Component

2015-04-29 Thread Andy Chambers
Hi All, I'm trying to follow the component architecture for an app I'm working on and wondered if I was missing something. In the Just enough structure talk, one of the examples Stuart presents is a DB component that contains just a small selection of DB related functions (i.e. insert, and