Phalcon Cookbook

More Information
  • Install the Phalcon extension from both premade packages and source code
  • Create a normal and micro application structure
  • Understand the dispatcher event cycle and create custom plugins
  • Get hands-on using the Phalcon Query Language and ORM
  • Create flexible views with the Volt template system
  • Leverage Phalcon to prevent common security vulnerabilities
  • Optimize an application with focused solutions
  • Profile and debug an application to get increased reliability

Phalcon is a high-performance PHP framework delivered as a PHP extension. This provides new opportunities for speed and application design, which until recently have been unrealized in the PHP ecosystem.

Packed with simple learning exercises, technology prototypes, and real-world usable code, this book will guide you from the beginner and setup stage all the way to advanced usage. You will learn how to avoid niche pitfalls, how to use the command-line developer tools, how to integrate with new web standards, as well as how to set up and customize the MVC application structure.

You will see how Phalcon can be used to quickly set up a single file web application as well as a complex multi-module application suitable for long-term projects. Some of the recipes focus on abstract concepts that are vital to get a deep comprehension of Phalcon and others are designed as a vehicle to deliver real-world usable classes and code snippets to solve advanced problems. You’ll start out with basic setup and application structure and then move onto the Phalcon MVC and routing implementation, the power of the ORM and Phalcon Query Language, and Phalcon’s own Volt templating system. Finally, you will move on to caching, security, and optimization.

  • Create quick prototypes with the Phalcon Developer Tools
  • Learn to use the powerful and uniquely efficient Phalcon ORM
  • Reuse codes in real projects
Page Count 386
Course Length 11 hours 34 minutes
ISBN 9781784396886
Date Of Publication 30 Nov 2016


David Schissler

David Schissler was born and raised in Northern California. He received a significant portion of his education from Santa Rosa Junior College, Chico State University, and ultimately received a Bachelor of Computer Science from Sonoma State University.

David started his career as a programmer working with before transitioning solely into web development. He is a longtime Linux user and is an avid supporter and user of completely open source development platforms, including, the firmware, operating system, programming languages, and text editors.

David is a world traveler who has lived on three different continents for extended periods of time. He is quite comfortable living out of a single bag while developing web software, writing books, and traveling the world.

Serghei Iakovlev

Serghei Iakovlev has been working as a Ruby/PHP developer for over 7 years and has been specializing in web application development. As a supporter and advocate of Behavior Driven Development (BDD), he is also a member of the Codeception team.

Serghei can be found neck deep in innovative technologies, which introduced him to Phalcon. He is responsible for the coordination of bug fixes, testing, developer tools, incubator, and supports other Phalcon-related projects.

When he’s not working, Serghei enjoys watching documentaries, science fiction movies, and sometimes plays Mahjong or Go.