Skip to content

Decide fate of apptools.naming #146

@corranwebster

Description

@corranwebster

This is an implementation of the Java Naming and Directory Interface - or at least the naming part of that - with specific implementations for a hierarchy of Python objects and for file system stores. It is used by Mayavi, but possibly only as part of the Wx backend.

It is intended to provide a standard API for hierarchical namespaces that standard interfaces can then build on top of, but I have a suspicion that at least some of the code that duplicates the Java APIs is over-engineered for Python (eg. the InitialContextFactory object feels very much like it could just be a callable).

If it is to be kept, then there are some improvements that should be made:

  • it has its own adapter system; this should be converted to use standard Traits adaptation
  • the pyfs_context seems of limited utility for Enthought and insecure by default (since it uses pickles); a JSON-backed version might make more sense if it is needed at all
  • perhaps split out implementations from abstract/base classes
  • separate out the UI components and fix them up (see Apptools naming UI is Wx-only #138)
  • generally clean-up the codebase.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions