Skip to content

Suite Studio, Packaging & Cross-Suite Interfaces

When enterprise applications grow beyond a handful of entities, packaging capabilities into reusable, versioned suites keeps bounded contexts clean across teams and deployments. Perlite provides Suite Creation Studio for packaging selective subsets of a domain model, and Interface Builder for defining typed API, event, and message contracts across suite boundaries.


1. Suite Creation Studio & Entity Slicing

Open Object Browser → Architecture & Integration → Suites (🏛️) and click + New Suite from Model (or inspect an imported suite) to launch Suite Creation Studio:

  1. Suite Metadata (1. SUITE METADATA): Assign a PascalCase suite identifier, semantic version, category description, and maintainer ownership.
  2. Entity Slicing & Field Projections (2. ENTITY SLICING & FIELD PROJECTIONS): Choose whole entities or expand Slice Fields to project only the exact attributes, relations, and functions belonging inside the suite contract. Sensitive or upstream attributes stay encapsulated in their owning suite.
  3. Screen, Role & Boundary Inclusion (3. INCLUDED SCREENS): Select composite screens bundled into the package and inspect the real-time Boundary & Peer Dependencies indicator before saving or switching to Live YAML Manifest.
Perlite Suite Creation Studio showing Suite Metadata, Entity Slicing and Field Projections for AccountPeriodBalance, Included Screens, and six imported enterprise financial suites in the Object Browser

Suite Creation Studio slicing attributes, relations, and composite screens across the 52-entity enterprise model while verifying peer dependency boundaries in real time.


2. Enriched Peer Stubs & Dependency Pinning

Cross-suite foreign keys resolve cleanly inside downstream workspaces without cloning source implementation code:

  • Enriched Peer Stubs: Installing an upstream suite (such as PE - Financials - Fixed Assets referencing General Ledger’s FiscalPeriod) materializes a minimal peer stub preserving primary key identity and inverse collections (such as assetPeriodBalances).
  • Locked Peer Pinning: Perlite records semantic suite versions and explicit cross-suite dependency rationales (for example pinning Accounts Payable 1.2.0 to General Ledger entities LedgerAccount, AccountingBook, FiscalPeriod, and JournalEntry), enabling clean upgrades and conflict checks during Resync Suite.

3. Cross-Suite Interfaces & Declarative Triggers

Open Object Browser → Architecture & Integration → Interfaces (🔌) to define cross-suite transport contracts in Interface Builder:

  • Tri-Modal Contracts (API · Event · Message): Every interface declares valid transport modes (REST, Webhook, Queue), direction (INBOUND or OUTBOUND), and versioned endpoint route (such as /api/interfaces/gl/journal-entry/post).
  • Typed Entity & Nested Sub-Array Mapping: Drag related entities from + Valid Entities onto the payload canvas to compose nested header/line structures (JournalEntry + lines: Array [6] mapped directly from JournalLine attributes).
  • Zero-Glue Trigger Execution (⚡ + Trigger): Attach an inbound interface directly to an entity function (CreateOne or custom action handlers) with field-level parameter mappings, enforcing validation pipelines and action points automatically on arrival.
Perlite Interface Builder showing JournalEntry.Post inbound REST, Event, and Message modes, mapped JournalEntry and nested JournalLine array fields, Valid Entities rail, and 18 enterprise Domain Interfaces

Interface Builder composing JournalEntry.Post with tri-modal API, Event, and Message flags, nested JournalLine line items, and valid entity relationship discovery.


Dual-Domain Packaging Walkthrough

Guided Example · Step 1 of 7
Modular Entity Slicing, Peer Dependency Boundaries & Typed Integration Triggers
Previously in this build: Field dispatch teams modeled Customer, FieldAsset, Technician, and WorkOrder plus role matrices, privacy classifications, and Kubernetes topologies.
✅ Checkpoint:Customer fields sliced down to dispatch essentials while ServiceTicketIntake triggers validated WorkOrder creation.
FieldOpsDispatchCorePackages dispatch scheduling into FieldOpsDispatchCore v1.0.0: projects minimal Customer billing/dispatch fields, exposes REST ServiceTicketIntake to create SLA-validated WorkOrders, and publishes WorkOrderDispatched webhook events upon technician assignment.
  1. Slice Customer Billing Fields Behind Suite Boundaries: In Suite Creation Studio, mark FieldAsset, Technician, and WorkOrder with includeAll while slicing Customer down to id, accountCode, companyName, serviceTier, and siteAddress with read-only FetchOne/FetchMany operations.
  2. Expose Inbound ServiceTicketIntake Endpoint & Trigger: Model /api/integrations/service-tickets mapping external ticketReference, priority, scheduledStart, slaTargetHours, customerId, and assetId onto WorkOrder.CreateOne so Critical tickets inherit 2-hour SLA action-point enforcement.
  3. Publish Outbound WorkOrderDispatched Events: Bind OUTBOUND Event/Message contract /events/work-order-dispatched emitting orderNumber, priority, status, scheduledStart, and technicianId to downstream customer portals and SLA trackers.