Debugging Phalcon as a PHP developer
I have been a PHP developer working with Magento for years. I'm now wanting to work on a project that has no ecommerce component, and as such Magento is not a good choice. After browsing online at the other PHP frameworks, Phalcon is touted as the best choice in terms of performance and resource use.
The main drawback I've heard is that because it's programmed C, it's hard to debug any issues that may reside in the framework. Have any PHP developers found this to be a major issue? If so, what debugging tools would you suggest to address such issues?
Thanks for your time in advance.
In short: No.
If you want more info about Phalcon, read on.
I've done http://oisie.com/en with Phalcon+mysql. Now I'm building new software with Phalcon+MongoDB and one Phalcon+Mysql. I'm with Phalcon for more then a year now developing almost every day and I can tell you, there is no such debug issues. At least I haven't had any. Phalcon is very solid framework and works blazing fast. It has all it needs to have. Developing is also very active, they are building new version already and the best part is that there shouldn't be any pain-points with Phalcon while updating it on your machine.
If you like pre-generate folders and files, you should check out this repository on github:
https://github.com/phalcon/phalcon-devtools
I've updated IDE stubs to newest version to get auto-completion working. You can find those here:
https://github.com/phalcon/phalcon-devtools/tree/master/ide
My experience with Phalcon:
If you are starting up with Phalcon, should find useful things on my github acc: https://github.com/stars/liesislukas
Have fun ;)
PS
Phalcon 2 progress: https://github.com/phalcon/cphalcon/wiki/Progress-2.0 Phalcon 2 is written with Zephir (language to build apache/nginx extensions): https://github.com/phalcon/zephir
I've tried writing my won extension with Zephir and it's really easy to do :) I never liked C family languages because of it's strict stuff compared to PHP. And Zephir is language, which is familiar to PHP, but you write apache/nginx extension with it. So if you even not using Phalcon framework, but you have some heavy tasks, you can easily write precompiled extension for it. Play with it ;)
链接地址: http://www.djcxy.com/p/82230.html上一篇: 简单C#中的DI和IOC示例
下一篇: 作为PHP开发人员调试Phalcon