Changes between Version 22 and Version 23 of doc/developer/WiFiDog_V2

Show
Ignore:
Timestamp:
03/26/08 09:57:38 (14 years ago)
Author:
papril
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/developer/WiFiDog_V2

    v22 v23  
    8585>> philippe: Right, it's pretty small. We could do our own parser, but why reinvent the wheel for a few kb's?. Also, since there are other efforts to code an auth in other languages, I think we kind of need to go with a standard encapsulation like JSON this time. I'm a big XML fan myself, but that would be too much (size of lib, etc. again, unless we make our own parser...). 
    8686>>> acv: Expat isn't too bad as library goes for XML parsing. I've used it before as long as you don't mind working with a stack it's fast and simple. 
     87>>>> philippe: I just compiled expat on a linux box. once stripped: 130636 bytes,  json-c (stripped) is 21848 bytes. Again, I'd love to go with XML for its formalism, but not if the parser is that big. 
    8788 
    8889> While I find it ugly to look at compared to YAML, JSON looks viable if a dependency on either PHP 5.2.0 or optional PHP5 module is OK. Library looks like it should build OK for C (sort of loath to get the whole libhttpd problems though).