PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Query7.com: Kohana 3.1 Wiki Tutorial

Note: This article was originally published at PHPDeveloper on 10 May 2011.
PHPDeveloper

On the Query7.com blog today Logan shows you how to create a simple wiki with the help of the Kohana framework, a HMVC PHP5 framework that includes several tools (including UTF-8 suport and a cascading filesystem) to make a developer's life easier.

In this tutorial you will learn how to create a simple wiki using the PHP framework Kohana version 3.1. Several years ago Siddharta Govindaraj created a screencast demonstrating how to create a wiki using Django, this is essentially the Kohana version of that. It covers using Kohana's Routing, ORM and MVC systems. Full source code of the application is available on github.

You'll need to be at least a bit familiar with the framework to follow along, but he takes it step-by-step to be sure things are easy to follow. He shows the configuration changes you'll need to make to the boostrap and the database configuration. He shows you the creation of a model and the SQL to match as well as the routing change for the new addition. Views are next on the list, then the controller - all with full code included.