I am using Laravel 5.3 and developing an app for IOS developer. I have been working on a user-user chat. I have already designed the database and backend logic in laravel. Everything is working fine for now.
Now my client wants to send images and videos in chat as well. A chat/Messaging system like Facebook. I am using phpmyadmin (MySql). Current structure:
Question 1 Can anyone help me understand that Is it a good approach to save the image in database for chat purpose (keeping in mind that I am using phpmyadmin) or have to upload it in folder and save the link instead? If I have to save the path to image, then what will my database structure look like?
Question 2 Is there any chat tutorial availabe that save the image in database as well? Or gives the idea how to do that?
Thank you all in advance.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire