search
Homephp教程php手册Yaf的一些资源

Yaf的一些资源

Jun 06, 2016 pm 08:07 PM
htyafauthoraddressresource

作者: Laruence( ) 本文地址: http://www.laruence.com/2012/07/06/2649.html 转载请注明出处 不少对Yaf感兴趣的朋友, 或通过QQ, 或者通过Email来咨询我一些通用的问题. 回答的多了, 就把一些学习/使用Yaf常用的资源列在这里, 方便后来人查阅. 文档 Yaf的中

  • 作者: Laruence(Yaf的一些资源 Yaf的一些资源 Yaf的一些资源 Yaf的一些资源)
  • 本文地址: http://www.laruence.com/2012/07/06/2649.html
  • 转载请注明出处

不少对Yaf感兴趣的朋友, 或通过QQ, 或者通过Email来咨询我一些通用的问题.

回答的多了, 就把一些学习/使用Yaf常用的资源列在这里, 方便后来人查阅.

文档

Yaf的中文文档在这里: Yaf中文文档, 不过中文文档目前主要针对的是2.1.9版本.

Yaf的英文文档在这里, Yaf doc

不过, 因为精力有限, 英文文档目前不够丰富, 如果各位有时间, 也有兴趣, 强烈欢迎大家帮我一起完善文档, 文档目前已经Host到github上(php-yaf-doc), 大家如果有修改, 直接pull request给我哈

交流

这里有一个由张洋同学赞助的Yaf的交流论坛: Yaf forum

还有一个QQ群, 不过需要身份验证: 伍一叁肆一捌伍

另外, 还有一位热心的海外同学创建的Yaf group: Yaf Google Group.

脚本

在github上, Yaf提供了一些小工具.

第一个是代码生成工具: Yaf Codes Generator

可以帮你自动生成一个简单的Yaf的例子:

./yaf_cg application_name  #会在 output目录下生成代码目录

第二个是一个用于生成一些IDE自动完成提示的用Yaf的所有类的签名的PHP文件的脚本:
Yaf classes signatures generator, 当然这里也有一个生成好的(如果你要在本地使用命名空间版本的Yaf, 那你需要自己运行这个脚本来生成):Yaf classes signature

例子

首先是Codes Google上的一个简单的例子: Google Codes

然后在Github上有不少功能比较全的实际的例子:

1. Yaf Base Application

2. Yaf

3. Yaf PHP Example

其他

Yaf的Windows下的dll, 由大草原同学负责维护和发布, 可以在这里找到下载: Google Codes


Comments

  • 2012/07/06, 英雄v writes: 第几
  • 2012/07/06, renzf writes: 友情提示,群里太基情了,一般人小心加入。
  • 2012/07/06, Demon writes: Come to zhuan zhuan .
  • 2012/07/10, 天涯PHP博客 writes: YAF...so强大。。
  • 2012/07/19, Rob writes: Hi there. I love Yaf so far. Thank you so much for writing this. I did have 1 quick question on how you would deal with this problem. I wanted to use Flourishlib's fdatabase to make database executions easier. So I created the flourish db object in Yaf's bootstrap. I connect it in bootstrap also. In the bootstrap I add that db object to the Yaf Registry. However, when I run $var = $results = Yaf_Registry::get('db')->query('$sql'); that works. But $results does not seem to have everything it should. Like it will not let me run $results->row or $results->countAffectedRows ... My question is, How would YOU go about doing this? I plan on using Yaf as my framework for many many projects! Thank you very much! -Rob
  • 2012/07/19, 雪候鸟 writes: @rob I am glad you like it, what do you get if you var_dump($result), doesn't it looks like a valid result resource(object)?
  • 2012/07/21, moqiruyi writes: 请问下,YAF 能在编辑器IDE上有提示吗? 比如:NETBEANS
  • 2012/07/21, 雪候鸟 writes: @moqiruyi 这里有: https://github.com/laruence/php-yaf/blob/master/tools/yaf_classes.php
  • 2012/07/26, 秋老虎 writes: 膜拜
  • 2012/08/09, 奇言妙事-文学奇谈小小说阅读xlinblog.sinaapp.com » Blog Archive » Yaf的一些资源 writes: [...] 本文地址: http://www.laruence.com/2012/07/06/2649.html [...]
  • 2012/08/09, 奇言妙事-文学奇谈小小说阅读xlinblog.sinaapp.com » Blog Archive » 请手动释放你的资源(Please release resources manually) writes: [...] Yaf的一些资源 [...]
  • 2012/08/09, Yaf的一些资源树林/咖啡 成都专业php网站制作 | 树林/咖啡 成都专业php网站制作 writes: [...] 风雪之隅 ? PHP应用 Posted in: php / Tagged: Yaf的一些资源 [...]
  • 2012/08/31, 奇言妙事-文学奇谈小小说阅读xlinblog.sinaapp.com » 关于Yaf的一些说明 writes: [...] Yaf的一些资源 [...]
  • 2013/05/01, Yaf的一些资源 | 午后小憩 writes: [...] 本文地址: http://www.laruence.com/2012/07/06/2649.html [...]
  • 2013/09/29, lingcarzy writes: http://www.yafphp.com/,数据库连不上。。。。。
  • 2014/03/14, 傻东 writes: 求鸟哥推荐一下我写的yaf扩展库,应该有不少人会需要的: https://github.com/sillydong/CZD_Yaf_Extension 集成了多种缓存,数据库,smarty、邮件等功能,求推荐!!! THX
  • 2014/06/29, zhengyin writes: 当我如此创建项目, ./yaf_cg yafDemo /Library/WebServer/Documents 我 documents 目录下的代码都被,清空了 ...
  • 2014/07/23, 无垠天 writes: 鸟哥,关于yaf的问题,在哪里可以得到最快的解答呢?
  • 2014/07/23, 无垠天 writes: 有个问题想请教下,yaf生成的例子程序中controllers文件夹指向可以配置么,比如配置成cont,如果可以配置名是?
  • 2014/12/01, 初识YAF框架 体验速度的极限 | BlogMars writes: [...] yaf资源页 [...]

Copyright © 2010 风雪之隅 版权所有, 转载务必注明. 该Feed只供个人使用, 禁止未注明的转载或商业应用. 非法应用的, 一切法律后果自负. 如有问题, 可发E-mail至my at laruence.com.(Digital Fingerprint: 73540ba0a1738d7d07d4b6038d5615e2)
Statement
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version