views:

8521

answers:

12

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  A: 

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

Riho
That link you posted is just a collection of tutorials for doing very specific task, and not a beginner's guide.
Andreas Grech
+21  A: 

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 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.

I hate pants!!!
Andrew Heath
+8  A: 

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

Link:http://ozoned.webfactional.com/dl/kohana101.pdf

Good luck and enjoy Kohana!

This link is broken, but http://pixelpeter.com/kohana/kohana101.pdf should work.
tanascius
Here's another link (non-pdf) http://dev.kohanaframework.org/wiki/kohana2/Kohana101
Toto
+1  A: 

Kohana Primer is pretty good.

alex
+1  A: 

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.

A: 

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.

petsagouris
A: 

Hi. I wrote a quick & dirty 'Getting started' tutorial over at http://breaktime.yolasite.com

Tash Pemhiwa
+3  A: 

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.

Barry
Agreed! Those really helped me get started =)
Svish
+5  A: 

I am going through the same thing. Kohana doesn't have the ridiculously active community that CI has but its pretty strong.

Just discovered a 7 part series for Kohana 3 KO3, I think you will find it useful too

http://www.dealtaker.com/blog/tag/ko3/

Abhic
+1  A: 

@Abhic: There's now a part 8: http://www.dealtaker.com/blog/2010/04/30/kohana-php-3-0-ko3-tutorial-part-8/

EllisGL
+1  A: 

I know that this thread is pretty old, but I think this link http://net.tutsplus.com/tutorials/php/kohana-the-swift-php-framework/ may help some other guys!

P.M
This would have been helpful a few months ago. If you are the author you should consider formatting to work the userguide and get it included with distribution.
Gerry
Hi Gerry, I am not the author of this tutorial, I found it while googling.
P.M
For Kohana 2 it seems.
Svish
Yes, but there is not too much difference...at least to start using the framework.
P.M