Skip to content

[NFR]: An MVC project with no views #83

Closed
Closed

Description

@niden

Each MVC project has a views path. crest init writes one also when the folder does not exist, and crest uses themes/default when crest.php has no views key. An MVC project that only returns JSON has no views, but it cannot tell crest this. So new and make:scaffold write a views folder, a layout and view files that the project does not use.

Scope

  • A way for an MVC project to say that it has no views. A possible start: crest new --template-engine=none, and a views value in crest.php that means "no views".
  • new, init and config:show know this value.
  • The commands that write views (new, make:scaffold) skip the views, or stop with a message.

Open

  • The option and the value in crest.php.
  • Skip or stop, for each command that writes views.

Done when

  • crest new --template-engine=none (or the chosen option) gives an MVC project with no views folder, no layout and no view files.
  • In that project, crest make:scaffold <table> writes no views, or stops with a clear message.
  • crest config:show shows that the project has no views.

From #48.

Activity

  1. self-assigned this
    on Nov 21, 2026
  2. added
    enhancement
    on Nov 21, 2026
  3. added theissue type on Nov 21, 2026
  4. added 3 commits that reference this issue on Nov 22, 2026
  5. niden commented on Nov 22, 2026

    @niden
    SponsorMemberAuthor

    Resolved in #90

  6. moved this from Implemented to Released in Phalcon v5on Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions