Does the PHP framework written in C language have to be used in C language? Why?

Source: Internet
Author: User
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 redisExtension (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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.