JSON handling in XForms

Stefaniuk Marcin <[email protected]> Tue, 14 Feb 2012 17:46:14 +0100
Newsgroups gmane.comp.web.xforms
Message-ID <D0989761D67A8D4180FD15369BD497437BF28DC2CB@M70EXMBXCL.bank.ad.pkobp.pl>
I've just returned from XML Prague conference. It was really inspiring time=
..

I'm happy XForms user with Orbeon implementation. For me it the best MVC fr=
amework ever seen. I'm waiting for further development the standard.

One of the planned features I consider promising is support for JSON instan=
ces. I have two suggestions in that topic:
1. When XForms would accept JSON models I think that instance (beside DOM a=
ccess) should be available for Javascript as JSON. Usage of instances would=
 be more natural.
2. As far I understood there is a plan to define own mapping between JSON a=
nd XML. In my opinion when XForms world is opening for other formats we may=
 enforce users with customization of the mapping. There may be supported se=
veral options of mapping similar as it is organized for XML and text in XSL=
T / XQuery (XSLT and XQuery Serialization 3.0). I would suggest to move map=
ping issues out of a XForms core and define separate document with possible=
 mapping options. It would also be natural way to add other data formats as=
 YAML or SDL with its own mapping options. Vendors would have clear point o=
f extending the standard.

Best regards
Marcin Stefaniuk
Specjalista Bankowy


PKO Bank Polski
Departament Rozwoju Aplikacji Sprzeda=BFowych i Wsparcia
Wydzia=B3 Integracji Proces=F3w i Us=B3ug
02-515 Warszawa, ul. Pu=B3awska 15
t: 22 580 30 39

Dbaj z nami o =B6rodowisko!
Nie drukuj tej wiadomo=B6ci, ani innych dokument=F3w, je=B6li nie jest to k=
onieczne.