TIP: Use Markdown or, <pre> for multi line code blocks / <code> for inline code.
These forums are read-only and for archival purposes only!
Please join our new forums at discourse.kohanaframework.org
Resources for learning Kohana
  • 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!

  • If you would like to add my poject to the KO3 resources, I have a Github account with the code and a blog with 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).
  • I highly disagree with one of the quicktips in the 2.4 user guide

    Models should not talk to the views directly (and vice versa).

    this makes no sense to me =/
  • Interesting Zeelot3k! What would be an example where the views or models would have or should talk to each other? Iv'e never encountered a situation in my applications where views needed to talk to models, but this does not mean it never happens or should be avoided... Can you give examples.
  • I was kinda vague =P

    a view can use models directly without needing everything from the controller

    things like getting the allowed actions a user can perform on another (crud permissions) before displaying the links is quick example...

    or even simple things like $user->posts... you can do that in your view... it's exactly the same as doing it in the controller and passing an array to the view
  • Would you guys mind either whispering to the OP or starting a new thread?

    Posted By: Dave Stewartif you could refrain from asking questions or commenting to keep the thread uncluttered, it would be appreciated


    We're trying to keep this as resources-only thread until the site is up and running, thanks :)
  • Here's my tutorial series for KO3: http://www.dealtaker.com/blog/tag/ko3/
  • Posted By: ellisgl

    Here's my tutorial series for KO3:http://www.dealtaker.com/blog/tag/ko3/



    Thanks ellisgl, very good resources for learn 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: guillermin

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



    in here you say


    The project isn't entirely open source (yet), but ..


    This is not correct. Kohana is 100% Open Source Software. Please check out the license.
  • I think he's talking about his application, not kohana.

  • @zombor,

    Ahh... May be I read his blog incorrectly. :-)
  • A new (german) blog abaout webdevelopment and Kohana:
    http://www.deniz-polat.de
  • Links collection by russian community (not only russian language!)
    https://docs.google.com/Doc?id=df3mtv9b_17fkfvtjg9
  • 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://qamini.com/

  • I'd like to see an example of kohanajobs but for 3.1 ver.) I will take a look at ddrake's demo app it looks very promising. thanks

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

  • Take the direct communication between models and views, which should not be the case and the other way around.

    @greggs, views can and should communicate directly with models as part of the MVC pattern.

  • I would love to see more live-examples (how all works together) like this one... Just for 3.1, of course.

    If someone can share link(s)... I would be really happy! x)

  • 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!!

  • It will.

  • 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 so much musicbynumber, this really is helpful :) Everything else is so out-dated
  • 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...

  • 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

  • A lot of dead links here... Where could I find API cheat sheet?

  • @yosh Google know )) http://devcheatsheet.com/tag/kohana/

    but I did't see actual tips for latest version, so it remains to use http://kohanaframework.org/3.3/guide/api

  • Hi, I get used to kohana, and liked it, but since some time, kohana looks like to be a little bit forgotten compare to other php framework, is this only illusion or people start using other frameworks ?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion