Displaying posts tagged:

Callicore Desktop - A PHP-GTK2 Framework

I haven't posted for awhile but I've been doing quite a bit of work on Writer, well rearranging actually, to make the code easier to use and manage.

Flightiness...

I haven't touched my brother's little project HTML_AJAX in quite a while. First of all I haven't been doing any AJAX, secondly I had some bad experiences with (rather annoying) users when I did help out. But tonight I got bored. Why am I such a flighty person? I "fixed" a couple of bugs for the …

Callicore Test System

Unit testing is something that every project really should do - so you can see where things go wrong. So as I consolidate some of my junk into callicore I'm trying to make it easier to keep track of. I'd almost like to use trac - but there's something in my soul that rebels against using …

The list

Digging around in my mounds of code I have a couple of things I want to consolidate into the callicore library -

Callicore

What? I like the name - and the pretty butterfly - so I'm using it for my personal code project.

The saga continues...

Well, I did some looking for a simple, assert style testing framework - maybe one or two classes is all I wanted. The closest thing to what I wanted was simpletest but my goodness - it isn't so simple anymore. Like phpunit(2) it's become a behemoth. So I suppose I'll have to quick roll my own.

Coding fun

I've been working on Kalfu sporadically - usually on days when I don't feel well enough to do much else. I'm to the point where it's basically working again. I'm trying to create a nice api for the view tree object - the general idea is that you create one object tree that all modules and …

In the coding mood

I'm moving onward in my "document while getting ready for a release" drive. I've been doing quite a bit of rearranging in svn, something that was always annoying to do in cvs.

String class

UPDATE: since kalfu bit the dust the svn repo is no more...however I kept a copy of the class around for those interested in messing with it - and updated the url

Some more consolidation

Since my brain doesn't seem to be cooperating with coding I decided to do some documentation and planning stuff today, and to my surprise I got quite a bit finished. Basically it involved a quick audit of all the files I'm including in the "kernel" - the main distribution, and what could be stripped away and …

Introducing Kalfu

Anyone google Kalfu lately? Well, number 5 on that list (currently) is my "little project" Kalfu. First of all, the name is rather, well, meaningless in a way but no more so than most open source projects. I wanted something that DIDN'T go with the phpmysomething naming or even the yet another blah. Instead I started …

Back to the code...

Well, I'm back to coding again - lucky me. I've been working on kalfu again and have made some progress. Probably the biggest thing were some "left brain induced drawing moments" where I actually sat down and mapped some things out. Also I worked on getting the data filter working the way I wanted it to …

Wordpress Hacks revisted

Well, I'm still trying to push some fixes into the wp core that would make db abstraction easier, but until then here is the wordpress 1.5.3 version of the files for the hack. for a new installation it's the same as always - if you're upgrading and using the hack, first upgrade using the official wordpress …

My Mod idea...

Well, they're doing a mod/plugin contest for wordpress and lots of people have been whining for a pear::db solution for wordpress - so starting april 15th I'll be hacking up a class to emulate the calls from wp-db and using pear::db as the backend. I'll also have to create a way to parse and substitute queries …

Pff and Widgets

Well I'm down the nitty gritty of the pff stuff now, I'm to the point where I'm actually starting to create modules. Right now I'm writing standarized "widgets" for common html stuff. They're designed so the model information - such as the names and types for a form, can be manipulated until the widget is assigned …

Hooks in Pff

So I finally sat down and started working on coding again, I swear this stupid michigan weather is playing havoc with my brain. I like sunshine, and the more I get, the more I want, but a few days of sun followed by a week of clouds is not good for you.

magic bugs

so I have a "magic bug" in my home-rolled session class for pff. Everything works great until I turn on the security hashing - which is supposed to hash the session id, session name, and the current hash phrase together, store it in a session, and compare it each time

Pff_Collection and Pff_Data

Well, I just finished a new paradigm for data handling in pff. I discovered the ArrayAccess interface in SPL - which is really cool, and then using __get and __set I create a class that can handle data as an array or as an object. Why is this useful? Well, I'm using it for all data …

Php and Utf-8

Php is a pain in the butt for dealing with different character sets. The language itself doesn't natively handle anything - you have to do several things to get a different charset to work. First of all you need the iconv or mbstring extensions. iconv is now built in by default but doesn't have very many …

Subversion

So...I decided to set up subversion using webdav so my phpfanfiction repository could be opened up "to the public" for viewing. I didn't install view cvs or anything, cause I'm kind of lazy that way. I used fedora rpms to put it on because I didn't want to bother with compiling. I really hate compiling... I …

The cure for featuritis

I'm a lunatic, this is an established fact...that full moon comes up and I just....errr, nevermind. So I was getting to the point where the framework was just about finished, time to add in language support (ugh) when I decided to do a bit of profiling, just to see if I had any bottlenecks.

Hacking Wordpress

UPDATE: 1.5.3 Version is out. No guarantees if it works. - more details

design patterns and hooks

So I found a really good article on design patterns with hooks - a quick excerpt
The methods invoked by template methods are called hooks. Hook methods are places where adaptation can occur by subclassing. It's the job of hooks (and especially hook subclasses) to define, augment, or override each step in the algorithm. Hook methods are…

New Wordpress...I hate upgrades

In case you didn't know, currently this blog is run on wordpress, a php web logging tool. It's a bit different than some of the "brand name" tools, like Moveable Type, because instead of creating static html pages, instead it uses php and a database to create a dynamic blog. In addition, there are lots of …

XSD and fun with xml

Earlier I talked about how I'm writing my own abstraction layer for databases - one that has a pdo-like api but also abstracts out things like sql differences, limits, sequences, et al. Well, I'd been watching the development of mdb2 in pear and decided not to go that way...wow it's big. But one of the things …