Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
My hypermedia talk at Oredev
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 28 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Glenn Block  
View profile  
 More options Nov 12 2012, 4:10 am
From: Glenn Block <glenn.bl...@gmail.com>
Date: Mon, 12 Nov 2012 10:10:00 +0100
Subject: My hypermedia talk at Oredev

Hi folks

I recently delivered a talk on building hypermedia systems with ASP.NET Web
API. It is online here: http://vimeo.com/53261707. The talk is in two main
parts with the first focusing on the what and why of Hypermedia and the
second on approaches.

Feedback welcome.

Glenn


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
landlessness  
View profile  
 More options Nov 12 2012, 2:39 pm
From: landlessness <br...@apigee.com>
Date: Mon, 12 Nov 2012 11:39:58 -0800 (PST)
Local: Mon, Nov 12 2012 2:39 pm
Subject: Re: My hypermedia talk at Oredev

great stuff, Glenn.

very helpful for a hypermedia luddite like me to see lotsa code.

also, somehow I had missed the HTML as API media type discussion back in
July. thanks for calling that out.

-b


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Glenn Block  
View profile  
 More options Nov 12 2012, 3:10 pm
From: Glenn Block <glenn.bl...@gmail.com>
Date: Mon, 12 Nov 2012 12:10:52 -0800
Local: Mon, Nov 12 2012 3:10 pm
Subject: Re: [api-craft] Re: My hypermedia talk at Oredev

Sure thing Brian.

The one thing that didn't work in the talk was showing consumption of the
XHTML API from a non-browser client. For some reason I got a weird error so
I skipped over it. However if you look in the RestBugs project, there is a
console client which "should" work.

As for the hypermedia discussion, that was more of a chronicle than a
discussion, but good stuff there.

I am still of the mind that I see the usefullness of XHTML but it's not the
One-True-MediaType-That-Rules-Them-All for me :-)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Swiber  
View profile  
 More options Nov 12 2012, 3:22 pm
From: Kevin Swiber <kswi...@gmail.com>
Date: Mon, 12 Nov 2012 15:22:53 -0500
Local: Mon, Nov 12 2012 3:22 pm
Subject: Re: [api-craft] Re: My hypermedia talk at Oredev

Watching now!  

Glenn, I see you have a Node version of RestBugs (https://github.com/glennblock/RestBugs), which is cool.  Do you know if the .NET version will run on Mono for the non-Windows OS folks?

For list posterity:  To add some context around the "HTML for Hypermedia APIs" discussion, Jon Moore has a good post here:  http://codeartisan.blogspot.com/2012/07/using-html-as-media-type-for-....  It links back to some relevant API Craft conversations.  There was also a lot of Twitter chatter going around at that time.  I'll spare you that conversation.  :)

On Nov 12, 2012, at 3:10 PM, Glenn Block <glenn.bl...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Glenn Block  
View profile  
 More options Nov 12 2012, 5:41 pm
From: Glenn Block <glenn.bl...@gmail.com>
Date: Mon, 12 Nov 2012 14:41:39 -0800
Local: Mon, Nov 12 2012 5:41 pm
Subject: Re: [api-craft] Re: My hypermedia talk at Oredev

Hey Kevin

RestBugs was written by Howard Dierking, this is just my fork which adds in
using a JSON template.

As to Mono, I believe Web API does work on Mono at least on top of ASP.NET.
Not sure for self-host which the example uses, but I'll check.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Roberto Modica  
View profile  
 More options Nov 21 2012, 3:43 pm
From: Roberto Modica <r...@modika.co.uk>
Date: Wed, 21 Nov 2012 12:43:52 -0800 (PST)
Local: Wed, Nov 21 2012 3:43 pm
Subject: Re: My hypermedia talk at Oredev

Hi Glenn,

Great talk, its nice to have a higher level representation of this stuff,
with all the specs, dissertations etc. it sometimes gets a bit heave, this
video has given me some inspiration of the node based Hypermedia API we are
building at the start-up i am involved in.

Also nice to see some great stuff coming out of Microsoft, Web API looks
great.

Collection+Json is the main Media type in the talk, and i have read about
that in Mikes book , and even began to implement it(we created the
formatter to deal with the general output) but it started to get a little
verbose for us, especially when working with javascript and you losing the
.notation to interact with the data for each object and having everything
output as essentially a name value pair...

Rob


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mca  
View profile  
 More options Nov 21 2012, 4:00 pm
From: mca <m...@amundsen.com>
Date: Wed, 21 Nov 2012 16:00:25 -0500
Local: Wed, Nov 21 2012 4:00 pm
Subject: Re: [api-craft] Re: My hypermedia talk at Oredev

Jumping in here...

the biggest challenge (some would say drawback) to using my Collection+JSON
media type is that it was specifically designed to "break the back" of
object-style serializers in code libraries<g>.

I find that facing the notion of switching communications between machines
from object-oriented to state-oriented can be enlightening, even if it
turns out that's not what you decide to do for your project.

I think HAL does a very good job of providing hypermedia affordances while
still supporting object-style message passing.  Be sure to check that one
out, too. It's also possible Siren would be a good fit, but I've not built
much w/ that one yet.

Cheers.

mca
+1.859.757.1449
skype: mca.amundsen
http://amundsen.com/blog/
http://twitter.com/mamund
https://github.com/mamund
http://www.linkedin.com/in/mikeamundsen


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Roberto Modica  
View profile  
 More options Nov 22 2012, 4:28 am
From: Roberto Modica <r...@modika.co.uk>
Date: Thu, 22 Nov 2012 01:28:28 -0800 (PST)
Local: Thurs, Nov 22 2012 4:28 am
Subject: Re: [api-craft] Re: My hypermedia talk at Oredev

Hi Mike,

It wasn't a criticism, hope it didn't come across like that, from reading
your book (which really is great by the way) with json not having the
HFactors built in  and going for a general style like you have it is not
going to fit every problem but will work for many, we get that, its clearly
outlined in the chapter where you introduce it.

We have implemented the formatter, so the promise was there and we took it,
and we have a very basic implementation outputting collection+json and the
data fits, and will continue to fit moving forwards, if we add things the
API will evolve and version-ing in this instance shouldn't be an issue as
everything is discoverable, and for that you have done a really great job.
 Its just when we started implementing a simple client, we just seemed to
lose the object style we are used too.  Some of this is down to
understanding as well, because we are trying to shift the mindset from
human API's to an API for everything, machine and all, and that is
sometimes the difficult notion to wrap your head around, even if the
concept is simple when you read it out loud.

We are new to this, and the number of "REST"ish apis that are around have
probably clouded the judgement because they are all focused on the object
being the resource (model to resource direct mapping) as they pan out their
REST philosophy, when i guess the switch has to be from a point of view of
the resources being agnostic and discoverable, which with collection+json
they are and a truer representation or REST.

We are looking at Hal at the moment, comparing the two and see which will
fit our problem that little bit better (we may stick with collection+json
or use both :))

Great to have all the leaders in this field actively come and comment,
really is a great boost for people to further their knowledge.

Rob


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mca  
View profile  
 More options Nov 22 2012, 5:20 am
From: mca <m...@amundsen.com>
Date: Thu, 22 Nov 2012 05:19:44 -0500
Local: Thurs, Nov 22 2012 5:19 am
Subject: Re: [api-craft] Re: My hypermedia talk at Oredev

Roberto:

totally understand where you are coming from here. no need to apologize,
etc. your observations are spot on and this is a great forum for discussing
the pros/cons of any design when implementing a real-life solution.

keep up the good work and continue to post here as there are lots of folks
who are interested in the details (good and bad) arising from a real-life
implementation.

cheers.

mca
+1.859.757.1449
skype: mca.amundsen
http://amundsen.com/blog/
http://twitter.com/mamund
https://github.com/mamund
http://www.linkedin.com/in/mikeamundsen


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Glenn Block  
View profile  
 More options Nov 22 2012, 1:11 pm
From: Glenn Block <glenn.bl...@gmail.com>
Date: Thu, 22 Nov 2012 13:11:23 -0500
Local: Thurs, Nov 22 2012 1:11 pm
Subject: Re: [api-craft] Re: My hypermedia talk at Oredev

Sorry i am late to the convo.

Roberto, glad to help.

Mike, I like the fact that collection+json leads away from pure object
serialization toward more loose data. It works fine with web api, and in
this case I constructed types to for the message structure.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Glenn Block  
View profile  
 More options Nov 22 2012, 1:13 pm
From: Glenn Block <glenn.bl...@gmail.com>
Date: Thu, 22 Nov 2012 13:13:06 -0500
Local: Thurs, Nov 22 2012 1:13 pm
Subject: Re: [api-craft] Re: My hypermedia talk at Oredev

As to the whole debate of using messages vs objects, this same debate has
been going on since the SOAP days, as in the early days SOAP was RPC, but
it later evolved into a message / state based protocol, though most vendors
never really go t on board with that model.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Kelly  
View profile  
 More options Nov 23 2012, 5:02 am
From: Mike Kelly <mikekelly...@gmail.com>
Date: Fri, 23 Nov 2012 10:02:39 +0000
Local: Fri, Nov 23 2012 5:02 am
Subject: Re: [api-craft] Re: My hypermedia talk at Oredev

On 22 Nov 2012, at 18:11, Glenn Block <glenn.bl...@gmail.com> wrote:

> Sorry i am late to the convo.

