开发者

Flex for mobile: images are better off in assets folder or database

开发者 https://www.devze.com 2023-03-13 02:15 出处:网络
I\'m building a simple Flex App for mobile to test things out. Is it ok to store some images in an开发者_StackOverflow SQLite database or is it better to have them in the filesystem?

I'm building a simple Flex App for mobile to test things out. Is it ok to store some images in an开发者_StackOverflow SQLite database or is it better to have them in the filesystem?

Thank you.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号