3 ms·
What about the database? All these Jamstack articles always seem to skip past a db in their examples and I have never seen an "app" without an associated databa
by rishav_sharan 6y ago
What about the database? All these Jamstack articles always seem to skip past a db in their examples and I have never seen an "app" without an associated database.
Or is the KV store supposed to act like an app database?
- asim 6y agoFounder of Micro here. Yes the key-value store is basically like a crud database. We're working on some modelling on top of that and something we'll present more like a document database. Watch this space.
- rishav_sharan 6y agoWill it be possible for you folks to add a Realworld example for Micro? https://github.com/gothinkster/realworld https://github.com/gothinkster/realworld it will help someone like me, sitting on the fence about this whole idea, a better starting point for using Mirco for my use cases.
- asim 6y agoHi, thanks for asking. This is the first time I've seen the project realworld so please excuse my ignorance, I'm not in the JS community. We will have a look and try to get around to this. Right now you can look at https://github.com/micro/services https://github.com/micro/services for any of our backend examples.
- siscia 6y agoI worked a bit on this space, mostly for https://simplesql.redbeardlab.com/ https://simplesql.redbeardlab.com/ (not running at the moment, but if folks would like to test it, please leave your email or contact me) and https://redisql.com https://redisql.com KV is the simplest thing you can provide, but in general it is hard to build applications on top of it, especially with changing requirements. KV means basically that all your query and way to interact with the storage must be well-known in advance. While with SQL, all your data is there and it is fast to add an index. The problem with the solution above are the wrapper for libraries, nobody want to write a django or rails app, and integrate with an HTTP service for the database. But maybe people are willing to do so for micro...
- friendly_chap 6y agoYeah there is a KV store which is more lower level and an ORM like library on top, check this: https://github.com/micro/dev/tree/master/model https://github.com/micro/dev/tree/master/model
- harrisreynolds 6y agoThis is a great point and one reason I am left scratching my head when considering building applications on the JAM stack. We are working on a solution to this with WeBase [1] and I'd love to see us do an integration with Netlify here where you build with WeBase and host on Netlify (and get automatic API integration with your data models). [1] https://www.webase.com https://www.webase.com
- swyx 6y agoyou can achieve that with netlify build plugins but it is still a fairly basic stage right now - get in touch with their DX team! (disclaimer, i worked there)
- lucasverra 6y agowhat's the pitch vs an airtable wich i already use ?
- harrisreynolds 6y agoAirtable is a great platform and they have built a nice UI on top of their data modeling tools. But... they don’t allow customization of the UI. WeBase has the same power of Airtable for data models combined with the ability to create custom views like you would do with Webflow.