Archive for May, 2008

Ajax shopping cart, built using PHP + Prototype

Ajax is getting popular these days. Many would wanna convert their traditional shopping carts for their online stores into Ajax-driven, which needent page refresh. A tutorial example has been posted on PHPBuilder how to use Prototype on the JavaScript client side, to make ajax remote calls and PHP on the server to store the cart items.

Continue reading ‘Ajax shopping cart, built using PHP + Prototype’

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’

Spring WebFlow 2.0 now includes JavaScript module

Many of you might have known Spring as a J2EE framework that simplifies J2EE development by introducing the MVC (Model View Control) development methodology in J2EE.

Continue reading ‘Spring WebFlow 2.0 now includes JavaScript module’