|
Restful Api Model Language[^]
Ever heard of it? Ever use it?
Supposedly "better" than web services (SOAP/WSDL). I don't know about that, but my client suggested I might want to use it for a project. As far as I can tell, it's not gaining much traction.
Marc
|
|
|
|
|
Never heard of it. Can't see the point of it (mind you I only spent 2 mins on the website) and anything which talks about 'The Application Programming eXperience, or APX' should probably be mercilessly destroyed! My APX is going bad-to-average today by the way, how's yours?
I've done a little bit of REST and I thought the idea of it was to simplify things. SOAP was too complicated (it is actually), and this was the answer. Now they want to create a whole new meta-language on top of it?
Hmm. That's my final thought.
Regards,
Rob Philpott.
|
|
|
|
|
Thanks for sharing, I'm doing a lot of Restful interfaces at the moment for interfacing Android to Windows (WCF Rest).
|
|
|
|
|
Well, there's another one I've not heard of. While some parts of it look quite promising, it looks to be a bit overkill to me. My RESTful APIs, nowadays, tend to be a node.js express application picking up the requests and handling them. It's very easy to use. For a moment, I was prepared to be impressed by this but I realised that the versioning they were talking about had absolutely nothing to do with API versioning - which would have been something I would be very interested in.
|
|
|
|
|
Pete O'Hanlon wrote: the versioning they were talking about had absolutely nothing to do with API versioning - which would have been something I would be very interested in.
Huh, I hadn't caught that. I thought it was API versioning as well and thought, oh, that's a nifty feature.
Marc
|
|
|
|
|
Oh yes. That would have simplified my life immensely.
|
|
|
|
|
What do you see as the advantage to REST vs. something like SOAP? Mind you, from what I've been reading, REST is an architecture and SOAP is a protocol, so I think it's a bit like comparing apples and oranges.
But from what I've been reading regarding REST, I just don't get it. Looks like nothing more than HTTP get/post commands.
Marc
|
|
|
|
|
That's pretty much what it is, HTTP commands; but don't forget UPDATE and DELETE commands. I like being able to quickly test my APIs through CURL. Yes, SOAP gives you the object wrapping that you don't really get with REST, but REST provides a simpler, more ubiquitous architecture.
|
|
|
|
|
So does that mean that you effectively need a web server running, rather than "just a" web service?
Marc
|
|
|
|
|
Basically yes. But as I use node most of the time for the back end now, this isn't an issue as node acts as my server.
|
|
|
|
|
Pete O'Hanlon wrote: But as I use node most of the time for the back end now, this isn't an issue as node acts as my server.
That's what I figured. Thanks for the info!
Marc
|
|
|
|
|
Sounds like an attempt to make REST more SOAPy.
I don't know why REST seems to be gaining popularity when SOAP is superior.
|
|
|
|
|
Eggbert Bartholomew Bligh wrote: I don't know why REST seems to be gaining popularity when SOAP is superior.
There are thousands of people who prefer to have a rest than use soap.
Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.
|
|
|
|
|
chriselst wrote: than use soap.
Clearly you are a SOAP denier, and don't like tidy clean SOAP objects.
|
|
|
|
|
XML and the XSD solved the problem of interchange. It easy, verifiable, and simple. Yet, JSON works so much better with Javascript and Java has such poor native XML support when compared to .NET (and no start-up developer uses .NET [*rolls eyes*]
So all of the problems that would have been solved by rest accepting XML are now being redone in order to better support HTML 5 and Javascript, as well as other "modern" languages which lack truly amazing support of XML.
(Don't fool yourself, XML in .NET is leaps and bounds ahead of the rest)
|
|
|
|
|
|
If you have never read a book on the subject it gives you the ability to invent from scratch.
|
|
|
|
|
Although they gave neither ANSWER nor SOLUTION.
However...Well done Motor Viper.
The answer is DAYDREAMS.
---------------------------------
Obscurum per obscurius.
Ad astra per alas porci.
Quidquid latine dictum sit, altum videtur .
|
|
|
|
|
Dad's Army cast ANAGRAM
had English lead? (Contains) E
Fancy
DAYDREAMS - idle flights of fancy.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
Thought I'd let others have a go then forgot to put in my solution, sorry!
|
|
|
|
|
First the electricity - now restored - then Dij comes in and releases a nice, fresh, live mouse.
Then after I chase said mouse round the house, he catches it, takes it outside and drops it.
I grab the cat, take him in indoors and give the mouse a chance to escape.
Sort out the mess I'd made trying to catch something smaller and faster than me, then let Dij outside again.
So he catches it again, and brings it home dead this time. And disembowels it on the living room carpet...
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
OriginalGriff wrote: And disembowels it on the living room carpet
Aaaaaaawww! He loves you!
Anything that is unrelated to elephants is irrelephant Anonymous ----- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 ----- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Yes Dij is teaching OG to hunt, because he fears that OG is a bad example of a cat. In nature the little bigger cousins of Dij are bringing alive small pray for their kittens. Its touching view.
Its the same like when the furry ears jump on you at 4 am in the morning to show you that the day is starting and the pray will escape if you don't get up. What better view from the rising sun in a working day
Microsoft ... the only place where VARIANT_TRUE != true
|
|
|
|
|
Not Dij, nor our previous cat, Bill, but the one before that, Beldin, used to do that. Well sort of.
This was a big cat. 9 1/2 ~ 10 Kg is not a small size domestic short hair - and all of it muscle. Every morning, he would march onto the bed and stand on my bladder to wake me up - because he realised that if I was up, so She Who Opens The Cat Food Tins would be also.
The only problem was if I wasn't lying on my back. Since he couldn't stand on my bladder he would headbut me on the nose. Hard. Very, very hard. I learned to sleep on my back almost exclusively...
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
OriginalGriff wrote: stand on my bladder
OriginalGriff wrote: headbut me on the nose
So, it was a choice of a hurt nose or a wet bed, and the wet bed was the best option?
|
|
|
|