WebComic RSS

I had a poke around my public services (the stuff on services.signpostmarv.name), cleaned up a bunch of crap that was no-longer in use, then decided to poke around the code for my WebComic RSS service. There’s a mix of UHU4 and UHU5 code in there, so I thought it was time to start upgrading the [...]

PHP5 LLSD Parser example

I recently committed my LLSD parser to the public SVN server, after someone posted on the RegAPI mailing list asking for a LLSD parser that worked under PHP5.First the example script, then a step by step explanation of the output. 01< ?php02header(’Content-Type:text/plain’); # makes it easier to read the output03define(’UHU_DEBUG_MODE’,true); # enables extended error reporting04define(’UHU_ERROR_AS_EXCEPTION’,true); [...]

UHU5 code snippets: LLSD/capabilities components

While trying to find a source-code sherpa, I’ve been working on an LLSD parser- it’s mostly complete now, so I started work on an interface to LL’s capabilities services- here’s some snippets that show off the geekiness of the code: 4fbadaf2b7c9e1_ Here’s the kicker- uhu_capability_regapi::get_error_codes() doesn’t exist- overloading magic is at work. The actual uhu_capability_regapi [...]

Updates on UHU5

Overview The configuration check for headersBySAPI() is ran only once- compare the UHU4 implementation with the UHU5 implementation. Although headersBySAPI() is now wrapped in it’s own class, the same function wrapper exists in UHU5 as was present in UHU4. is_uuid() is still a function wrapper to uhu::is_uuid() (previously uhu4::is_uuid()), however the UHU5 version caches the [...]