I realise that this is quite a broad question, so any general guidance would be helpful.
I have an app, whereby data is downloaded from a sever, and displayed in a table view. Each entry to the tableview also has a picture associated with it. This is where i’m stuck. Do I somehow store the image on my FTP server, and include a link to the image? Or do I directly store the image in the database? Are there any tutorials explaining how to do this?
You can either store the path to your file as a VARCHAR field, but then have to verify the data really exists (someone might have deleted the file and the record in the DB won’t indicate that), or you store the image itself as a BLOB field.
The 2nd approach is more consistent, but makes the DB larger and make you handle BLOB fields. I’d go with the 1st one unless you really need to store the image in the DB.