Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Multi Module site

When building a multi module site. What is the best approach between; 1.using namespaces and 2.using bootsrap file


if u use the dev-tools you can create the project with bootstrap =d

i have created one using 2 modules (frontend and backend) MVC structure.

And set front end to be the default namespace.

My reference is phalcon official documentation on setting multi module mvc structure.

but am getting the following error.

Module definition path '../apps/frontend/Module.php' does not exist

please advice


I Completed a multimodule project and learned that Namespaces plays a major role in defining each and every module while bootstrap file is the central of the project at run time.I did some operations in the bootrap file to save the module such as assets management and defining routing