As we plan, organise and develop the new Kohana site over the coming months, we thought a logical interim location for learning resources would be a sticky thread.
Kohana 3.0.x resources:
Kohana 2.3.4 resources:
Kohana 2.4 (beta) resources:
If you want to add any further quality resources to this thread as needed feel free to do so, but if you could refrain from asking questions or commenting to keep the thread uncluttered, it would be appreciated.
If you need to alert or question any posts, please whisper to the original poster.
Isaiah... can you delete this post and the two whispered before it? Thanks!
Posted By: Dave Stewartif you could refrain from asking questions or commenting to keep the thread uncluttered, it would be appreciated
Posted By: ellisglHere's my tutorial series for KO3:http://www.dealtaker.com/blog/tag/ko3/
I wrote a simple "Hello, world!" style plugin, you can find it here: http://github.com/MasterCJ/Hello-Kohana
I'm aware that the naming is off on the repository... >_>
Posted By: guillerminIf you would like to add my poject to the KO3 resources, I have aGithub accountwith the code and ablogwith comments. The blog includes a post where I list the resources I used with a brief comment of each one (many of them are on this list also). BTW, I would definitely add the Kohana Github as a Download resource, since the dev.kohanaphp version (3.0.3) is not up to date (I have found that at least one Auth bug in 3.0.3 is fixed in the Github version).
The project isn't entirely open source (yet), but ..
Sample Kohana Module Template
Learn to do your own module by doing one :) https://github.com/sebicas/kohana-module-template/
You can use this code as base to learn what a module can do, and create your own!
Sebicas
Kohana Demo Application with reverse routing, KOstache templating, simple authentication with login and admin roles, form validation displaying default error messages, custom Application Error handling (for 404 errors, etc..), ORM with MySQL database.
Edit: Updated 7/25/11 for Kohana 3.2 compatibility, but should still work with 3.1
Edit: added server-side pagination, filtering and sorting
@ddrake. Thank you very much for your excellent demo. This is the best demo for a beginner (imo) and based on the latest version of Kohana. Excellent Installations instructions and config examples files.
PS
If you add pagination to the next version of demo that would be great :-)
You could also add the following open source Kohana application to the list:
http://kohanaframework.org/tutorials Why is this link not working?
There are good points on this resources but there are some who are in conflict with some standards that are accepted in the discipline. Take the direct communication between models and views, which should not be the case and the other way around. Though, these are still good sources for those who are just to start their own venture.
FWIW I'm having a hard time just getting basic functionality (CRUD, ORM, even Logging) to work with KO3.1, partially because there appear to be a lot of differences between 3.0 and 3.1 and the documentation is pretty bad for everything in general. From an experienced developers perspective who is at the same time quite new to Kohana 3, with a bit of experience w/ Kohana 2.x its been a real PITA to get a new application going based on KO3, with any sense of confidence that the way I'm working is the best practice and is also secure.
As contrast, I'd say the Jquery docs are awesome in that they provide complete working examples. (as do the PHP language docs) Any way to build such a doc system, in which people like me can contribute and/or get corrections on specific API details would be much welcomed
I'll pepper my complaints with compliments and kudos to the developers of KO3, I'm investing a large amount of time trying to learn this because it looks like a great framework... Hoping it will pay off!!
Any way to build such a doc system, in which people like me can contribute [...] would be much welcomed
Clone the core (be sure to choose the 3.x develop branch), update the guide, submit a feature request in Kohana's bug tracker, make a pull request with your issue #.
Thank you.
Kohana 3.2 Official Documentation all-in-one PDF, ePub and HTML formats
http://xaviesteve.com/2965/kohana-3-2-documentation-all-in-one-pdf-epub-and-html-formats/
When's it going to be complete?
When is what going to be complete?
The above documentation: Check out the Todo's
TBH: I'm still in the process of deciding which framework to use. I have already delved in with Kohana 2.3 and am now considering 3.2 but the examples and documentation here seems...... incomplete. Examples (which is my best learning style) are minimal. Links under http://kohanaframework.org/3.2/guide/kohana/tutorials specifically state they are for Kohana 3.0 which I've read is quite different. Everything I find seems to be written for users who are quite familiar with the framework already...
And, forgive me, but I quite like the dwoo module... which does not seem to work for kohana 3.2 Perhaps I'll restate, I like the fact of the short hand within the views and such. Such as {$blah} and {if isset($check_exists.Cell1)}Already exists{/if}
In fact, there doesn't seem to be many modules at all... http://kohana.mongeslani.com/ points to 5 on github (which is average at best, github that is) And then there's: https://github.com/kolanos/kohana-universe/tree/master/modules/ WTF? What is "a1-e822968"? But it was updated a year ago. I could go on. Please don't get me wrong, I really want to use Kohana, but it is not easy. It's hard to get the community support when it's so hard to find any support.
try kohana-modules.com - there's a dwoo adapter on there too.
Thanks, did try that (kodwoo). It didn't work. Maybe it was me? But it does say that the compatibility of it is for 3.0 only...
upgrading 3.0 to 3.1
upgrading 3.1 to 3.2
:) fairly easy to do
Kohana is more of a "do-it-yourself" kind of ideology. We strive for you to learn by reading source and doing, instead of copy-pasting tutorials that probably won't fit your needs exactly anyway. The API docs are fantastic, check them out.
@zombor after writing my first application with Kohana I totally agree with you.
Ahhhhhhhh, I have literally spent hours and hours and hours reading and reading and doing and doing but there is a point where help is needed. I’m past that point. I’m redoing it again for the (lost count)....
@Zombor -- yes, the API docs are great. They take a bit of work to get into, but nothing (good) in life is free. One of the great things in Kohana is the way that the Userguide module rewards you for commenting the crap out of your code. I strongly recommend to anyone to dig through /guide/api on their dev sites, and learn how to get the most out of that module.
I keep meaning to contribute to the actual Kohana docs. Hopefully someday soon. I'd like to fill out some of those todos
This post is 3 years old and most of the ressources in it are returning a 404 or even unknown domain. I'm desperate finding some good documentation on Kohana 3.3. Should it really stay "sticky"?
You are right I want to learn Kohana but I find not much learningstuff. I had written a tutorial some month before but it is in German:
http://softwarebauer.blogspot.de/2012/05/kohana-32-fur-einsteiger.html
It shows how you can produce a login and a simple calculator and save your Tasks in the Database
It looks like you're new here. If you want to get involved, click one of these buttons!