sausin / livewire-ovh

A livewire component to make file uploading to OVH OS containers a cinch
MIT License
0 stars 0 forks source link

Goals #1

Open sausin opened 4 years ago

sausin commented 4 years ago

Just a quick list of things that the package is intended to do:

sausin commented 4 years ago

The repo is hopefully going to just be a shell for discussions and getting things in order. Once that is done, we can hopefully make it so it could just be manageable changes on the sausin/laravel-ovh package

iksaku commented 4 years ago

We could spin up a Livewire plugin somehow, which would rely on laravel-ovh package for the Form Post API... This way, if there’s an update to the Livewire interfaces we could just update this package, and keep the base one intact (if no update is required)

sausin commented 4 years ago

If possible, that would actually be good!

I was thinking we can just finalize a list of things, the outline of how everything should work before digging into the code.

I haven't looked enough into livewire from a plugin perspective. Any good examples as a starting point?

iksaku commented 4 years ago

There are some “components” made by other developers, however, those are intended to be “extended” for functionality.

For this package, we should look into the “include in your existing component”, like how traits work.

I’ve done some custom traits that extend the functionality of my Livewire components (and they’re reusable!), and Livewire File Upload feature is actually implemented as a Trait as well. Maybe we should look into that sort of thing.

For reference, here is a custom Livewire-select component