Re: Virtual Filesystem

From: Date: Thu, 26 Sep 2002 15:29:54 +0000
Subject: Re: Virtual Filesystem
References: 1 2 3 4 5 6  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-9549@lists.php.net to get a copy of this message
Chuck Hagenbuch wrote:
Quoting Alan Knowles <alan@akbkhome.com>:
Im not sure what the direction of this is now - Jon are you still looking at creating a new System_VFS?
I was hoping we could avoid a fork, personally. Its a classic API problem, as usual there are more than one way to skin the cat..
options for this I guess.. a) Develop a seperate VFS with an object based API - later merge a wrapper that supports a Array based API ontop of it.. b) Extend the existing API, and build the Object based API ontop of it.. ---------------------------- +'s and -'s for each approach.. (I'm sure there's more in this list) a) + It will have no direct BC issues, and can be kept as experimental while being developed - It will be untested...(other than by the developers applications) - The BC wrapper may or may not be developed, depending on if somebody needs it.. b) + It's a proven solution known to work well from the start, using the existing API - The API may face conflicts.. - eg. we cant impliment a method createFolder on the new API, because it is used in the old API. (although I dont thing there is a big problem with the API I mentioned, except for the factory method.) - Things might break while it's under development - hence affecting applications that depend on it... Chuck, whats your feeling on this, I was especially worried about putting VFS into an experimental state while it was an essential part of horde.. Regards Alan
anyway - this is the roughtly API, I got so far, although I'm still working through the issues with it..
Again, I'd love to get patches, and anyone who wants to work on this consistently should get a Horde CVS account... -chuck -- Charles Hagenbuch, <chuck@horde.org> "After a few minutes the most aromatic and nice smelling Italian coffee will come out of the exhaustpipe." - Our stove-top espresso pot


« previous php.pear.dev (#9549) next »