[squeak-dev] [Altitude] Need for JSON-in / JSON-out example

H. Hirzel hannes.hirzel at gmail.com
Fri Sep 14 12:02:51 UTC 2012


Yes, I think of an ALApplication which accepts a typical AJAX JSON
post operation

http://api.jquery.com/jQuery.post/

with data type JSON

And as you said, Frank, It does not need to be a web browser which
issues the http post command.

--Hannes



On 9/14/12, Frank Shearar <frank.shearar at gmail.com> wrote:
> On 14 September 2012 12:21, Frank Shearar <frank.shearar at gmail.com> wrote:
>> On 14 September 2012 12:08, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>>> On 9/14/12, Frank Shearar <frank.shearar at gmail.com> wrote:
>>> [snip]
>>>> Not that I've actually touched Reflect-Core in a while, but my
>>>> intention was to have a RESTful JSON-in-JSON-out API:
>>>
>>> POST /something/
>>>> {"stuff":"here"}
>>>
>>> to add something, and so on.
>>>
>>> I hadn't thought about
>>>> forms in the slightest, mainly because I don't care about HTML.
>>>
>>> Yes, I think as well that this would be another useful example to
>>> have. A Altitude applicatoin which acceptes some JSON input and
>>> produces some JSON output (like solutions done with couchDB or
>>> node.js)
>>
>> I thought I'd already done that? :)
>
> Well, OK, I'd really only done the "JSON out" part.
>
>> frank
>>
>>> It can serve as a solution example for many types of problems.
>>>
>>> But first I have to look and digest the Form example Colin did.... As
>>> for me there is no need to hurry.
>>>
>>> --Hannes
>>>
>
>


More information about the Squeak-dev mailing list