saquery.com
a web developer' s kung fu…

jDrums A few months ago, I studied the possibilities to play audio files such as wave or mp3 in a Web browser. I quickly came to the conclusion that it is a difficult project. As a test scenario I had imagined a very simple drum machine.

Categories: english | Add a Comment
ipad-palm

It is nice to know that jQuery will come on different Mobile devices such as iPad, iPhone, Palm and Android. source: http://jquerymobile.com/ Take a look at http://jquerymobile.com/

Categories: docs, english | Add a Comment

There are a lot of spider bots out there using so much traffic. It can be usefull for a webmaster to restrict access of some bots to keep your traffic limit save. It is easy to protect your website. Here is a list of bots no one needs.

Categories: docs, english | Add a Comment

Javascript Console-Log: Objects can be used in many ways in JavaScript. The following examples illustrate aspects of class architecture in Javascript. First of all: The execution context As described here it is allways a good idea to declare your own execution context.

Categories: english | Add a Comment

Out‐of‐Box Performance SQL Anywhere 12 added the following features to  enhance database performance, leading to faster queries and efficient use of resources. Automatic Tuning of Server Threads Column Statistics Management Improved Remote Data Access Performance Enhanced Connection Pooling for Clients and HTTP Server Other Performance Enhancements And much more… Scalability and Monitoring Developer Productivity Advanced Data Synchronization Take a look [...]

Categories: english | Add a Comment
/*! * jQuery Sample Plugin * * http://saquery.com * */ (function(){ $.fn.setBorderStyle = function( settings ) { var _defaults = { 'border':'solid 1px black', 'color':'red' }, _config = $.extend(_defaults, settings), _ = $(this); return _.each(function(i,n) { $(this).css(_config); }); }; })(jQuery); $(function(){ $('div').setBorderStyle(); }) Test 1 : Invoke setBorderStyle with default settings. $('div').setBorderStyle(); Invoke "Test 1" [...]
Categories: english | Add a Comment
This sample shows a good and well structured way to code your own WordPress Plugin in PHP. <?php /* Plugin Name: Your plugin-name Plugin URI: http://www.example.com Description: Your description. Version: 1.0.0.0 Author: Your name Author URI: http://www.example.com */ global $myWordpressPlugin; $myWordpressPlugin = new myWordpressPlugin(); class myWordpressPlugin{ function wp_head(){ echo '<!-- test -->'."\n"; } } add_action('wp_head', [...]
Categories: docs, english | Add a Comment
The big players on the Internet offer a good possibility to include well known JavaScript libraries  in your own websites. There is no need for a own webspace. This is an example to load jQuery and jQuery UI with the basic theme from Google CDN. <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" [...]
Categories: docs, english | Add a Comment
Your own scope or execution context in Javascript is important to avoid conflicts with instanced objects and variable names. var myVar=' - context0', toTitle = function(txt){ document.title+=txt; }; (function(){ var myVar=' - context1'; toTitle(myVar); })(); (function(){ var myVar=' - context2'; toTitle(myVar); })(); toTitle(myVar); Take a look at the page title to see how this example [...]