okThings is an infrastructure Plugin that provides a means to (1) add data-objects and (2) share those objects with others. It serves both end-users and plugin developers.
Object Wrapping
Wordpress has two primary core entities posts & pages. Some plugins create additional entities and storage places for them. okThings is a registry for all the user-related data objects. Data objects that are registered with okThings are given a unique identifying handle.
Requirements:
On installation create database tables for plugin.
On installation automatically import and register all Posts & Pages.
Create hooks into Pages & Posts for automatic registration of future Posts & Pages.
Provide API for other plugin developers to register their objects with the plugin.
Provide API for other plugin developers to extend their UI to include sharing by either:
Incorporating a Sharing UI within their plugins.
Triggering an okThings event which injects a Sharing UI into their process (with optional callback to resume application flow).
Provide API for theme developers to utilize plugin services.
Sharing Contexts
Sharing contexts enable users to accommodate different aspects of their life and content – such as Everyone, Family, Friends, Work, etc. This is achieved by:
Associating data-objects that are registered with okThings with one ore more contexts.
Associating people (see okConnect) with one or more contexts.
Requirements
Establish default installed contexts and the default context (everyone).
Sharing Contexts UI
Provide users with admin UI for creating/editing sharing contexts. Provide developers with API interfaces for integrating context selection into plugins.
Requirements:
Add to Admin “Create Context”
Add to Admin “Edit Context”
Add API function call for embedding a UI component for Select/Modify Context (similar to Categories in a post).
Add APIĀ for activating a generic UI component (Popup Dialog?) containing the Select/Modify Context UI.
okThings
okThings is an infrastructure Plugin that provides a means to (1) add data-objects and (2) share those objects with others. It serves both end-users and plugin developers.
Object Wrapping
Wordpress has two primary core entities posts & pages. Some plugins create additional entities and storage places for them. okThings is a registry for all the user-related data objects. Data objects that are registered with okThings are given a unique identifying handle.
Requirements:
Sharing Contexts
Sharing contexts enable users to accommodate different aspects of their life and content – such as Everyone, Family, Friends, Work, etc. This is achieved by:
Requirements
Sharing Contexts UI
Provide users with admin UI for creating/editing sharing contexts. Provide developers with API interfaces for integrating context selection into plugins.
Requirements: