Home > Backend Development > PHP Tutorial > Yaf框架初体验

Yaf框架初体验

WBOY
Release: 2016-06-20 12:36:25
Original
938 people have browsed it

这两天学习了鸟哥的Yaf框架,这里贴点学习资料和试水截图,需要的根据资料去细看吧。

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

一个体会就是,用扩展写的框架和其他用PHP写的框架相比有点看不见框架的感觉,但相当于已内化到语言当中。虽然下载了php-yaf-doc在编辑器中可以函数补全,但因为是用扩展开发的,函数源代码看不到,所以我也只是在学习手册中了解了一些基本的常用用法,需要时再来学习了。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template