Archive for the 'Quick Tip' Category

Prototype Javascript optimization to get best performance

Although Prototype comes with very convenient and short cut methods to let you create ajax applications and other JavaScript that manipulates well of the DOM structure, but there will be some significant degradation in performance in some of these methods.

Continue reading ‘Prototype Javascript optimization to get best performance’

PHP + Rsync + MySQL – building your own data/file remote syncing app

This is to show you how you can build a little rsync app in PHP that is to be run by a Linux/Unix cron job that syncs files on your data or web server to a remote server. PHP is allowed to execute the Unix/Linux system commands such as “rsync” and it gives you the easiness of accessing database such as MySQL.

Continue reading ‘PHP + Rsync + MySQL – building your own data/file remote syncing app’

Canvas2Image – converts what you draw on WHATWG canvas to downloadable images on the fly

Here comes a small JavaScript library, Canvas2Image that you could include on your web page, and it allows those lines and boxes that you draw on a WHATWG canvas (made using new HTML <canvas></canvas> tag pair) to be converted into images on the fly for download.

Continue reading ‘Canvas2Image – converts what you draw on WHATWG canvas to downloadable images on the fly’

SQL command to show code of stored procedure in Oracle

If you ain’t have a good Oracle tool, such as Toad, and you wish to view or print a stored procedure in the Oracle database, you can check the all_source table.

Continue reading ‘SQL command to show code of stored procedure in Oracle’

AjaxSwing 2.0 – Swing front end for Ajax apps

A new version of webcream, now has been renamed and launched as AjaxSwing 2.0. It’s a framework that does communication with web server purely using asynchronous JavaScript and uses partial page update to refresh web browser.

Continue reading ‘AjaxSwing 2.0 – Swing front end for Ajax apps’

Google Gears will include Image manipulation API

Google Gears will have a set of API for manipulating images. Such as cropping, resizing and composing images etc on the client-side using JavaScript.

Continue reading ‘Google Gears will include Image manipulation API’

Anvil Framework for developing GUI-based Ruby apps

Anvil, a ruby framework that uses GUI toolkit for building GUI Ruby apps. Installation instruction as follows:

Installation

$ sudo gem install anvil

Continue reading ‘Anvil Framework for developing GUI-based Ruby apps’