« Previous Entries Next Entries »

Practical Kohana Hooks example: PHPIDS

PHPIDS Logo

So further to Dlibs tutorial on hooks, I thought I would help to demonstrate the power of this with a practical example of their usage: whilst reading this entry on PHPIDS I thought that seemed like a prime candidate for an example and so by following along below you should have a nice example of integrating a third party app into Kohana using the hooks/events system!

(more…)

Kohana Pagination Tutorial

An unimaginative image of pagination

A couple days back Dlib posted over at the learning Kohana Blog asking people for some tutorial topics, one of the mentioned options was that of the Pagination library so I thought I would help out and throw one together for it (as it’s very simple and shouldn’t take to long!

Pagination is (in most of my projects anyway) a frequently used option, it is something users have come to expect, and from an interface point of view can give us more controll over the display of large datasets, in short its probably something you should be providing if you allready arn’t! The pagination library in Kohana takes out the monotinous side to calculating the pagination links, and allows us to rapidly provide the functionality with a minimal of fuss.

(more…)

Kohana simple blog screencast

So following on from yesterdays screencast I have put together another short tutorial showing the first part of a simple blog application.

The tutorial touches on the template controller use, basic ORM implementation and basic configuration issues. It picks up straight from where the previous tutorial left off and will be concluded by a second part showing how to make use of the forge module and ORM to create and save blog entries. (more…)

« Previous Entries Next Entries »