Table Of ContentsPrevious topicNext topicThis Page |
Our motivation¶There are many PHP frameworks nowadays, but none of them is like Phalcon (Really, trust us on this one). Almost all programmers prefer to use a framework. This is primarily because it provides a lot of functionality that is already tested and ready to use, therefore keeping code DRY (Don’t Repeat Yourself). However, the framework itself demands a lot of file inclusions and hundreds of lines of code to be interpreted and executed on each request from the actual application. Object-Oriented frameworks also add a lot of overhead to execution making complex application slow. All these operations slows the application down and subsequently impacts the end user experience. The Question¶Why can’t we have a framework with all of its advantages but with none or very few disadvantages? This is why Phalcon was born! During the last few months, we have extensively researched PHP’s behavior, investigating areas for significant optimizations (big or small). Through understanding of the Zend Engine, we managed to remove unnecessary validations, compacted code, performed optimizations and generated low-level solutions so as to achieve maximum performance from Phalcon. Why?¶
Inner workings of PHP?¶
How traditional PHP frameworks work?¶
How does a PHP C-extension work?¶
How does Phalcon work?¶
Phalcon was not only designed to optimize compute-bound (procesor usage) and memory-bound (memory consumption), it also provides extensive use of caches to optimize the I/O bound (file system, network). Conclusion¶Phalcon is an effort to build the fastest framework for PHP. You now have an even easier and robust way to develop applications without be worrying about performance. Enjoy! |