{"id":1291,"date":"2026-02-15T20:14:29","date_gmt":"2026-02-15T20:14:29","guid":{"rendered":"https:\/\/docs.ai.drawconclusions.org\/?page_id=1291"},"modified":"2026-02-24T12:45:55","modified_gmt":"2026-02-24T12:45:55","slug":"architecture-items","status":"publish","type":"page","link":"https:\/\/docs.ai.drawconclusions.org\/?page_id=1291","title":{"rendered":"Architecture: Items"},"content":{"rendered":"<h2>Overview<\/h2>\n<ul>\n<li>The item system is a two-layer model: a technical layer and a content layer.<\/li>\n<li>In the legacy implementation (see <code>- old\/dracon<\/code>), the technical layer is the <code>AutoItemEntity<\/code> and the content layer is an <code>AbstractItemEntity<\/code> subclass.<\/li>\n<li>Each concrete item type (Thought, Context, Dimension, etc.) has its own entity and table, but shares the same technical layer and services.<\/li>\n<\/ul>\n<h2>Two-Layer Model (Legacy)<\/h2>\n<h2>Layer<\/h2>\n<ul>\n<li>Technical layer: <code>- old\/dracon\/src\/Entity\/Item\/AutoItem\/AutoItemEntity.php<\/code><\/li>\n<li>Shared behavior: access, status, relations, timestamps, version history, etc. via traits.<\/li>\n<li>Content layer: <code>- old\/dracon\/src\/Entity\/Item\/AbstractItemEntity.php<\/code> and <code>- old\/dracon\/src\/Entity\/Item\/ItemEntity\/*<\/code><\/li>\n<li>Type-specific fields and behaviors per item type (e.g., <code>ThoughtEntity<\/code>).<\/li>\n<\/ul>\n<h2>Registry \/ Aggregation<\/h2>\n<h2>Registry<\/h2>\n<ul>\n<li>Legacy registry: <code>- old\/dracon\/src\/Service\/Item\/AggregationItemService.php<\/code><\/li>\n<li><code>ITEM_ENTITY_ARRAY<\/code> lists all item entities.<\/li>\n<li>The service maps entity -&gt; item service for CRUD and access.<\/li>\n<\/ul>\n<h2>Current Status<\/h2>\n<ul>\n<li>The current <code>\/var\/www<\/code> codebase does not implement this item system yet.<\/li>\n<li>The legacy design in <code>- old\/dracon<\/code> is the reference for rebuilding.<\/li>\n<\/ul>\n<h2>Next Layer<\/h2>\n<h2>Next<\/h2>\n<ul>\n<li>Implementation Notes: <code>implementation_items.md<\/code><\/li>\n<\/ul>\n<p class=\"developerdocs-id-search\" aria-hidden=\"true\">DeveloperDoc ID: dd_id_e4f586ff9c<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The item system is a two-layer model: a technical layer and a content layer. In the legacy implementation (see &#8211; old\/dracon), the technical layer is the AutoItemEntity and the content layer is an AbstractItemEntity subclass. Each concrete item type (Thought, Context, Dimension, etc.) has its own entity and table, but shares the same technical [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1289,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[],"doc_layer":[30],"class_list":["post-1291","page","type-page","status-publish","hentry","layer-dd_id_8f59177ca0"],"_links":{"self":[{"href":"https:\/\/docs.ai.drawconclusions.org\/index.php?rest_route=\/wp\/v2\/pages\/1291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.ai.drawconclusions.org\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.ai.drawconclusions.org\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.ai.drawconclusions.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.ai.drawconclusions.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1291"}],"version-history":[{"count":5,"href":"https:\/\/docs.ai.drawconclusions.org\/index.php?rest_route=\/wp\/v2\/pages\/1291\/revisions"}],"predecessor-version":[{"id":3806,"href":"https:\/\/docs.ai.drawconclusions.org\/index.php?rest_route=\/wp\/v2\/pages\/1291\/revisions\/3806"}],"up":[{"embeddable":true,"href":"https:\/\/docs.ai.drawconclusions.org\/index.php?rest_route=\/wp\/v2\/pages\/1289"}],"wp:attachment":[{"href":"https:\/\/docs.ai.drawconclusions.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1291"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/docs.ai.drawconclusions.org\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_category&post=1291"},{"taxonomy":"doc_layer","embeddable":true,"href":"https:\/\/docs.ai.drawconclusions.org\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_layer&post=1291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}