Skip to content

Three projects in one! :) #6

@shimaore

Description

@shimaore

What I mean is that the project encompasses:

  • a project that does "discovery over CouchDB" (share-*)
  • a project that does "signalling over CouchDB" (p-signal-*)
  • a project that does "PouchDB over DataChannel"

and it could be useful to see those as separate entities. (For example it'd definitely be nice to be able to use the "PouchDB over DataChannel" piece to experiment with different discovery / signalling pieces.)

Right now discovery and signalling are definitely mixed together (in SharePouch).

The "PouchDB over DataChannel" piece is kinda in PeerPouch but not fully.
One thing I noticed is that rpc (rpc.bootstrap(..) etc.) is in SharePouch but never used there, maybe those three lines could move to the beginning of PeerPouch right after the handler is identified? (In which case _wrappedAPI wouldn't have to be exposed outside of PeerPouch either since that's the only place it's used.)

Maybe I'm just overthinking this, trying to wrap my head around the various components. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions