I’ve been playing around with the RestApi that Shan and Per demoed at CG15 and as simple as HAL is to consume there’s a bit over boilerplate overhead to deal with so I’m toying with the idea of creating a thin wrapper over it.
I just pushed my prototype/idea to GitHub under uRested (get it!! :P) - https://github.com/aaronpowell/uRested
Anyone else interested I’d love to be in touch to do some collaboration.
I haven’t looked much at Swagger either but I’m very wary of code generators, they can make some… interesting code. And I say that as someone who’s written quite a few and even a couple on Umbraco ;)
--
You received this message because you are subscribed to the Google Groups "Umbraco development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
umbraco-dev...@googlegroups.com.
To post to this group, send email to
umbra...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/umbraco-dev/6d4944da-7fa7-4085-b031-60452de95bb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I’m happy enough to either discuss on here or on the GitHub issues, allows others to also observe easily J
From: umbra...@googlegroups.com [mailto:umbra...@googlegroups.com]
On Behalf Of Richard Terris
Sent: Thursday, 18 June 2015 9:50 PM
To: umbra...@googlegroups.com
Subject: Re: Umbraco RestApi wrapper
@slace I could be interested in collaborating on this, depending how quick you want to go.
--
You received this message because you are subscribed to the Google Groups "Umbraco development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
umbraco-dev...@googlegroups.com.
To post to this group, send email to
umbra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/umbraco-dev/bf68f251-25c7-48b2-9978-97fb554ecdf8%40googlegroups.com.
By boilerplate I was meaning making the AJAX calls, having a smart object graph to walk, etc.
Just the boring code that you have to write to consume an API in a SPA :P
From: umbra...@googlegroups.com [mailto:umbra...@googlegroups.com]
On Behalf Of Shannon Deminick
Sent: Thursday, 18 June 2015 9:53 PM
To: umbra...@googlegroups.com; richar...@gmail.com
Subject: Re: Umbraco RestApi wrapper
I haven't dug too deep in the code on the HAL browser we were using but I would assume they might have some boilerplate code that you could borrow too:
--
You received this message because you are subscribed to the Google Groups "Umbraco development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
umbraco-dev...@googlegroups.com.
To post to this group, send email to
umbra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/umbraco-dev/8d4e4d24-45b5-4d28-803e-1c7c84bf8e7e%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/umbraco-dev/SIXPR01MB05413461FD4E39E761C76ED0EEA50%40SIXPR01MB0541.apcprd01.prod.exchangelabs.com.