DeLille Demo

Playground Outline

Built as a clear starter for MACHINE_OB.php usage.

Next pages (intentionally simple placeholders)

These blocks are intentionally blank-ish so the developer can extend without refactoring.

1. Machine detail page

  • Use machine_repo()->find($model).
  • Render essentials at top.
  • Add tabs: Options, Attachments, Raw payload.

2. Compatibility page

  • Pick machine from dropdown.
  • Use attachment_repo()->query(['machine_id' => ...]).
  • Filter by category and include_conditional.

3. Search API endpoint

  • Create api/search-machines.php.
  • Use $repo->query(['model_like' => $q]).
  • Return only fields needed by frontend.

4. Reporting page

  • Group by family and machine type.
  • Count attachment coverage per machine.
  • Export CSV from plain PHP.