Book Image

Learning Phalcon PHP

Book Image

Learning Phalcon PHP

Overview of this book

Table of Contents (17 chapters)
Learning Phalcon PHP
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 2. Setting Up the MVC Structure and the Environment for Our Project

In the previous chapter, we summarized the most common parts of Phalcon. Next, we will try to set up the "Hello world" page for our project. In this chapter, we will cover these topics:

  • An introduction to MVC—what is MVC?

  • The MVC structure

  • Creating a configuration file and the Bootstrap

  • Preparing the initial DI interface and the router

  • Using the router component in a module

  • Creating the base layout