Question: How do apps deal with databases?
I was wondering how you deal with apps that require a (closed) database? Especially in relation to AIGNE generated applications?
Also, I would suggest to show a video on the Blocklet homepage that demonstrates how easy it is to create a blocklet based application. Right now, the website / docs can be experienced as a maze for new comers.
3 replies
If the app is composed of multiple blocklet components, its database is usually "composed" since each component needs to maintain its own state, it depends on each component on how to handle database storage, the same principle applies to AIGNE generated apps.
To create/bundle/publish a blocklet on the ArcBlock platform, there are 2 ways for different user types:
More docs/tutorials/videos are on the way, and they will be organized in a way that different types of users can find their way to getting started on the ArcBlock platform easily.
Thanks for answering. Is the composed still reachable for the developer only? Would that be a database like PostGress or MySQL or something else?
My experience is that you can use any database, however if you were to publish a blocklet requiring a specific database outside of sql lite, you may want to make the database url a required field.