Phalcon PHP

php-logo-Converted-01-3phalcon-logoapache

Phalcon PHP … what, why, when?

After having done several projects with this framework, I think it’s time to generate a final review. Must agree that I’m amazed with Phalcon.

PerformanceUntitled-3

Due to the peculiar way Phalcon is working, performance is impressive. Phalcon is compiled as a C-Extension directly into PHP. This means all the classes, functions, helpers, views, that compose a framework, do not need to be loaded upon request. They are always present within PHP itself.

Memory and Performance are far beyond even PHP 7 levels. Check at PHP 7 Features to have a graphic of the performance.

Documentation

As any other framework the learning curve takes some time, but I couldnt find it easier with Phalcon. It’s offering you the documentation perfectly structured and simple to understand.

Have a look at it, Phalcon Official Documentation

Structure

In Phalcon the structure is both pre-made by the framework or… you can do it at your own way. That’s another reason why I love it. There is nothing that forces you to use any kind of structure. You can build your own autoloader tool or you can use the default Phalcon one.

Phalcon MVC Project Structure examples

The tricky part … Installation

The installation of Phalcon is simple for a default Ubuntu system. But if you build you own FPM with fast CGI or if you have a CentOS you might have a little of troubles finding out the right way of installing it. The installation procedure is written here:

Phalcon Install