Ninjapenguin blog!

Welcome to my blog. I will use this as a dump for everything current. Hopefully I will try and keep this up-to-date and integrate it as closely as possible with my flickr account etc

The blog will hopefully be mainly composed of stuff relating to my work, so plenty of php, open source, web design etc, though there may be a splattering of personal information in here.

. . . . . . .

Kohana ORM Tip

Well, I havn’t posted anything for a little while, what with work, work and even some personal things i’ve been working on time just seems to of evapourated.

During the time Kohana 2.2 has been released, congratulations to everyone involved in that, there now seems to be the slow but inevitable move towards bringing the documentation up to date. Im hoping that I will find the time to put together a few tutorials soon to show of some of the new features in Kohana, and with even more hope I will be releasing a couple of small apps (fngers crossed)

Read the rest of this entry »

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!

Read the rest of this entry »

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.

Read the rest of this entry »

« Previous Entries Next Entries »