Kristo Vaher

inventas vitam iuvat excoluisse per artes

Skip to: Content | Sidebar | Footer

Month: May, 2010

A simple PHP pathfinder class – as promised

25 May, 2010 (22:55) | Web Development | By: Kristo Vaher

I recently shared a simple PHP and jQuery animated pathfinding tech-demo through my Twitter account and promised to share the simple pathfinding class used for pathfinding calculations. The example shared in Twitter is still available here. This example has a few limits, that is you can easily confuse it by clicking on two tile locations [...]

Implementing tree traversal architecture for OriginNode

9 May, 2010 (13:35) | OriginNode | By: Kristo Vaher

In my various old projects for one reason or another a very recursive algorithm was used to fetch data that was structured in a tree. In some cases multiple trees were stored within the same table, which caused problems when trying to implement faster and better algorithms when fetching data from the tree, adding new [...]

How to use multiple domains within one environment

4 May, 2010 (11:17) | Web Development | By: Kristo Vaher

This is a quick and unrelated post to all readers out there who pay for hosting services in shared virtualhost environments. I have been asked this question a few times in the past, but I figured it is good to share the tips here. In Estonia there are a number of hosting services for relatively [...]