Monday, November 5, 2007

Service designs... People seem to have the wrong idea...

I hear a lot of people talk about web services like they're something special. What I don't understand is why people think that. All that they are is an available transport to allow multiple platforms to talk to the backend.

The web service code shouldn't be in the web service, but should be calling into some sort of factory, or broker to get it to do all the work.

We should really view a web service as an interface only, so it's a different view, but a similar sort of concept to a web page, mobile page, windows application, or whatever.

Code sat behind forms, or services should be as minimalistic as possible, so that we can de-couple our implementations from the method that we use to move to that data around. There's no difference between this concept and the concept of an MVC or MVP implementation.

No comments: