Initial Yaf framework experience

Source: Internet
Author: User
The Yaf framework has been learning the Yaf framework of laruence for the past two days. here, I will post some learning materials and try it out. I will take a closer look at the required materials.

1. download the yaf code from github: https://github.com/denglitong/yaf.git

2. install as the yaf manual guide: http://www.laruence.com/manual/ http://php.net/manual/zh/book.yaf.php

3. add extension = yaf. so in php. ini in linux

4. copy the php_yaf.dll in ext directory of PHP and add extension = php_yaf.dll in windows

5. restart your web server

One experience is that the framework written with extensions is a bit invisible compared to other frameworks written with PHP, but it is equivalent to being internalized into the language. Although php-yaf-doc has been downloaded and functions can be completed in the editor, the source code of the function cannot be seen because it is developed using extensions, so I only learned some basic common usage in the learning manual, and I will study it again when necessary.

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.