What is this?
ASP? Nobody uses that anymore.
If you're not, and you're using something like Rhino or Helma, you still could be in luck. Prototype ASP doesn't really depend on anything in ASP, but I would love to hear from you and fix it if it doesn't quite work for you.
How do I use it?
In any ASP document, do something like this:
How is this different from regular old Prototype?
Most of the great stuff in Prototype centers around DOM manipulation and AJAX, which depends on a web browser. Prototype ASP strips all of that out (including the deprecated methods) and leaves the rest: classical inheritance, enumerable, string, and array manipulation, functional programming features, and more. Try that in VBScript!
The following objects, classes, and methods have been removed in Prototype ASP:
Is there any documentation?
All documentation can be found at http://prototypejs.org/api/
Are there any known issues?
- String#capitalize does not seem to work on some international unicode strings on JScript.
- Hash#toQueryString does not seem to work at all. I'm not sure why. It may be something I did.
Any help fixing these would be greatly appreciated.
How About Tests?
The tests in the /test/unit/ directory of the source distribution have been adapted to work on ASP. This framework will be released as a separate project soon.
Great! Can I download it already?