[Mozile] Configuration string parsing vs JSON
Marc Diethelm
boo at chic-happens.ch
Thu Jun 1 19:23:21 EDT 2006
Hi guys.
Let me thank you for this woderful tool you've created, it's easily one
of the best things I've ever seen.
It's the perfect alternative to bulky and complicated CMS 'solutions'.
One big question though:
Why the heck do you use those long strings to configure the app? You
have to parse them in a rather complicated, and I guess slow, function
using pattern matching and string manipulation.
But you could just use Javascript's object notation for that! As I see
it JSON is perfectly suited to your needs, no parsing necessary. You
just access the value and you're done.
Or is there a specific reason to do it the way it's currently done?
thanks
- marc diethelm
More information about the Mozile
mailing list