Tags
Version 2
Sun 30 Jan 2011 07:31:50 PM EST / Comments / Tags: kohana,kohanaphp,ko2,php
This is for KO2 mods
Read more
List manager
Wed 30 Dec 2009 12:51:00 AM EST / Comments / Tags: kohana,php,list
I seem to work with lists quite a lot, I decided to make it easier by creating an object based list manager which works quite well.
The main usage for this was to allow things that live in <head> sections to be added/modified on the fly inside a controller without having to deal with multiple base templates.
Installation
I install…
Read more
Clean - PHP Tidy and Kohana
Wed 30 Dec 2009 12:45:00 AM EST / Comments / Tags: php,kohana,clean,tidy
So I need a cleaner method of parsing my HTML output to ensure that my really badly written markup doesn’t get passed to the end user. I decided to give PHP Tidy a whirl and here is the solution I came up with. I can’t take much credit for this because I gleened large parts from the…
Read more
Version 3
Sun 30 Jan 2011 07:31:50 PM EST / Comments / Tags: kohana,kohanaphp,ko3,php
This is for KO3 mods
Read more
Coding WTF of the day.
Thu 31 Mar 2011 10:28:36 PM EST / Comments / Tags: php,code,wtf
I came across this snippet today on the PHP manual page.. The page was actually about a function called scandir() which lists all files in a directory. This is of interest as I have always used the old school opendir() system to achieve this. The point however was that browsing the comments, I noticed this.
Engine change update
Fri 06 Aug 2010 01:18:00 AM EST / Comments / Tags: php,kohana,ko3,kohanaphp,code
I changed it around.
I decided to really break the model system down hardcore after I wrote the last article. I now have 7 models dealing with data in many ways.
Model_file
This model deals with files directly, this includes checking for readability, existence, etc.
Model_directory
This model deals with directories, this sometimes includes asking Model_file, and Model_process (below) for…
Read more
A change of engine
Mon 26 Jul 2010 03:30:00 PM EST / Comments / Tags: php,kohana,sqlite,framework,code,www,site
What?
I changed the engine on my main site, I decided to write a new project in KO3 (Kohanaphp v3) to trial it more than anything.
My goal was simple, create a document engine that would serve documents like a wiki with a blog style front-end to show them in chronological order.
When?
The complete project…