Phalconphp is a PHP WEB framework developed using the C extension to provide high performance and low resource usage ... Why is such a PHP framework so little about the resources of the Celestial kingdom?
Do you have the aunt to do the project with Phalcon?
Reply content:
Phalconphp is a PHP WEB framework developed using the C extension to provide high performance and low resource usage ... Why is such a PHP framework so little about the resources of the Celestial kingdom?
Do you have the aunt to do the project with Phalcon?
That's what I thought a long time ago:
It is unwise to write PHP frameworks with C extensions.
Although the performance is improved, but most of the application bottleneck is not in PHP, this performance improvement is not very significant.
Reading C code is not easy to understand the internal workings of the framework, and this threshold will also make it impossible for many people to contribute code to the framework. If used in a formal product, but encounter problems, not easy to locate and quickly improve.
If it is for performance reasons, I prefer to hiphop VMS. Choosing a PHP framework that supports HHVM is more appropriate.
But when I see Phalcon 2.0 will be based on Zephir rewrite, I was deeply shocked, a new era has come.
We recommend that you study Phalcon 2.0, because you can easily compile the PHP code into C extension by Zephir.
In addition to performance, some commercial PHP software can be used to protect the source code.
I'm studying. The official documentation looks very comfortable.
- Using
Phalcon
a small project, as an extended PHP framework, he did a great job.
- Commonly used requirements are basically achievable, and design ideas are more avant-garde, favorite or his document written enough detail.
- If you make it clear in Https://github.com/phalcon/mvc, it's not a problem to do any project.
- There's a lot of resources on GitHub, so you're learning enough.
Everything you need is here.
Full MVC application = Single module, multi-module, micro-application
ORM = transaction, BEHAVIORS,RELATIONS,PHQL, event validation, hydration, log, profiling,sharding
ODM Formongo, template engine (Volt), Dependency injection/inversion control, event management, cryptographic processing, HTTP request/http Response/cookies
escaping/filter, form creator/validation, Flash Messages, cache, pagination, annotations
Security, internationalization, resource file management, Universal Auto-loading, logging, command line
What do not understand or to see the document more reliable AH
is brother Bird's yaf bad for you?
Learning in Phalcon
Phalcon really fast, but the threshold is.
1) General virtual hosting that is absolutely unusable, at least get VPS. This can be daunting for a large number of programmers, because many companies have a maximum of one PHP programmer. And most PHP programmers are not familiar with the maintenance of Linux.
2) Although Phalcon is an enterprise in the maintenance, but still too young, the use of the main base of the group is not too broad, so most people are reluctant to turn over it.
There is certainly no one to use him, but the proportions are few. VPS is a threshold.
It's not used.