Set of useful PHP, Perl and JavaScript libraries developed and supported by the author.
The library named JsHttpRequest is a powerfull tool to create AJAX-based websites in PHP. It has a great cross-browser compatibility (works even without an XMLHttpRequest support!), the simple and universal interface. The library supports AJAX-style background file uploading to a server without a page reloading and lots of other features.
JsHttpRequest is also fully compatible with AJAX functions of the popular library Prototype and could be used as its server part in PHP. Even so, all additional features of JsHttpRequest (cross-browser compatibility, file uploading support, work with national charsets etc.) are still available.
.
// JavaScript code: JsHttpRequest.query( 'your_ajax_script.php', { name: 'Dmitry', file: $("my_upload_file") }, function(result, debugMessages) { $("result").innerHTML = result.hello; if (debugMessages) alert(debugMessages); } );// PHP code: require_once "lib/JsHttpRequest.php"; new JsHttpRequest("windows-1251"); $GLOBALS['_RESULT']['hello'] = "Hello, {$_REQUEST['name']}!"; echo "A debug message";
JsHttpRequest: a library for AJAX-based scripts creation which has excellent cross-browser compatibility, unprecedented simple and universal. It also supports file uploading to the server without page reloads and has ability to sent the whole HTML form at once.
dkLab Apache is a patched Apache distibution for those who plan to use Apache web-server in Unix (Linux, FreeBSD etc.) to serve multiple separated sites working under different, fully separated and independent Unix users. It does not have some lacks of analogs, e.g.: does not require to install any OS kernel modules nor disable setuid; works correctly and intelligently with KeepAlive turned on and MaxRequestsPerChild > 1.
DbSimple: database abstraction library which provides an extremely laconic and handy interface for practical usage in PHP 4/5 scripts. Its usage is much easier than most of other popular abstraction libraries (like ADODB, PEAR DB, and PDO). "Query execution" and "result fetching" operations are joined thogether and complemented by powerful placeholder support (including list-based placeholders) and various fetching modes. The library supports a unique and very convenient method to build dynamic SQL queries (conditional macro-blocks).
This site is created by web-programmers and for web-programmers. We hope you find here a lot of useful information about site creation, scripting etc.