Skip to main content

VPC Regeneration

Zuraffa v5 supports targeted regeneration of presentation logic while preserving the canonical generation contract.

Use zfa make to regenerate presentation layers instead of relying on older feature-first examples.


Common workflows

1. Initial VPC generation

zfa make Product \
--preset=crud \
--methods=get,getList,create \
--with=vpc \
--state

2. Add new watch logic without rewriting everything else

zfa make Product presenter controller state --methods=watch --force

3. Refresh presenter/controller/state while keeping manual UI work separate

zfa make Product presenter controller state --methods=create,update --force

Manual UI boundary

Generated presentation ownership covers:

  • presenter
  • controller
  • state
  • generated view scaffolding

Manual UI composition and page-specific layout refinements should remain hand-authored.


Next steps