ServerJS/Binary: Difference between revisions
< ServerJS
Jump to navigation
Jump to search
m (→Prior Art) |
|||
(8 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
JavaScript does not have a binary data type. However, in server-side scenarios, binary data needs to be often processed. That is why we need some working byte or binary array or string class. | |||
= Proposals = | |||
# [[ServerJS/Binary/A]] Proposal A from Ondras | |||
# [[ServerJS/Binary/B]] Proposal B from Kris Kowal | |||
# [[ServerJS/Binary/C]] Proposal C from Daniel Friesen | |||
= Prior Art = | |||
* [http://help.adobe.com/en_US/AIR/1.1/jslr/flash/utils/ByteArray.html Adobe AIR's ByteArray] | |||
* [https://developer.mozilla.org/En/NsIBinaryInputStream Mozilla's nsIBinaryInputStream] | |||
* [https://developer.mozilla.org/En/NsIBinaryOutputStream Mozilla's nsIBinaryOutputStream] | |||
* [http://www.ejscript.org/products/ejs/doc/api/gen/ejscript/intrinsic-ByteArray.html EJScript ByteArray] | |||
* [http://code.google.com/apis/gears/api_blob.html Google Gears Blob] | |||
* [http://code.google.com/p/jslibs/wiki/jslang#jslang::Blob_class JSlibs Blob] | |||
* [http://flusspferd.org/docs/js/Blob Flusspferd Blob] [http://github.com/ruediger/flusspferd/blob/1ead764aca33aca6926b6ac85871d1482c465616/src/core/blob.jsdoc repository link] (since it has been removed, the docs might go away at some point) | |||
= Relevant Discussions = | |||
* [http://groups.google.com/group/serverjs/browse_thread/thread/be72ef3d8146731d/06c27162b698eef5?lnk=gst First Proposal] | |||
* [http://groups.google.com/group/serverjs/browse_thread/thread/da076076c965d069/2cd8ac336387ceb3?lnk=gst Comments on Binary object] | |||
* [http://groups.google.com/group/serverjs/browse_thread/thread/e866544eb3aff182/16ed57b3c78b86e1?lnk=gst Binary API Brouhaha] | |||
* [http://groups.google.com/group/serverjs/browse_thread/thread/f8ad81201f7b121b ByteArray and ByteString proposal] regarding proposal B | |||
[[ServerJS/Encodings|Encodings]] are a related topic. | |||
Latest revision as of 22:09, 30 July 2009
JavaScript does not have a binary data type. However, in server-side scenarios, binary data needs to be often processed. That is why we need some working byte or binary array or string class.
Proposals
- ServerJS/Binary/A Proposal A from Ondras
- ServerJS/Binary/B Proposal B from Kris Kowal
- ServerJS/Binary/C Proposal C from Daniel Friesen
Prior Art
- Adobe AIR's ByteArray
- Mozilla's nsIBinaryInputStream
- Mozilla's nsIBinaryOutputStream
- EJScript ByteArray
- Google Gears Blob
- JSlibs Blob
- Flusspferd Blob repository link (since it has been removed, the docs might go away at some point)
Relevant Discussions
- First Proposal
- Comments on Binary object
- Binary API Brouhaha
- ByteArray and ByteString proposal regarding proposal B
Encodings are a related topic.