Review: Getting Started with Phalcon
Stephan A. Miller brings the self-proclaimed "fastest PHP framework" to the masses in his new book.
With most newcomers to development frameworks, acclimating to the idea of the model-view-controller (MVC) pattern can be one of the biggest challenges. The Phalcon PHP framework pose an additional barrier to entry, installation. Having both of these to overcome, let's see how Stephan A. Miller brings the self-proclaimed "fastest PHP framework" to the masses in his new book, Getting Started with Phalcon.
Problem #1: Installation
Miller logically begins his book with installing Phalcon. Since most people dread manually installing packages as it requires compiling software from their source, he eases them through this process by offering a step-by-step walkthrough, with sections for Windows, Mac OS, Linux, and FreeBSD.
All of the main operating systems are detailed, as well as the two prominent web servers used across the web, Apache and nginx. Readers of Getting Started with Phalcon will be able to use the information contained in the first chapter to guide them through the installation process for their development, testing, and production environments.
Problem #2: MVC
In the remaining four chapters, Miller explains the intricacies of using the MVC pattern with Phalcon with ease, building a blog application in the process.
Models, views, and controllers were explained so that newcomers to the MVC pattern could understand the benefit of the pattern, keeping this simple at the start and gradually adding more Phalcon-related goodness as the project and book progressed.
Miller made sure to keep his code examples concise and up-to-par with modern PHP coding standards. Below is an excerpt from the third chapter, specifically part of the Posts controller for the project:
<?php
public function searchAction()
{
$numberPage = 1;
if ($this->request->isPost()) {
$query = Criteria::fromInput($this->di, "Posts", $_POST);
$this->persistent->parameters = $query->getParams();
} else {
$numberPage = $this->request->getQuery("page", "int");
}
$parameters = $this->persistent->parameters;
if (!is_array($parameters)) {
$parameters = array();
}
$parameters["order"] = "id";
$posts = Posts::find($parameters);
if (count($posts) == 0) {
$this->flash->notice("The search did not find any posts");
return $this->dispatcher->forward(array(
"controller" => "posts",
"action" => "index"
));
}
$paginator = new Paginator(array(
"data" => $posts,
"limit"=> 10,
"page" => $numberPage
));
$this->view->page = $paginator->getPaginate();
}
Recap
Overall, Stephan Miller's Getting Started with Phalcon is an encompasing overview of the Phalcon PHP framework. While it doesn't cover all of the features or all of the technical details about the framework, it does cover the main points, models and PHQL, views and Volt, controllers, and dependency injection included.
I believe that Miller has achieved his goal of being able to empower developers, new and old, with the skills needed to create applications with Phalcon. While newer developers will naturally have more to learn, all PHP developers will be able to pick up this book and use it to learn this new-ish framework that has been steadily gaining steam in the PHP world.
More to read
001 2026.09.30
September 30, 2026
I Mined My Session History for the Prompts I Actually Reuse
My vault had a 55-note prompt library. An audit of my own session transcripts found 5 prompts I'd re-typed enough to prove, 4 patterns worth promoting to skills, 2 skills worth demoting back to prompts, and about 40 imported templates I had never used once.
002 2026.09.23
September 23, 2026
The AI Implementation Playbook, Annotated
Luke Pierce's 'perfect AI implementation' process gets the order of operations right: data, then workflows, then intelligence. The parts that decide whether the system survives month eight are the parts the playbook waves at.
003 2026.09.16
September 16, 2026
Value Creation Just Became the Distribution Strategy
Answer engines only cite what they can read, and a signup form is a wall they can't get past. That's turned Austin Kodra's value-creation principle from a long-term bet into the only way your content gets in front of a developer at all.