php 在哪里学习Yii?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3096175/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where to learn Yii?
提问by Tower
I have been trying to learn Yii without luck. I find Zend Framework, Kohana, Code Igniter among other frameworks much easier to learn than Yii. The documentation also su**s. Can you post links to easy-to-understand and well written tutorials/articles? The official documentation is filled with grammar errors and seems to be rushed...
我一直试图在没有运气的情况下学习 Yii。我发现 Zend Framework、Kohana、Code Igniter 等框架比 Yii 更容易学习。该文档也 su**s。您可以发布指向易于理解且编写良好的教程/文章的链接吗?官方文档里充斥着语法错误,似乎很仓促...
采纳答案by Pier-Luc Faucher
I've started here http://blog.dmcinsights.com/series/learning-the-yii-framework/
我从这里开始http://blog.dmcinsights.com/series/learning-the-yii-framework/
Then I did the online blog tutorial
然后我做了在线博客教程
A very good place to search/ask for info is the forum. The community is nice and will always answer you very fast.
一个非常好的搜索/询问信息的地方是论坛。社区很好,总是会很快回复你。
Yes, the blog tutorial is filled with typos and errors of some sort. But IMHO, this is were you develop more skills. You have to actually search. Or if you're lazy, the comments after the tutorial tell you what to do. But usually, after the half of the tutorial, you'll begin to understand why it is not working and how to solve it. This is, from my point of view, the best way to learn.
是的,博客教程充满了某种拼写错误和错误。但恕我直言,这是你发展更多的技能。你必须实际搜索。或者如果你很懒,教程后面的评论会告诉你该怎么做。但通常,在本教程的一半之后,您将开始理解为什么它不起作用以及如何解决它。在我看来,这是最好的学习方式。
Don't give up, Yii is very nice and powerful. Yii is the faster fully-loaded framework after symfony 2.
不要放弃,Yii 很好很强大。Yii 是继 symfony 2 之后速度更快的满载框架。
回答by PrplHaz4
Also, don't forget the "Definitive Guide to Yii". I found that after I started developing my app (basing all of the code on the blog tutorial), most of the things I got stuck on were further explained in the Guide.
另外,不要忘记“Yii 权威指南”。我发现在我开始开发我的应用程序后(基于博客教程中的所有代码),我在指南中进一步解释了我遇到的大部分问题。
Also, don't forget to contribute your questions/suggestions to the community - it will only become more robust with more people banging away at it...
另外,不要忘记将您的问题/建议贡献给社区——它只会随着更多人的抨击而变得更加强大......
http://www.yiiframework.com/doc/guide/
http://www.yiiframework.com/doc/guide/
an ongoing, and up-to-date wiki article on this subject can be found here: http://www.yiiframework.com/wiki/268/how-to-learn-yii
关于这个主题的持续更新的 wiki 文章可以在这里找到:http: //www.yiiframework.com/wiki/268/how-to-learn-yii
回答by Racky
Try this link:
试试这个链接:
It's my thread and in the first post there is attached PDF. On Xmas 2009 I was beginning with Yii. I had never user PHP framework before so I was lost in terms like Controller, using views, integrated ajax etc.. So (when I understood it) I created a small manual that could help beginners. Have a look at it and let me know if it was helpful. It's not finished yet, it wants to reformulate something, but main concept of YII and MVC architecture is described..
这是我的主题,在第一篇文章中附有 PDF。在 2009 年的圣诞节,我开始使用 Yii。我以前从未使用过 PHP 框架,所以我迷失在控制器、使用视图、集成 ajax 等方面。所以(当我理解它时)我创建了一个可以帮助初学者的小手册。看看它,让我知道它是否有帮助。还没完,想改写一些东西,但是描述了YII和MVC架构的主要概念..
回答by thaddeusmt
As mentioned above, reading through the "Definitive Guide to Yii" is the best place to start as it covers all of Yii's main (and numerous) features. The "Blog Tutorial" is helpful too.
如上所述,通读“Yii 权威指南”是最好的起点,因为它涵盖了 Yii 的所有主要(和众多)功能。“博客教程”也很有帮助。
Yii also has a nice set of easily searchable and cross-referenced Class Reference (API) Docs here: http://www.yiiframework.com/doc/api/
Yii 还有一组很好的易于搜索和交叉引用的类参考 (API) 文档:http: //www.yiiframework.com/doc/api/
The Yii forum is very active too, with the developer himself (qiang) answering lots of questions. Yii is very actively developed so when you report bugs in Google Code you often get fast responses there as well.
Yii 论坛也很活跃,开发者本人(qiang)回答了很多问题。Yii 的开发非常活跃,因此当您在 Google Code 中报告错误时,您通常也会在那里得到快速响应。
Finally, included in the Yii source when you check it out of SVN is a "demos" folder which has a working Blog demo, a Hello World, and a few other demo apps.
最后,当您从 SVN 检出 Yii 源代码时,它包含一个“demos”文件夹,其中包含一个工作博客演示、一个 Hello World 和一些其他演示应用程序。
回答by tonino.j
Yes, I would add that both the definitive guide and the api manual can be downloaded in pdf and chm (recommended) format.
是的,我想补充一点,最终指南和 api 手册都可以以 pdf 和 chm(推荐)格式下载。
回答by mythicalprogrammer
You can buy the Agile with Yii 1.1 and PHP5 from Packt publisher. I'm actually reading it right now. There's quite a bit of small errors in the book, you could totally tell they rushed it, probably because it's the first Yii book.
你可以从 Packt 出版商处购买带有 Yii 1.1 和 PHP5 的 Agile。我现在正在阅读它。书中有不少小错误,你完全可以看出他们匆匆忙忙,可能是因为这是第一本 Yii 书。
There's the link, I bought mine from Amazon.
有链接,我从亚马逊买的。
-- SQL schema in the book have typos and type errors. I just asked about it on stackoverflow too.
-- 书中的SQL schema有拼写错误和类型错误。我也在stackoverflow上问过它。
回答by gianjey
I started reading Larry Ullman tutorial translation (into Italian) here: http://www.programmandofacile.it/impariamo-yii-framework/Then I went on reading the Yii documentation. And finally I started looking at the Yii forum.
我开始在这里阅读 Larry Ullman 教程翻译(意大利语):http: //www.programmandofacile.it/impariamo-yii-framework/然后我继续阅读 Yii文档。最后我开始看 Yii论坛。

