作者: laruence( ) 本文地址: http://www.laruence.com/2012/07/06/2649.html 转载请注明出处 不少对yaf感兴趣的朋友, 或通过qq, 或者通过email来咨询我一些通用的问题. 回答的多了, 就把一些学习/使用yaf常用的资源列在这里, 方便后来人查阅. 文档 yaf的中
作者: laruence()本文地址: 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
comments2012/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!-rob2012/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上有提示吗?比如:netbeans2012/07/21, 雪候鸟 writes: @moqiruyi 这里有: https://github.com/laruence/php-yaf/blob/master/tools/yaf_classes.php2012/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、邮件等功能,求推荐!!!thx2014/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)