Developing Feather-Weight Webservices with JavaScript

Custom and extended object classes

The following mini-code libraries are presented for your use and reuse.

Code for the Args() classes
Two complete versions of a script argument handling class. Used to extract arguments when a script is called query string, like so:
<script type="text/javascript" src="http://elektrum.org/js/noService.js?key=value;key2=value+two"> </script>
Code for the Query() class
A class to examine query strings from the referrer and the current page. It finds and parses queries then scores query values for human readability.
Extending the native Date() class
Method extensions to the native Date() object.
Extending the native Array() class
Method extensions to the native Array() object.
Extending the native String() class
Method extensions to the native String() object.
Extending the native Number() class
Method extensions to the native Number() object.
An HTML library with JavaScript
Functions to write HTML directly from JS without all the usual document.write()s and String + string + string.
« Appendix · Extending the native Date() class »
Google
 
Web Developing Featherweight Web Services with JavaScript
This is version 0.57b of this manual. It is a beta version with some gaps. We are grateful for feedback.

The code is the manual has not yet been fully tested against Internet Explorer. Bug reports are welcome.
An Elektrum Press Online