Archives for: "December 2008"
milliseconds Add up in the Browser
Dec 30th
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
Dec 30th
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
Dec 29th
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
Dec 27th
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 »