Frontend Rendering Architecture

Frontend Rendering Architecture

1. Frontend Rendering Architecture

Refreshed against dev-next. NMS Prime uses server-rendered Blade/Base MVC plus Livewire, with Vue retained in the admin shell.

1.1. Base MVC rendering path

  1. A resource route dispatches to BaseController

  2. The controller/model provide form, index, relation, and translation metadata

  3. BaseViewController prepares generic view data

  4. resources/views/Generic/ renders index/create/edit content

  5. resources/views/Layout/ composes the admin layout

1.2. Interactive rendering path

Livewire components render module Blade views and handle subsequent actions on the server. They coexist with the shared layout, Vue admin chrome, Bootstrap, and Tailwind utilities.

1.3. Asset path

Laravel Mix compiles shared and enabled-module assets. Source lives under resources/js, resources/css, and module resource directories.

1.4. Related pages

  • Frontend UI Stack

  • Base MVC

  • Blade and Layout Structure