The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
Hi, Recently I was having a discussion with my colleague, to provide a mobile app to access a remote device which we frequently work with at office. and hence to provide basic functionalitues within the app.
For this we need to implement a web service.
Now the real question !! For the above idea, we need to implement a web service. However now the user is already able to access device over web portal within any web browser. So, the natural question.. WHY DO I NEED A MOBILE APP ? WHY SHOULD I IMPLEMENT A WEB SERVICE ? That's very much right. IF this is the question, then why do Facebook, twitter have web services.. ( there is always a browser to access )
Please provide me your inputs, which are those "MUST" requirements for web service ? Thanks.
There are any number of reasons, but the most basic reason they offer them is so you can use their services in your applications. This isn't them being altruistic, there are cold hard business drivers in place such as building brand loyalty.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
Lest have package tracking application - user enters package number and application displays date sent, current status and expected arrival date. Data sent: let's say 20 bytes for number and 200 bytes of status/dates.
Now try to count the overhead of html/images/etc and compare it to overhead of WebService envelope (if you will use JSON service it will be minimal...)
If it's used frequently this sums up to quite big numbers.
And it will be probably more user friendly as native app than web page (unless you will design mobile-oriented web UI).
Web site Anonymous users, you have no clue who will access your site and when. The goal of a web site is to allow users free access. You as the builder can change the contents whenever you like and how you like.
* for humans
* many clients
* free access
* no guarantee on content
Web Service The interaction with a web service is via a "contract." It is expected that you keep some backward compatibility when upgrading the services. In addition, most web services have a limited number of users and access is more tightly controlled (IOW less open). Web services are also more easily used by machines instead of humans (as were web sites are more human readable)
Actually Twitter and Facebook do have a wonderful use.
We can watch the people who use them and feel a warm glow of self satisfied smugness that engenders a well-deserved appreciation of our own self-righteous superiority in knowing we would never stoop so low!
--------------------------------- I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
With the AA app it uses the GPS to find your location, transmits that to their call centre along with your membership number, then phones them up.
AA man in his van gets my exact location sent to his sat nav and just follows it to me.
Would have been an absolute nightmare trying to explain to them where I was without it.
Also I really like the Sky+ app, it is a wondrous thing.
Again on holiday this year there was a program starting that we wanted to record, but you can only record a week ahead with Sky so I couldn't set it before we went. So I waited until a day before it was on, told my Sky+ app what I wanted to record. The app told Sky over the internet that Chris Elston wants to watch whatever it was.
I get that.
Sky then tell their satellite that I want to watch this program. Again, fair enough.
The satellite then tells the whole world what I want to watch, and my box says to itself "I know Chris Elston, I'll record that for him".
It blows my freaking mind it does.
Every man can tell how many goats or sheep he possesses, but not how many friends.