ServerJS/Binary: Difference between revisions

m
(Reorganized the binary type discussion page to include information from the mailing list and make room for more proposals.)
 
(4 intermediate revisions by 3 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 =
= Proposals =


# [[ServerJS/Binary/A]] Proposal A from Ondras
# [[ServerJS/Binary/A]] Proposal A from Ondras
# [[ServerJS/Binary/B]] Proposal B from Kris Kowal
# [[ServerJS/Binary/B]] Proposal B from Kris Kowal
# [[ServerJS/Binary/C]] Proposal C from Daniel Friesen


= Prior Art =
= Prior Art =
Line 12: Line 15:
* [http://code.google.com/apis/gears/api_blob.html Google Gears Blob]
* [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://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 =
= Relevant Discussions =
Line 18: Line 22:
* [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/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/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.
10

edits