Book Image

Learning Phalcon PHP

By : Calin Rada, Ioan C Rada
Book Image

Learning Phalcon PHP

By: Calin Rada, Ioan C Rada

Overview of this book

Table of Contents (17 chapters)
Learning Phalcon PHP
About the Author
About the Reviewers

Chapter 4. Database Architecture, Models, and CLI Applications

Now that we know the basics of Phalcon's ORM and ODM, we can create the database architecture and most of the models needed for our project. We will also create some CLI tasks in order to help us work faster. Because there is a large amount of code, when referring to some of the parts in Chapter 1, Getting Started with Phalcon, I will use the abbreviation CSC (check source code).

We will cover the following topics in the chapter:

  • The database architecture

  • Models

  • CLI applications