W3C home > Mailing lists > Public > www-forms@w3.org > February 2012

JSON handling in XForms

From: Stefaniuk Marcin <marcin.stefaniuk@pkobp.pl>
Date: Tue, 14 Feb 2012 17:46:14 +0100
To: "www-forms@w3.org" <www-forms@w3.org>
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 framework ever seen. I'm waiting for further development the standard.

One of the planned features I consider promising is support for JSON instances. I have two suggestions in that topic:
1. When XForms would accept JSON models I think that instance (beside DOM access) 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 and 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 several options of mapping similar as it is organized for XML and text in XSLT / XQuery (XSLT and XQuery Serialization 3.0). I would suggest to move mapping 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 of extending the standard.

Best regards
Marcin Stefaniuk
Specjalista Bankowy


PKO Bank Polski
Departament Rozwoju Aplikacji Sprzedażowych i Wsparcia
Wydział Integracji Procesów i Usług
02-515 Warszawa, ul. Puławska 15
t: 22 580 30 39

Dbaj z nami o środowisko!
Nie drukuj tej wiadomości, ani innych dokumentów, jeśli nie jest to konieczne.
Received on Wednesday, 15 February 2012 22:22:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:24 GMT