I’m building a simple Flex App for mobile to test things out.
Is it ok to store some images in an SQLite database or is it better to have them in the filesystem?
Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If images are bundled with the app, I would use filesystem (or embed them in the Flex App which is basically the same thing).
If images are saved based on user input, SQLite might be the better solution.
Storing images in a database is usually not ideal. But allowing users to write to the filesystem isn’t ideal, either. So you might have to pick the lesser of 2 evils.