This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Example | |
//======= | |
ini_set("display_errors", true); | |
error_reporting(E_ALL|E_STRICT & ~E_NOTICE); | |
set_error_handler(function($errno, $errstr, $errfile, $errline){ | |
throw new ErrorException($errstr, 0, $errno, $errfile, $errline); | |
}); | |
$db = MySQLiDB::getInstance(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
the request ... | |
================ | |
{ | |
"method":"foobar", | |
"params":["foo", "bar", "baz"] | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JS Client using jquery ajax and json2.js | |
======================================== | |
App.invokeRpc = function(method, params, callback) | |
{ | |
var rpc = { | |
method:method, | |
params:params | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.application.rpc | |
{ | |
/** | |
* ... | |
* @author seb | |
*/ | |
public dynamic class CallbackVO extends Object | |
{ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.basilicom.utils | |
{ | |
import flash.external.ExternalInterface; | |
public class FireLog | |
{ | |
public static function log(msg:String = null, data:* = null):void | |
{ | |
try |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by JetBrains PhpStorm. | |
* User: seb | |
* Date: 02.11.11 | |
* Time: 09:55 | |
* To change this template use File | Settings | File Templates. | |
*/ | |
class Lib_Utils_Array_List_Values | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Lib_Utils_Vector_UnsignedInt | |
*/ | |
class Lib_Utils_Vector_UnsignedInt | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Lib_Utils_Vector_UnsignedBigIntString | |
* | |
*/ | |
class Lib_Utils_Vector_UnsignedBigIntString | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
if (!Basilicom) { | |
Basilicom = {}; | |
} | |
}catch(e) { | |
Basilicom = {}; | |
} | |
// +++++ Basilicom.console ++++++++++++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Created by JetBrains PhpStorm. | |
* User: VAIO | |
* Date: 02.11.11 | |
* Time: 09:55 | |
* To change this template use File | Settings | File Templates. | |
*/ | |
class Lib_Utils_Array_Dictionary |
OlderNewer