Data liberation: Difference between revisions

From OpenPetra Wiki
Jump to navigation Jump to search
Line 29: Line 29:
* http://jayrock.berlios.de/ Jayrock
* http://jayrock.berlios.de/ Jayrock
** http://www.novogeek.com/post/2009/04/22/Converting-DataTable-to-JSON-using-JayRock.aspx
** http://www.novogeek.com/post/2009/04/22/Converting-DataTable-to-JSON-using-JayRock.aspx
* see also http://www.informit.com/guides/content.aspx?g=dotnet&seqNum=768&ns=16282 mentioning System.Web.Script.Serialization.JavaScriptSerializer and System.Runtime.Serialization.Runtime.DataContractJsonSerializer

Revision as of 16:11, 5 November 2009

Data liberation

The idea is that it should be easy to get data in and out of OpenPetra.org

XML/YML/CSV support

  • XML: advantages: easier to handle from external programs, they can transform the data
  • YML: advantages: easy to read and write for manual adjustments
  • CSV: advantages: edit long lists; problems: Excel reformats and may cut off account codes etc

OpenOffice file support (OpenDocument)

Microsoft Excel file support (Office Open XML)

Data Exchange between Software Services

This is quite different from the previous approaches, because it does not target the user, but the data exchange between software services and programs; one example could be an AJAX webclient that communicates with the server via JSON or XML.

JSON