Closed andrewvmail closed 6 years ago
Haven’t a clue I’m afraid mate. I haven’t had to encounter S3 for user uploaded objects yet so wouldn’t be able to recommend anything from experience.
Dave
PS: Rumour has it this is due in a Laravel release or perhaps something Taylor is developing independently.
On 16 February 2014 at 12:51:11, Andrew (notifications@github.com) wrote:
Want to use S3 to upload files just wondering what is most recommended by the author. I can probably hack it up to make it work. But just wondering what would others do.
Cheers!
— Reply to this email directly or view it on GitHub.
+1
Need S3 to be able to use this on Heroku! I look forward to seeing where this is going.
Hi Dave, I got a question.
Inside "ObjectBaseController __construct" there is this line $this->uploads_model = App::make('Davzie\LaravelBootstrap\Uploads\UploadsInterface');
I understand it's putting the UploadInterface object to the uploads_model variable. What I don't get is how did the interface linked up with the UploadRepository.php I don't see any thing inside the interface file that links up to the UploadRepository
Checkout the magic of IoC bindings: https://github.com/davzie/laravel-bootstrap/blob/master/src/bindings.php
=)
On 18 February 2014 at 11:27:37, Andrew (notifications@github.com) wrote:
Hi Dave, I got a question.
Inside "ObjectBaseController __construct" there is this line $this->uploads_model = App::make('Davzie\LaravelBootstrap\Uploads\UploadsInterface');
I understand it's putting the UploadInterface object to the uploads_model variable. What I don't get is how did the interface linked up with the UploadRepository.php I don't see any thing inside the interface file that links up to the UploadRepository
— Reply to this email directly or view it on GitHub.
Sweet!! Thanks. Didn’t notice those did it.
Andrew Tan
On Tuesday, February 18, 2014 at 3:29 AM, David Thorpe wrote:
Checkout the magic of IoC bindings: https://github.com/davzie/laravel-bootstrap/blob/master/src/bindings.php
=)
On 18 February 2014 at 11:27:37, Andrew (notifications@github.com (mailto:notifications@github.com)) wrote:
Hi Dave, I got a question.
Inside "ObjectBaseController __construct"
there is this line
$this->uploads_model = App::make('Davzie\LaravelBootstrap\Uploads\UploadsInterface');I understand it's putting the UploadInterface object to the uploads_model variable.
What I don't get is how did the interface linked up with the UploadRepository.php I don't see any thing inside the interface file that links up to the UploadRepository—
Reply to this email directly or view it on GitHub.— Reply to this email directly or view it on GitHub (https://github.com/davzie/laravel-bootstrap/issues/22#issuecomment-35375190).
Want to use S3 to upload files just wondering what is most recommended by the author. I can probably hack it up to make it work. But just wondering what would others do.
Cheers!