Having a text-based format #770
CodeDoctorDE
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
I find the idea of having everything in one json file more practical. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To have git compatibility, we need to think about having a format that is text-based as an alternative to the binary format based on a zip archive.
We could do it in two different ways:
Adding a folder based setup
Instead of having directories inside an archive, we could write it directly inside folders.
Advantage: All assets are separated in an organized way.
Disadvantage: Handling of multiple files could be tricky. Additionally we need to have a root file to let the app know that this is a butterfly project directory.
Having everything in a json file
Including all assets in a base64 format.
Advantage: One file for everything. You can easily download it and change it.
Disadvantage: Performance issues on large files. Images are very large if there are multiple
Feedback
What do you think? What are your thoughts about this? Do you have a better idea for this?
Beta Was this translation helpful? Give feedback.
All reactions