Articles tagged with "gridfs"X
Displaying 1-1 of 1 result(s).

Upload files in Yii2 with MongoDb and GridFs

Created 3 years ago by edoardo849How-tos3 comments – viewed 19,175 times – ( +8 / -1 ) – version 2.0
Uploading files in a webapp can be extremely tricky and sometimes the quickest way to do it is to store the file directly in the webserver or into a DNS (like Amazon S3) and then to save the link and the metadata inside a table in the DB. The thing is that you'll have to deal with file permissions, server storage, file management and so on (which is perfectly fine, by the way).