[owncloud-devel] External Storages

Pierre Jochem pierrejochem at msn.com
Fri Mar 13 10:07:20 GMT 2015


Dear all,

just as information I'm still working on this but there are some changed in OC 8 and my storage needs to be modified. 

As soon as it is working again I will write a short documentation.

Very best regards,

Pierre


-----Ursprüngliche Nachricht-----
Von: Jos Poortvliet [mailto:jospoortvliet at gmail.com] 
Gesendet: Donnerstag, 18. Dezember 2014 11:52
An: devel at owncloud.org; devel at owncloud.org
Cc: Pierre Jochem; Pierre Jochem
Betreff: Re: [owncloud-devel] External Storages

** Unable to verify signature, missing public key.

On Thursday 18 December 2014 09:51:18 Pierre Jochem wrote:
> Dear Jos,
> 
> 
> 
> I will deliver what I learned as soon as I’m finished with the storage.
> 
> 
> 
> Current stage: I can see the files from the storage and can change a 
> directory, but need to implement further methods for creating, 
> deleting, rename a directory and a stat function for the files.
> 
> Download is only half done. Can see preview images but file download 
> is not working... Trouble shooting is sometimes a bit hard but that is 
> a challenge for me :-D

That is the right attitude ;-)

Thanks!

> Cheers,
> 
> 
> 
> Pierre
> 
> 
> 
> 
> 
> 
> 
> Von: devel-bounces at owncloud.org [mailto:devel-bounces at owncloud.org] Im 
> Auftrag von Jos Poortvliet Gesendet: Mittwoch, 17. Dezember 2014 22:54
> An: List for Awesome Developers of ownCloud
> Betreff: Re: [owncloud-devel] External Storages
> 
> On Dec 12, 2014 10:35 AM, "Pierre Jochem" <pierrejochem at msn.com> wrote:
> > Hi Vincent,
> > 
> > thank you for your fast reply and time, I will check your links and 
> > I think that will help me a bit :-)
> 
> Consider using what you learn to improve the documentation, I would be 
> happy to help you turn a rough draft into the propped formatting!
> > Cheers,
> > 
> > Pierre
> > 
> > 
> > 
> > -----Ursprüngliche Nachricht-----
> > Von: devel-bounces at owncloud.org [mailto:devel-bounces at owncloud.org]
> > Im Auftrag von Vincent Petry
> > Gesendet: Freitag, 12. Dezember 2014 10:10
> > An: List for Developers of ownCloud
> > Betreff: Re: [owncloud-devel] External Storages
> > 
> > Hello Pierre,
> > 
> > Have a look at how the files_external app does it, for example look 
> > at "swift.php".
> > 
> > Basically you need to provide an implementation of the "Storage"
> > interface. Best is having it based on "\OC\Files\Storage\Common".
> > See
> > https://github.com/owncloud/core/blob/v7.0.4/apps/files_external/lib
> > /swif
> > t.p hp#L32
> > 
> > Then you register the backend from your app with a call to
> > OC_Mount_Config::registerBackend():
> > https://github.com/owncloud/core/blob/v7.0.4/apps/files_external/app
> > info/
> > app .php#L107
> > 
> > Note: this might be improved a bit in OC 8. I realize these APIs 
> > aren't even public (public APIs start with \OCP).
> > But that should do for now.
> > 
> > Another example here for iRODS: 
> > https://github.com/owncloud/files_irods
> > 
> > Hope this helps.
> > 
> > Cheers,
> > 
> > Vincent
> > 
> > On 12/12/2014 08:39 AM, Pierre Jochem wrote:
> > > Dear Owncloud Developer Team,
> > > 
> > > I want to create own external storages but due to missing or 
> > > unknown
> > 
> > documentation it is hard to figure out what does the class needs to 
> > populate the file area. I'm really sure you use DI for the magic and 
> > a small class overview would be awesome and could speed up my 
> > development which I will share with everybody when I'm done. I will 
> > write a documentation for this as consideration.
> > 
> > > Thank you in advance
> > > 
> > > Cheers
> > > 
> > > Pierre
> > > _______________________________________________
> > > Devel mailing list
> > > Devel at owncloud.org
> > > http://mailman.owncloud.org/mailman/listinfo/devel
> > 
> > _______________________________________________
> > Devel mailing list
> > Devel at owncloud.org
> > http://mailman.owncloud.org/mailman/listinfo/devel

Disclaimer:
Everything I do and say is based on my view of the world today. I am not responsible for changes in the world, nor my view on it. Everything I say is meant in a positive and friendly way, unless explicitly stated otherwise.
find me on blog.jospoortvliet.com



More information about the Devel mailing list