Hi all, just wrote up a javascript object to parse url parameters. You can take parameters out of the querystring or the url hash. Usage //assuming http://www.example.com/index/?foo=bar&baz=baa#test=true url.href; //returns http://www.example.com/index/?foo=bar&baz=baa#test=true url.path //return /index/?foo=bar&baz=baa#test=true url.get('foo'); //returns 'bar' url.get('test'); //returns true Script var url = (function(){ var _href = location.href; var _path = location.pathname; var _qs = location.search.replace(/\?/, ''); var _hash = location.hash.replace(/\#/, ''); var _parse = function(string){ var params = string.split('&'); var holder = ; for(var Read More
Simplified Interface to HTML5 local storage
Documentation & Sandbox: http://rmcvey.github.com/jsper Cart example: http://rmcvey.github.com/jsper/cart_example.html I decided it was time to dive into the HTML5 local storage API the other night, knowing that it has a lot of potential. There are a few problems inherent to using it, the biggest problem being lack of support in older browsers (and to a lesser degree that Read More
Validating Data with Enhanced Declarative Data Integrity Rules
Visit us at our new Google Code project page: http://code.google.com/p/metadata-validator/ Problem Definition Data validation and integrity assurance are complex subjects that have strong opinions tied to the way they are implemented. Some strongly feel that the database can handle validation using the column's attributes (size, data type, etc) and TRIGGERS/STORED PROCEDURES can provide means to enforce complex Read More

