Searching for a Kohana Beginner's Tutorial for

2019-01-29 16:13发布

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.

11条回答
别忘想泡老子
2楼-- · 2019-01-29 16:50

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.

查看更多
Root(大扎)
3楼-- · 2019-01-29 16:50

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.

查看更多
成全新的幸福
4楼-- · 2019-01-29 16:51

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

 

查看更多
做个烂人
5楼-- · 2019-01-29 16:56

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.

查看更多
我欲成王,谁敢阻挡
6楼-- · 2019-01-29 16:57

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.

查看更多
一夜七次
7楼-- · 2019-01-29 16:57

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!

查看更多
登录 后发表回答