22. December 2012

HTML5 Game: Snowman’s teleport – PF 2013

Help little snowman to find Xmas tree. ;-)

Source code available at GitHub.

You can find more games at georgik.rocks/tag/games/

31. December 2011

HTML5 Game: Maze Pathfinder – PF 2012

Find a path to the treasure.

Note: Map is based on one geocache puzzle. Written as PF’2012.

You can find more games at georgik.rocks/tag/games/

20. November 2011

Unexpected token ILLEGAL in jQuery.i18n.properties

jQuery.i18n.properties is useful library based on jQuery. You can use it to load .properties files with localization to web application.

I made upgrade of jQuery in my application from version 1.6.2 and application failed with error:

Uncaught SyntaxError: Unexpected token ILLEGAL

I spent some time debugging jQuery and i18n and I found out that one of .properties file contains weird property with name:

1_guide=1 guide

Problem was in numeric prefix. Solution is quite easy: fix property.

one_guide=1 guide

This problem occurs when you upgrade jQuery to 1.6.3 and higher.

29. August 2011

Pexeso – Flex-like framework for PHP

Switching between different languages during development of server-client application is daunting task.

Jan Volf wrote Pexeso framework. Pexeso is component based, event driven PHP View-Controller framework similar to Adobe Flex framework.

Developer can reuse patterns and Flex style of writing code even when coding in PHP.

You can find this project at SourceForge: pexeso-php.sourceforge.net

17. August 2011

Problem with jQueryMobile application in Internet Explorer

I was building application based on jQueryMobile.

It worked correctly in all modern browsers except Internet Explorer. Application was displayed incorrectly and it was not functioning at all.

Solution to this problem was quite easy. I forgot to specify following line in the beginning of document:

<!DOCTYPE html>

Application started to work correctly also in IE after this small fix.