Hypertext Application Language: Difference between revisions

Content deleted Content added
HAL is not mentioned in the JSON spec (RFC4627) at all, the reference should be to the initial HAL draft spec. Cleaned up other links
Line 1:
'''Hypertext Application Language''' ('''HAL''') is an [[Internet Draft]] (a "work in progress") standard convention for defining hypermedia such as links to external resources within [[JSON]] or [[XML]] code. The standard was initially proposed on June 2012 specifically for use with JSON<ref name="rfc4627">{{cite journalweb |last1=Kelly |first1=Mike |title=JSON Hypertext Application Language|journal=NetworkLanuage Working Group|date=July 2012|issue=Internet-Draft|url=httphttps://tools.ietf.org/pdfhtml/rfc4627.pdfdraft-kelly-json-hal-00 |formatpublisher=PDFIETF |accessdate=2316 JulyOctober 20142018 |date=7 June 2012}}</ref> and has since become available in two variations, one each for JSON and XML. The two associated [[MIME]] types are media type: application/hal+xml and media type: application/hal+json.<ref>{{cite book|last1=Richardson|first1=Leonard|last2=Ruby|first2=Mike Amundsen ; foreword by Sam|title=RESTful Web APIs|date=2013|publisher=O'Reilly|___location=Sebastopol, CA|isbn=978-1-4493-5806-8|edition=First edition.|chapter=7}}</ref>
 
HAL was created to be simple to use and easily applicable across different domains by avoiding the need to impose any requirements on how the project be structured. Maintaining this minimal impact approach, HAL has enabled developers to create general-purpose libraries which can be easily incorporated on any [[API]] that uses HAL.<ref{{Citation nameneeded|Reason="rfc4627"/>RFC4627 does not mention HAL|date=16 October 2018}}
 
APIs that adopt HAL simplify the use of open source libraries and make it possible to interact with the API using JSON or XML. The alternative would be having to develop a proprietary format which in turn forces developers to learn how to use yet another foreign format.<ref name="stateless">{{cite web|last1=Kelly|first1=Mike|title=HAL - Hypertext Application Language A lean hypermedia type|url=http://stateless.co/hal_specification.html|accessdate=23 July 2014|date=2011-06-13}}</ref>
Line 88:
 
==External links==
* [https://tools.ietf.org/html/draft-kelly-json-hal-08 JSON Hypertext Application Language latest draft-kelly-json-hal-08]
 
[[Category:JSON]]