Skip to content

Change: Application directory changes

Problem Statement

The current version of Hazaar MVC uses application as the directory name for application code. In the new Hazaar Framework, this should be changed to app to provide a clear distinction between the two frameworks and align with modern conventions.

Who will benefit?

  • Developers using Hazaar Framework will have a shorter, more concise directory name.
  • It will help differentiate Hazaar Framework from Hazaar MVC.
  • New adopters may find app more intuitive and aligned with other frameworks.

Benefits and risks

Benefits:

  • Provides a clear distinction between Hazaar Framework and Hazaar MVC.
  • Aligns with naming conventions used by many modern frameworks.
  • Reduces verbosity in file paths.

Risks:

  • Requires migration steps for existing applications moving to Hazaar Framework.
  • May cause confusion for developers transitioning from Hazaar MVC.

Proposed solution

Update the default directory structure in Hazaar Framework to use app instead of application. Update documentation and tooling to reflect this change.

Examples

  • Laravel and Symfony both use app as the primary application directory.

Priority/Severity

  • High (This will bring a huge increase in performance/productivity/usability/legislative cover)
  • Medium (This will bring a good increase in performance/productivity/usability)
  • Low (anything else e.g., trivial, minor improvements)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information