> Roberto, glad to help.

> Mike, I like the fact that collection+json leads away from pure object serialization toward more loose data. It works fine with web api, and in this case I constructed types to for the message structure.

Hi Glenn,

Can you clarify what you mean here I'm not sure I get it!

Cheers,
M


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Glenn Block  
View profile  
 More options Nov 23 2012, 11:10 am
From: Glenn Block <glenn.bl...@gmail.com>
Date: Fri, 23 Nov 2012 11:10:10 -0500
Local: Fri, Nov 23 2012 11:10 am
Subject: Re: [api-craft] Re: My hypermedia talk at Oredev
Which part?

On 11/23/12, Mike Kelly <mikekelly...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Kelly  
View profile  
 More options Nov 23 2012, 11:11 am
From: Mike Kelly <mikekelly...@gmail.com>
Date: Fri, 23 Nov 2012 16:11:21 +0000
Local: Fri, Nov 23 2012 11:11 am
Subject: Re: [api-craft] Re: My hypermedia talk at Oredev
"collection+json leads away from pure object serialization toward more
loose data"0

--
Mike

http://twitter.com/mikekelly85
http://github.com/mikekelly
http://linkedin.com/in/mikekelly123


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Glenn Block  
View profile  
 More options Nov 23 2012, 11:22 am
From: Glenn Block <glenn.bl...@gmail.com>
Date: Fri, 23 Nov 2012 11:22:37 -0500
Local: Fri, Nov 23 2012 11:22 am
Subject: Re: [api-craft] Re: My hypermedia talk at Oredev
Meaning collection+json uses key-value for data transfer.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Kelly  
View profile  
 More options Nov 23 2012, 11:57 am
From: Mike Kelly <mikekelly...@gmail.com>
Date: Fri, 23 Nov 2012 16:57:56 +0000
Local: Fri, Nov 23 2012 11:57 am
Subject: Re: [api-craft] Re: My hypermedia talk at Oredev
a JSON object is key-value anyway though.. right?

On Fri, Nov 23, 2012 at 4:22 PM, Glenn Block <glenn.bl...@gmail.com> wrote:
> Meaning collection+json uses key-value for data transfer.

> --
> You received this message because you are subscribed to the Google Groups "API Craft" group.
> To unsubscribe from this group, send email to api-craft+unsubscribe@googlegroups.com.
> Visit this group at http://groups.google.com/group/api-craft?hl=en.

--
Mike

http://twitter.com/mikekelly85
http://github.com/mikekelly
http://linkedin.com/in/mikekelly123


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Glenn Block  
View profile  
 More options Nov 23 2012, 7:11 pm
From: Glenn Block <glenn.bl...@gmail.com>
Date: Fri, 23 Nov 2012 19:11:42 -0500
Local: Fri, Nov 23 2012 7:11 pm
Subject: Re: [api-craft] Re: My hypermedia talk at Oredev
Sure it is, but that is not the point.

On 11/23/12, Mike Kelly <mikekelly...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Glenn Block  
View profile  
 More options Nov 23 2012, 7:13 pm
From: Glenn Block <glenn.bl...@gmail.com>
Date: Fri, 23 Nov 2012 19:12:59 -0500
Local: Fri, Nov 23 2012 7:12 pm
Subject: Re: [api-craft] Re: My hypermedia talk at Oredev
Actually it us not simple key-value, it is a nested hierarchy of key-values.

On 11/23/12, Mike Kelly <mikekelly...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Kelly  
View profile  
 More options Nov 23 2012, 7:26 pm
From: Mike Kelly <mikekelly...@gmail.com>
Date: Sat, 24 Nov 2012 00:26:45 +0000
Local: Fri, Nov 23 2012 7:26 pm
Subject: Re: [api-craft] Re: My hypermedia talk at Oredev
ok. if that's not the point - what is the point? :)

in other words: what's the connection between "preventing nested k/v
heirarchies in JSON" and "leading away from pure object serialization
toward more loose data"?

Cheers,
M

--
Mike

http://twitter.com/mikekelly85
http://github.com/mikekelly
http://linkedin.com/in/mikekelly123


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Glenn Block  
View profile  
 More options Nov 24 2012, 6:47 am
From: Glenn Block <glenn.bl...@gmail.com>
Date: Sat, 24 Nov 2012 06:47:29 -0500
Local: Sat, Nov 24 2012 6:47 am
Subject: Re: My hypermedia talk at Oredev

I think the point is that Mike A is discouraging a style where you simply
pass your application objects bi-directionally over the wire using a
serializer. Instead it encourages extracting data elements / decoupling
from the implementation.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Kelly  
View profile  
 More options Nov 24 2012, 7:42 am
