Category Archives: Kohana v3

Kohana ORM and PDO Revisited

Few days ago I posted about using Kohana ORM module with PDO driver. As I went developing some basic CRUD using ORM, I found out from a very old post in the forum that ORM only needs very few information … Continue reading

Posted in Kohana v3 | Tagged , , , | Leave a comment

Kohana ORM and PDO

The default ORM and PDO combination for Kohana doesn’t work because list_columns method is not supported by Kohana’s PDO driver. However, those column listings was originally built for MySQL and what I need is only PDO MySQL. Therefore we can … Continue reading

Posted in Kohana v3 | Tagged , , , | 3 Comments

Kohana Module – Pagecache

Last year, I have created a post about page caching in PHP. It was written in Kohana and was incorporated to my collection of classes that was packed into a single module. This time, I created Pagecache module for Kohana … Continue reading

Posted in Caching, Kohana v3 | Tagged , , , | Leave a comment

Kohana 3.1 Validation Adventures

Just today, I have setup Kohana unittest module for CLI and decided to dive into the validation class and look for hints for the migration. Because I was not that busy, I played the Kohana_Validation class with unit tests and … Continue reading

Posted in Kohana v3 | Tagged , , , , | 5 Comments

Kohana 3.1 Migration – Unit Testing

Kohana Unittest module has no major changes on how to set it up, however, because of the 3.1 update, bootstrapping the unit tests for PHPUnit has changed a bit (just a bit). Based on my old post, here is how … Continue reading

Posted in Kohana v3 | Tagged , , , , , , , | 14 Comments

Kohana 3.1 Migration – Custom Error Pages

Kohana 3.1 has been released few days ago and it is time to upgrade all my Kohana based application / websites. To make it simple, I have upgraded first my portfolio site and so far, only the custom 404 page … Continue reading

Posted in Kohana v3 | Tagged , , , , , , | 50 Comments

Kohana and Slackware – PCRE UTF-8 Support

It’s been several months that I’m developing on my Slackware box and one of the PHP framework I’m using is Kohana. I was shocked that when I run the Kohana install test, my system did not pass the requirements. It … Continue reading

Posted in Kohana v3, Linux, Slackware | Tagged , , , , , , , , | Leave a comment

Kohana Unit Testing – Finally

I’ve written about using PHPUnit in Kohana in the past. However, there is now an official Unit Testing module for Kohana v3 (uses PHPUnit). From the previous hacks, I changed it now to be compliant with the official unit testing … Continue reading

Posted in Kohana v3, PHPUnit | Tagged , , , , , , , | 9 Comments

Kohana 404 Pages

So you think your Kohana v3 powered application is cool? Suddenly you encountered a page not found (HTTP 404 error) message where Kohana dumps the error messages in debug mode! It is already part of the daily web but yet, … Continue reading

Posted in Kohana v3 | Tagged , , , , , , | 4 Comments

Created My First Kohana Route

Recently, I have tried to create my own route in Kohana v3. It is a very simple route for a paginated feed streams from a social network. My previous method was to just use the first parameter “id” as the … Continue reading

Posted in Kohana v3 | Tagged , , , , | Leave a comment