Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abstractions #1349

Open
amadolid opened this issue Oct 7, 2024 · 2 comments
Open

Abstractions #1349

amadolid opened this issue Oct 7, 2024 · 2 comments

Comments

@amadolid
Copy link
Collaborator

amadolid commented Oct 7, 2024

ABSTRACTIONS

The target is to isolate each plugin implementations. This will also allow developer to have full control on their anchor/architype classes.
This will also allow developer to utilize serialize / deserialize methods that doesn't collide with other implementations.

INTERFACE JACLANG IMPL JACCLOUD IMPL
BaseJID JID(BaseJID) JID(BaseJID)
BaseAnchor N/A N/A
BaseNodeAnchor(BaseAnchor) NodeAnchor(BaseNodeAnchor) NodeAnchor(BaseNodeAnchor)
BaseEdgeAnchor(BaseAnchor) EdgeAnchor(BaseEdgeAnchor) EdgeAnchor(BaseEdgeAnchor)
BaseWalkerAnchor(BaseAnchor) WalkerAnchor(BaseWalkerAnchor) WalkerAnchor(BaseWalkerAnchor)
BaseArchitype N/A N/A
BaseNodeArchitype(BaseArchitype) NodeArchitype(BaseNodeArchitype) NodeArchitype(BaseNodeArchitype)
BaseEdgeArchitype(BaseArchitype) EdgeArchitype(BaseEdgeArchitype) EdgeArchitype(BaseEdgeArchitype)
BaseWalkerArchitype(BaseArchitype) WalkerArchitype(BaseWalkerArchitype) WalkerArchitype(BaseWalkerArchitype)
ExecutionContext JaclangContext(ExecutionContext) JacCloudContext(ExecutionContext)
Memory ShelfStorage(Memory) MongoDB(Memory)
JacFeatureSpec JacFeatureImpl - Optional JacFeatureImpl- Optional
JacFeature JacLangFeature(JacFeature) - Optional JacCloudFeature(JacFeature)- Optional

Abstraction2

@marsninja
Copy link
Contributor

This is very elegant @amadolid , I'm ok with this change, I do think it will b e important to provide documentation with this pr that both describes teh plugin interface as well as the object interface.

@marsninja
Copy link
Contributor

@ypkang @amadolid , can you guys provide more context as to what the plan is here? Are we planning to implement these?

@marsninja marsninja removed their assignment Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants