Hi guys, I was just wondering if something I thought was the most correct way to handle ESI in a RESTful way. I'm just to represent some resources as webpages,...
17358
Mike Kelly
pleb1985
Feb 21, 2011 11:30 am
Hi Alessandro, I think that's a decent idea, I've been mulling over this for a while.. By doing this you are increasing the visibility of the responses which...
17359
Alessandro Nadalin
alessandro.n...
Feb 21, 2011 12:05 pm
Hi Mike, ... yes ... right ... Thanks, great hints. I should have thought about a mixed html/esi type. ... You mean writing a DTD, or something similar? Is...
17360
Mike Kelly
pleb1985
Feb 21, 2011 12:46 pm
On Mon, Feb 21, 2011 at 12:05 PM, Alessandro Nadalin ... I meant standardize/specify: - The media type identifiers for documents that contain ESI stuff (i.e....
17361
Alessandro Nadalin
alessandro.n...
Feb 21, 2011 1:46 pm
... mmm ok, I gotta confess I'm a bit lost here, my fault. Did you mean writing a draft like http://www.w3.org/TR/xhtml-basic/? Or a DTD? Both? Just forgive my...
17362
mike amundsen
mamund
Feb 21, 2011 2:39 pm
Alessandro: FWIW, here's the pattern I have been following in cases where I design new media types: - create a basic design - use it in local implementations,...
17363
Alessandro Nadalin
alessandro.n...
Feb 21, 2011 5:21 pm
... Thank you so much mike, you clarified a lot of doubts I had. ... -- Nadalin Alessandro www.odino.org www.twitter.com/_odino_...
17364
mike amundsen
mamund
Feb 21, 2011 6:06 pm
glad it helps. I forgot to include a ref link to the RFC process for registering a media-type in the standard tree. It is: http://tools.ietf.org/html/rfc4288 ...
17365
Alessandro Nadalin
alessandro.n...
Feb 22, 2011 2:05 pm
... Just a question: why using a profile attribute over there? I don't understand it very well. What does the profile let you do? I' formalizinf some stuff...
17366
Jo Størset
jostorset
Feb 22, 2011 2:32 pm
Hi, I seem to keep finding myself in a position where I find it difficult to choose the "right" level of restful-ness and granularity, and how to represent...
17367
Mike Kelly
pleb1985
Feb 22, 2011 2:57 pm
If you served application/vnd.xhesiml+xhtml to a browser then the browser won't render it and will display a download prompt instead, so the reason I used a...
17368
Eric J. Bowman
eric@...
Feb 22, 2011 8:01 pm
... Well, first, the profile parameter must be defined for the media type in question -- which it isn't for text/html. Perhaps Mike meant ...
17369
Eric J. Bowman
eric@...
Feb 22, 2011 8:04 pm
Further, no media type ends in '+xhtml39; or '+html39;. If your media type may be processed via XML as a fallback for those components which don't understand your...
17370
Eric J. Bowman
eric@...
Feb 22, 2011 10:18 pm
... Any ideas on what to call the opposite of this award? I have a first recipient in mind; I'll be spending some time this weekend checking out their...
17371
Alessandro Nadalin
alessandro.n...
Feb 23, 2011 12:08 am
... Is there a way I can find a sum up of this stuff? Thank you so much Eric, definitely great advices. ... -- Nadalin Alessandro www.odino.org ...
17372
Eric J. Bowman
eric@...
Feb 23, 2011 12:46 am
... Summary? No. The relevant RFCs explain the syntax, but knowing that RFC 3023 is currently the only definition of any suffix (+xml) is just something one...
17373
Subbu Allamaraju
sallamar
Feb 23, 2011 4:47 am
Yes, it is the right thing to do. If ESI ever gets revved up (copying to Mark, who I think is interested based on some work we did internally), specifying a...
17374
Stuart Charlton
stuartcharlton
Feb 23, 2011 5:03 am
An idea that's been needling in my head for a while, just want to float it out there. This likely has been discussed before and I've just missed the thread. ...
17375
Stuart Charlton
stuartcharlton
Feb 23, 2011 5:06 am
gah, a typo "Steps 1 - 3 are "design time", steps 4-5 are "runtime" in the traditional sense of the term;" should read "Steps 1 - 4 are "design time", steps...
17376
Jo Størset
jostorset
Feb 23, 2011 5:24 am
Sorry, this was sent a bit early, and I see it's hardly read worthy as it is. SInce it got sent in the first place, let me add a tl;dr version (so you can at...
17377
Eric J. Bowman
eric@...
Feb 23, 2011 6:09 am
... Ad-hominem insinuations against those who teach about architectural constraints you fail to understand, helps others learn REST, how? If the value of your...
17378
Mike Kelly
pleb1985
Feb 23, 2011 10:00 am
... Yes, you got me. These cunning insinuations were designed to deliberately and sinisterly mislead the poor helpless reader. I apologise profusely to...
17379
wahbedahbe
Feb 23, 2011 3:49 pm
... <snip> ... Stu, The amount of runtime flexibility depends on the hypermedia controls that are available. For example, if there were no links or forms in...
17380
Mike Kelly
pleb1985
Feb 23, 2011 4:11 pm
On Wed, Feb 23, 2011 at 5:03 AM, Stuart Charlton ... Do you mean RESTful applications consumed by automated clients? If so, +1 I think it's a key consideration...
17381
Stuart Charlton
stuartcharlton
Feb 23, 2011 8:59 pm
Comments inline ... Yes that's what I meant. ... Right; the media type itself needs to provide guidance on expectations of how it will be used. For example, I...
17382
mike amundsen
mamund
Feb 23, 2011 9:56 pm
Stu: the idea of using RFC 5829 is interesting. on a similar track, iv'e been toying w/ using the RFC 2119 words (MUST, MAY, etc.) as a way to decorate...
17383
Stuart Charlton
stuartcharlton
Feb 24, 2011 2:10 am
comments inline ... Yes, I agree. ... Well, the question is, should domain-specific data be tightly coupled to a generic media type or not. Let's assume a...
17384
Stuart Charlton
stuartcharlton
Feb 24, 2011 2:17 am
comments inline ... Yeah, I mean why not, right? I know it was designed for content management, but representations that include forms really could use...