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

Philippe Marschall philippe.marschall at gmail.com
Sat Dec 13 21:40:16 UTC 2008


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.

Cheers
Philippe


More information about the seaside-dev mailing list