[weboob] Storage data system

Laurent Bachelier laurent at bachelier.name
Thu Apr 1 13:15:32 CEST 2010


I agree. If stuff is to be shared between frontends, I think it should
be stored by the backend; I can't see a case where sharing data
between frontends wouldn't just be a design flaw.

On Thu, Apr 1, 2010 at 12:00, Romain Bignon <romain at peerfuse.org> wrote:
> Hi,
>
> Here a new problem, and I don't have any solution, this is a system to allow
> backend to store data.
>
> Firstly, the main question is to know if a backend instance might share his
> saved data between frontends, or if every frontend stores his own copy of data
> for a specific backend instance.
>
> For example, with two frontends (monboob and havesex, for example), who uses the
> same backend instance “aum1”, do them share the storage or not?
>
> If it is shared, I think this is to weboob to give an object to backends, and it
> stores data in a file ~/.weboob/backendsdata for example.
>
> If it is NOT shared, the better thing is to let frontend give a class which
> implement a specific interface.
>
> Note that, in my opinion, I think we don't need to share data between frontends,
> and this is a good thing to let frontends giving the class (or to not giving
> anything, for light frontends like “travel”).
>
> Romain
>
> _______________________________________________
> weboob mailing list
> weboob at lists.symlink.me
> http://lists.symlink.me/mailman/listinfo/weboob
>
>



More information about the weboob mailing list