Does the PHP framework written in C language have to be used in C language? Why? Does the PHP framework written in C language have to be used in C language? Why?
Reply content:
Does the PHP framework written in C language have to be used in C language? Why?
No. The PHP framework written in C language is still a PHP framework, but the functions and classes required in the framework are implemented using C extension. In the process of using the framework, PHP syntax is still followed. Yaf of laruence is one of them. Using yaf does not require the foundation of C at all.
I have never used it, but I certainly don't need it. If a java framework needs to be learned to use php, is it called a java framework?
Do you mean Phalcon? The C language is not required. The framework encapsulates some operations into the PHP syntax. Therefore, you only need to use the PHP language as required.
Java Virtual Machine is written in C ++... you don't need to learn the underlying things. You need to use the framework itself, not the code to change it.
Frameworks written in C language are all written in the form of extensions. Currently, yaf, phalcon, and ,... When the server starts, it loads the framework into the memory. The framework file is no longer required for the entire php environment. These frameworks all have php interfaces and can be used directly. For example, if you have installed redis
Extension (although this is not a framework), it is directly executed during the call.new Redis()
, Phalcon framework,$Loader =new Loader();
An object can be instantiated directly.
The php framework written in C language will eventually give your interface php, so don't worry.
You only need to use php to use the framework. To read the implementation code of the framework, you need to understand the C language.
I certainly don't need it. It's all about the php framework. It must be the php syntax. The framework exists for convenience without understanding complicated logic and operations.
If you want to change the framework, you will be dumb.