I'm new to Ember and learning it. As a project I am making a site for an artist friend, and I'd like him to have an Admin backend from which which he can update his portfolio. From a tutorial I know how to take data from an HTML(5) form and put it to a Firebase database, so I'm going to use aFirebase DB for the backend, connected to Ember through EmberFire. I'd like him to be able to select images from the front-end as well - using the HTML5 file -- and then upload those images to the backend, where they will be part of Ember Data and accessible to the Ember model hook. Basically provide with him with a very basic admin front-end -- I was able to figure out how to to this in django once upon a time, but here I'm a bit stumped
I googled and found some fairly complicated solutions -- and it seemed that they advised uploading the image to Firebase Storage -- but none seemed to really fit my needs, which was to integrate the HTML form with Ember, with Ember Data and thus with Firebase. Not sure how to integrate Firebase Storage with Ember -- again, I'm a beginner at this.
Is there a straightforward solution? Is Firebase the best backend solution for my problem -- I am using it because it was what the (very good) tutorial I worked through used. Pointers to a tutorial using Ember 2, or usable code would be appreciated.
Thanks for any help!
Aucun commentaire:
Enregistrer un commentaire