milliseconds Add up in the Browser

dojo's dynamic inclusion of the logic required to render pages is great. The line dojo.require("widget"), ensures that the code required to run "widget" will be ready to run. There is a hidden cost to this - the underlying logic and requests to get t… more »

dojo dijit Tri-State Checkbox Widget

The link above is a demonstration of a dojo dijit Tri-State Checkbox Widget. It includes a nice button interface to test the properties, methods, and events of the widget, some documentation, and a link so you can download the widget and the test code.… more »

PHP Session Development Strategies

Use Firebug to get the session id off the page requests. Find the directory session files are stored in. On busy, shared servers, this is often /tmp. Check /etc/php.ini or possibly /etc/httpd/conf.d/php.conf. To simulate a session timeout on the serv… more »

Generated profile.js for dojo Builds

To generate a profile.js file for dojo builds, you can use the following command string: grep dojo.require * | sed "s/dojo\.require\ *(\ *\([\'\"][^\)]*\)).*/\1/" | awk '{l=length($0);if (FNR!=1) printf "\n,%s",$0; else printf "%s",$0;}' > middle… more »


Crache - Poorly configured server caching which prevents distribution of updated files such as CSS, images, and javascript. Crached pages display poorly until the browser cache is cleared. *** This can be a very subtle problem, as developers often cl… more »