[IPython-dev] Hierarchical notebook listing
Fri Mar 1 21:00:19 CST 2013
[[ good chatting at Strata yesterday BTW ]]
Pl. see other email which suggests just starting with resolvable HTTP URI
I hope this has not already been discussed and discarded - if so I will
return from self-imposed embarrassment-exile, eventually.
Some of the questions we need to think about:
* What does the web service look like to move around and query directories.
To a first approximation it looks like a web server with REST primitives
that include PUT and DELETE as well as GET, POST.
* Do we map directory paths onto notebook URLS? If so, how?
( we use a file:// scheme, for local paths and an http(s):// scheme for
remote paths with a doc root defined at the target host. )
* How do we build a UI/UX that is extremely simple, but functional
enough to get the job done.
My weak attempt at this: - We don't build a general UI as permissions to
remote stores may make matters complicated. Locally we delegate to the file
browser, remotely we follow what looks like a directory listing when you
browse say an Apache Webserver's directory that has read permissions. this
is not how we implement it but it is a starting point for how it might look.
* How do we want to abstract these things for different notebook backend
IMHO resolvable HTTP URI takes us most of the way - insist on a REST API
for remote backends else you'll be navigating multiple levels of adapter
* How do notebook directories get mapped to kernel cwds?
define an "IPyNB root" just like an HTTP document root "/" in a webserver.
define it separately on the client, separately on the server/kernel machine.
The HTTP URI is with respect to the root of whatever the HTTP target is.
This also avoids exposing the actual dir structure and allows transparent
changes of implementation, host machine, host OS ...
*BEST* would be to define a standard REST interface for storage backends in
a separate doc.
On Mon, Feb 25, 2013 at 4:49 PM, Brian Granger <email@example.com> wrote:
> Some of the questions we need to think about:
> * What does the web service look like to move around and query directories.
> * Do we map directory paths onto notebook URLS? If so, how?
> * How do we build a UI/UX that is extremely simple, but functional
> enough to get the job done.
> * How do we want to abstract these things for different notebook backend
> * How do notebook directories get mapped to kernel cwds?
> On Mon, Feb 25, 2013 at 2:03 AM, Robert Young <firstname.lastname@example.org> wrote:
> > Hi,
> > This email is intended to start a conversation around hierarchical
> > listings. I submitted a pull request  and it was pointed out that
> > supporting directories deserves some thought and discussion.
> > Rob
> >  https://github.com/ipython/ipython/pull/2977
> > _______________________________________________
> > IPython-dev mailing list
> > IPythonemail@example.com
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> firstname.lastname@example.org and email@example.com
> IPython-dev mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev