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 3. Learning Phalcon's ORM and ODM

Now that you have learned a little bit about Phalcon's internals and we have our project structure, we can move forward to a more serious thing—databases. In this chapter, we will cover these topics:

  • The main differences between SQL and NoSQL databases

  • Learning how to connect to a database

  • ORM/ODM CRUD operations (create, read, update, and delete) and transactions

  • Understanding the drawbacks of an ORM in general, and how we can improve performance using caching methods