Searching for a Kohana Beginner's Tutorial for PHP [closed]

試著忘記壹切 提交于 2019-11-30 10:04:44

问题


I am going to try to build a PHP website using a framework for the first time, and after some research here and there, I've decided to try to use Kohana

I downloaded the source from their website, and ran the downloaded stuff on my web server, and was then greeted with a 'Welcome to Kohana!' page, and nothing more...

I've tried to find some beginner tutorials on the web as regard this particular framework, but to my surprise, came up with almost nothing (only this one, but it's not a great deal of help)

I am not new to PHP and neither am I new to the MVC concept, but I am very new to PHP Frameworks...so can anyone point me to a Kohana tutorial somewhere on the web that will help me get started in building my website using this framework, from scratch ?

P.S. As I said, I want a beginners tutorial as regarding this case.

[UPDATE]

I am currently reading the Official Guide...we'll see how that goes.


回答1:


The "Kohana Tutorial" pages are pants. Not so much for their content, but for the fact that they have a pretty damn unorganised wordpress blog and finding useful info isn't exactly made easy. What they need is a post/page at http://learn.kohanaphp.com that lists the most important tutorials, rather than forcing you to wade through the whole blog.

Anyway, rant over, I'd start here:

http://zacklive.com/hello-world-tutorial-for-kohana/15/

Then:

http://learn.kohanaphp.com/2008/03/26/blog-tutorial-1/

http://learn.kohanaphp.com/2008/03/28/blog-tutorial-part-2/

Other articles of interest:

http://www.ninjapenguin.co.uk/blog/2008/06/21/kohana-pagination-tutorial/

http://learn.kohanaphp.com/2008/04/25/using-auto_modeler-to-write-quicker-code/

http://www.ninjapenguin.co.uk/blog/2008/06/29/practical-kohana-hooks-example-phpids/

http://learn.kohanaphp.com/2008/04/14/5-tips-to-help-you-find-something-youre-looking-for-in-kohana/

And, of course, Google.




回答2:


I had exactly the same problem! After a few searches I found the Kohaha101.pdf. This guide/tutorial really got me started!

Link:[http://pixelpeter.com/kohana/kohana101.pdf1

Good luck and enjoy Kohana!




回答3:


Since this is bumped anyway:

If you're looking for Kohana 3 beginners tutorials, the ones listed at the bottom of the unoffical Wiki are pretty good.




回答4:


Learning Kohana is a pain. There is some information out there but it's all over the place and Google is your best ally. The support forums are pretty good but it's very much a framework for PHP geeks. It addresses all of the fundamental flaws of PHP and provides a clean MVC design pattern but nothing more.

The advantage of such a minimal approach is that it's lean and lightning fast. When things don't work you will find the need to go through the libraries as sometimes it's easier to understand what methods/properties are available or how they work by looking through the underlying code. It would be nice for somebody to donate some money and for the team to pump it into proper documentation as it's the achilles heel of the whole project.




回答5:


Here is one link: Kohana Tutorial But anyway - just enter word: Kohana tutorial into Google and your question is answered.




回答6:


Kohana Primer is pretty good.




回答7:


Just wanted to tell everyone that the Kohana 101 has been transfered to the wiki and it is (and will be) up to date with the current stable versions of the Kohana framework.

You can find it here.




回答8:


Just adding on to the list! I wrote one a little while back: http://flowdev.tumblr.com/post/1351061705/kohana-tutorial

Most of my blog posts are about Kohana.




回答9:


I agree. I guess since the transition from 2.x to 3.x, the docs need to be improved. Anyway, I weeded through the basics and brought up a blog article about how to get started fast:

http://voloreport.com/learn-kohana-mvc-php-in-under-an-hour1

The first part that I wrote starts with a discussion about what MVC is, and why Kohana. In Part 2, I go on to explain how to install and use Kohana.




回答10:


Most recent now is 3.1 - took a little toolin' through the website, but I found this - hope it helps someone:

http://kohanaframework.org/3.1/guide/kohana/

And more specifically for tutorials:
http://kohanaframework.org/3.1/guide/kohana/tutorials

 



来源:https://stackoverflow.com/questions/394175/searching-for-a-kohana-beginners-tutorial-for-php

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!