From: Mike Kelly <mikekelly...@gmail.com>
Date: Sat, 24 Nov 2012 12:42:16 +0000
Local: Sat, Nov 24 2012 7:42 am
Subject: Re: [api-craft] Re: My hypermedia talk at Oredev

On Sat, Nov 24, 2012 at 11:47 AM, Glenn Block <glenn.bl...@gmail.com> wrote:
> I think the point is that Mike A is discouraging a style where you simply
> pass your application objects bi-directionally over the wire using a
> serializer. Instead it encourages extracting data elements / decoupling from
> the implementation.

Afaict, decoupling is mainly encouraged here because the transfer of
information between client and server is driven through a given media
type (i.e. the uniform interface constraint). In this case you have
picked mamund's cj, but this principal applies equally to other media
types such as hal+json, siren, etc.

I think clunkiness or friction between a given media type and an
"implementation" might force some decoupling to be put in place (i.e.
resurrecting the V in your MVC frameworks for your APIs), but that
specific type of decoupling is behind the interface and internal to a
client or server - so it's not related to decoupling between client
and server. Also, one obvious consideration/trade-off here is that
more friction means a degraded user experience (where a user is a
developer), which may or may not be ok depending on how you feel about
encouraging adoption, learning curves, developer productivity, etc.

It doesn't take too much 'twiddly bits' in a media type to add enough
friction to render basic object serialization unsuitable. For example,
hal+json has maintained the full richness of the JSON object model,
and yet we have View/templating libraries for it across most major
programming languages[1]. Of course, I might be missing your point
here and that is not what you meant at all by 'decoupling from the
implementation'!

[1] http://stateless.co/hal_specification.html#libraries_for_working_with...

Cheers,
M


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Glenn Block  
View profile  
 More options Nov 24 2012, 2:00 pm
From: Glenn Block <glenn.bl...@gmail.com>
Date: Sat, 24 Nov 2012 14:00:40 -0500
Local: Sat, Nov 24 2012 2:00 pm
Subject: Re: My hypermedia talk at Oredev

Mike I appreciate the work you've done with HAL, but you are a little too
dogmatic / religious in your defense of it. I don't think it's necessary
every time hypermedia or media types are mentioned that one needs to affirm
or deny, or defend their statements based on HAL's existence. It is a fine
format, but there is life after HAL.

Get over it.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Kelly  
View profile  
 More options Nov 24 2012, 2:51 pm
From: Mike Kelly <mikekelly...@gmail.com>
Date: Sat, 24 Nov 2012 19:51:07 +0000
Local: Sat, Nov 24 2012 2:51 pm
Subject: Re: [api-craft] Re: My hypermedia talk at Oredev

With all due respect I couldn't give a monkies about your meta-objections to the points I make.

Next time you don't have a direct response to make, it's more efficient for everyone if you just don't reply.

Cheers,
M

On 24 Nov 2012, at 19:00, Glenn Block <glenn.bl...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian Topping  
View profile  
 More options Nov 24 2012, 4:22 pm
From: Brian Topping <topp...@codehaus.org>
Date: Sat, 24 Nov 2012 16:22:30 -0500
Local: Sat, Nov 24 2012 4:22 pm
Subject: Re: [api-craft] Re: My hypermedia talk at Oredev

It does seem like a thread that you could have stayed out of, Mike.  HAL got mentioned early on and Glenn didn't make any effort to dismiss it.  As a disinterested observer, that interjection seemed more than adequate for your visibility needs.  But it seems that half of the responses to the thread were vague insinuations on your part.  

How would you have felt if the tables were turned?  Maybe you would have reacted more strongly.  I admire his diplomacy in the situation.

This isn't a war.  The community will make a de-facto decision on which effort is more viable, and it's always a great thing when there are multiple options under active development.  Directly interested parties are better off focusing on the benefits of their own techniques, improving them as they see opportunity.  If other techniques are suboptimal, align your messaging to make it clear that your techniques solve a problem other techniques don't even realize they have.  Users will gravitate toward those positives much more loyally than they will to less positive messaging.

$0.02...

On Nov 24, 2012, at 2:51 PM, Mike Kelly <mikekelly...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Schinkel  
View profile  
 More options Nov 24 2012, 4:34 pm
From: Mike Schinkel <mikeschin...@gmail.com>
Date: Sat, 24 Nov 2012 16:34:50 -0500
Local: Sat, Nov 24 2012 4:34 pm
Subject: Re: [api-craft] Re: My hypermedia talk at Oredev

My two cents worth is I was surprised by both Glenn and your reactions Brian. I didn't think Mike's contribution was over the line; I found value in what he said.  And I'm not pro or con HAL. IMO anyway.

-Mike

On Nov 24, 2012, at 4:22 PM, Brian Topping <topp...@codehaus.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 28   Newer >
« Back to Discussions « Newer topic     Older topic »