[Seaside-dev] Javascript-Core-lr.22

Lukas Renggli renggli at gmail.com
Sat Dec 13 23:29:57 UTC 2008


On 12/13/08, Philippe Marschall <philippe.marschall at gmail.com> wrote:
> 2008/12/13, Lukas Renggli <renggli at gmail.com>:
>> Actually the JSON parser is not really used at the moment, it is more
>> of an experiment to make the event handling simpler. The idea would be
>> to enable the possiblity to pass back objects to the server.
>>
>>> Is it clever to add the dependency to SmaCC? This means that every
>>> production image has to have a compatible version of SmaCC loaded
>>> which also has to be ported. I mean we talk about people who would
>>> never, ever load an XML parser into their image. And writing a JSON
>>> parser is not exactly hard.
>>
>> Yeah. Writing a JSON parser is simple, if you consider the
>> incompatible streaming methods easy to handle (#upTo:, #upToAll:,
>> #match:).
>
> Well don't send them then. Seriously inlining them in terms of #to:do:
> is really simple.

No. Have a look at the length of their implementation and the number
of bugs that have been submitted in the past years.

>
> Cheers
> Philippe
> _______________________________________________
> seaside-dev mailing list
> seaside-dev at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
>


-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside-dev mailing list