My purpose is to create a "classified adverts" site with phalcon.
I'm following the "Leaning Phalcon PHP" ebook and has this directory structure:
.
├── composer.json
├── composer.lock
├── config
│   ├── config.php
│   ├── loader.php
│   ├── routing.php
│   └── services.php
├── docs
│   └── learning_phalcon.sql
├── learning_phalcon.dev
├── modules
│   ├── Api
│   │   ├── Config
│   │   │   ├── config.php
│   │   │   ├── routing.php
│   │   │   └── services.php
│   │   ├── Controllers
│   │   │   ├── BaseController.php
│   │   │   └── IndexController.php
│   │   └── Module.php
│   ├── Backoffice
│   │   ├── Config
│   │   │   ├── config.php
│   │   │   ├── routing.php
│   │   │   └── services.php
│   │   ├── Controllers
│   │   │   ├── ArticleController.php
│   │   │   ├── BaseController.php
│   │   │   └── IndexController.php
│   │   ├── Module.php
│   │   └── Views
│   │       └── Default
│   │           ├── article
│   │           │   └── list.volt
│   │           ├── index
│   │           │   └── index.volt
│   │           └── layout.volt
│   ├── Bootstrap.php
│   ├── Core
│   │   ├── Config
│   │   │   ├── config.php
│   │   │   ├── routing.php
│   │   │   └── services.php
│   │   ├── Controllers
│   │   │   ├── BaseController.php
│   │   │   └── IndexController.php
│   │   ├── Managers
│   │   │   ├── ArticleManager.php
│   │   │   └── BaseManager.php
│   │   ├── Models
│   │   │   ├── Article.php
│   │   │   └── Base.php
│   │   └── Module.php
│   └── Frontend
│       ├── Config
│       │   ├── config.php
│       │   ├── routing.php
│       │   └── services.php
│       ├── Controllers
│       │   ├── ArticleController.php
│       │   ├── BaseController.php
│       │   └── IndexController.php
│       ├── Module.php
│       └── Views
│           └── Default
│               ├── article
│               │   └── list.volt
│               ├── index
│               │   └── index.volt
│               └── layout.volt
└── public
    ├── assets
    │   └── default
    │       ├── css
    │       │   ├── lp.backoffice.css
    │       │   └── lp.css
    │       └── js
    │           └── lp.js
    └── index.phpFirst of all, the code samples in the book don't work. Also I've followed the book carefully and didn't make it work. Simply I can't.
First question: ¿What are the sections core, frontend, api and backoffice for? (each one)
Second question: the author user a file Bootstrap.php in the "modules" folder. Why? Is better? I never could put that to work, I have to use public/index.php or nothing. It always fails when calling $application->handle()->getContent();
Third question: where can I found a good tutorial using some HMVC structure like that in the book? Or good tutorials in general.