Month: October 2012

  • Some Terms: Registry Pattern, object hash

    I would talk about a pattern whose name I fail to know before, giving it the name of multi-singleton. Registry pattern I read about it in PHP 5 certification study guide from php|architect’s series. This is the example given: class Registry { private static $_register; public static function add(&$item, $name = null) { if (is_object($item)…

  • base 64 encode by ebay (ending with **)

    I found this and thought it was my bug .. but .. When I get IEASToken in getUser ebay api request it returns a token with == a the end. It is a base64 encoded string, and have ‘=’ sign at end as expected. But when eBay send notification, there are ‘**’ in place of…