1.

What are Single or Multi-Module Applications in Phalcon?

Answer»

Single module applications have only ONE module. This application does not mandate a namespace. It has a structure as –

single/

app/

controllers/

models/

views/

public/

css/

img/

js/

Multi-module USES the same document root for all the modules. Each directory in APPS has an MVC structure of its own. Module-specific settings are configured USING Module.php present in each module. The structure is like –

multiple/

apps/

frontend/

controllers/

models/

views/

Module.php backend/

controllers/

models/

views/

Module.php public/

css/

img/

js/



Discussion

No Comment Found