Hello everyone,
I’m working on application. In fact, I think before to code something and make some tests. I’m a front-end developer.
I’d like to make an app for my ceo where the collabs of my company can find their process.
I’d like to make some beautiful process, with SVG illustrations, but I would like to know how to manage SVG in my db. And I’d like to know which db is the best for this kind of project ? noSQL (mongoDb) or mySQL (mariadb) ?
I don’t know how to proceed too to generate the SVG files.
I’d like to generate illustrations from a free bank of illustrations, so I download the SVG file, but how can I do to integrate the file in my db ?
You can store images within the database “blob” column. And you can also store a link to a regular file on the file server. As svg normally have small footprint, I think storing images within the database is OK.
When I download the SVG illustrations, I have a file. When I open this file, I have, indeed, a link, but the path is on my computer like : /home/oem/Downloads/… So I have to put i one a Sharepoint for instance ? How my server application can access to it ?
If you chose this option, you must upload the file to the server and store the path in the database https://hosting.go4webdev.org/img/cloud.svg (or /img/cloud.svg) like an ordinary jpg or png image.
The “img” folder can be on a separate server (full path) or at the same level inside your website other folders (relative path). I put all my website stuff in separate folders. Like img, js, css, html, download etc. I have seen other ways to organize the content.