3 ms·
that's precisely the architecture that i use for the two web sites i've done, so far, and i'm currently working on two more. the only exception to the use of J
by lkcl 18y ago
that's precisely the architecture that i use for the two web sites i've done, so far, and i'm currently working on two more.
the only exception to the use of JSON has to be the uploading of files, where you're forced to use HTTP POST. and, for the same reason, when _downloading_ the file (e.g. an Image, a PDF) i don't use JSON, i use an HTTP GET.
the reason for using the HTTP GET instead of JSON is because it's necessary to set a "Content-Type" header, in order to get the browser to load the file (Image etc.) correctly.
other than file upload / download, yes, you can design your Pyjamas / GWT / RubyJS-rwt web site as a totally-compiled-to-javascript site that loads data exclusively using JSONRPC.