|
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?
|
|
|
|
|
Argonia wrote: 4 am in the morning to show you that the day is starting and the pray will escape if you don't get up.
That's why I like dogs more than cats. They are more intelligent - A dog knows that neither my fridge nor the grocery store will run away.
I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.
How to ask a question
|
|
|
|
|
Marco Bertschi wrote: They are more intelligent It depends who you are asking
Marco Bertschi wrote: dog knows that neither my fridge nor the grocery store will run away But it doesn't know where his wc is ?!
Don't get me wrong i like dogs but i am a cat person. They are more independent, clean, not so annoying like barking at 3 am (i care about my neighbors, if someone should suffer that's will be me alone) and i like things with claws
Microsoft ... the only place where VARIANT_TRUE != true
|
|
|
|
|
Argonia wrote: But it doesn't know where his wc is ?!
He does. Most dogs are trained to do their business outside, because their business is usually bigger than a cat's. I don't really want a dog to poop into a little box, that would smell awful.
There are a lot of independent dogs around, especially on farms - The problem is that people are terrified by "Fight Dogs" who were trained to be aggressive, and instead of taking the ones who mistrained the dog on a leash there are currently a lot of laws in preparation to keep dogs on a leash.
If your dog barks at 3 AM there are two possible reasons: Someone tries to break into your house, or you have just a badly trained dog.
Most people try to compare cats and dogs, even though you can't compare them: A cat is something that is around, comes and goes whenever it wants and barely can be trained well. A dog would immediately give his life to protect you, and is very controllable if you trained him well.
I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.
How to ask a question
|
|
|
|