What is the 20140525-web service? Reproduced

Source: Internet
Author: User

Resources:

What is a Web service? -Nanyi's Web log

Http://www.ruanyifeng.com/blog/2009/08/what_is_web_service.html

20140525-web Service What is it? (reproduced)

Nanyi

Date:  

year 8 month Day

I think that the next generation of Internet software will be built on Web Service (i.e. " Cloud " ) on the basis of.

I put the study notes and learning experience, put on the blog, Welcome to correct.

let's write a basic question today . Web Service What the hell is that?

First, Web Service the concept

Want to understand web service You must first understand what is (services).

Traditionally, we've put the computer daemon ( daemon services " ( ). For example, let an anti-virus software run in the background, it will automatically monitor the system, then this automatic monitoring is a " in layman's words, service " is one of the functions that a computer can provide.

Depending on the source, Span style= "Font-family:times New Roman;" > " service " can be divided into two types: (using a service provided by another computer must be done over the network).

For example, I now have a bunch of pictures, Need to reduce their size by half. So, we can put " zoom picture Span style= "Font-family:times New Roman;" > " as a service. You can use Local service Span style= "Font-family:times New Roman;" > " You can use the software to zoom out the picture on your own computer, or you might be using Network SERVICE

" Network Services " ( Web Service The essence of this is to invoke the resources of other websites through the network .

For example, last year I wrote a " Sichuan earthquake picture wall ", which can dynamically display the latest pictures of the Sichuan earthquake. However, all the pictures are not stored on my server, but rather from flickr.com. I'm just making a dynamic request, askingflickr.comGive me the picture. This case,flickr.comprovided is aWeb Service. If I keep the pictures on the local server, do not callflickr.com, then I was using"Local Service".

So, Web Service allow your site to use resources from other sites, such as displaying weather, maps, Twitter on the latest news and so on.

Second, Web Service Architecture and Cloud

If the main part of a software uses the Network SERVICE outsourced to other websites, then we say this software belongs to web Service architecture.

Web Service For example, if you want to develop a photo album software, you can use the flickr outsourced go out.

recently very red " cloud computing ( cloud computing Cloud service " ( ), is actually web Service synonyms, But a little more image. They do not say you give things to other computers to do, and that you give things to " cloud to do.

Iii. Deficiencies in local services

" Network Services " is the future trend of software development and use, local services will be used less and more, mainly because of the following three reasons:

( 1 ) Insufficient local resources. A lot of data and information are not available locally, only to other websites.

( 2 ) cost factors. Local services are often not economical, and services using professional websites are cheaper. This involves two parts of hardware and personnel, even if you can afford to buy hardware, to find a person to manage the system, it is also very troublesome.

( 3 ) portability is poor. If you want to transfer the services of this machine to other machines, it is often difficult, especially in the case of cross-platform.

Four, Web Service The advantages

In addition to the disadvantages of local services, Web Service The following advantages are also available:

( 1 ) platform-Independent. No matter what platform you use, you can use Web service.

( 2 ) programming language Independent. You can use any programming language to request a Web service from other Web sites as long as the relevant agreements are adhered to. This greatly increases the usability of the Web service and reduces the requirements for programmers.

( 3 ) for Web Service providers, deployment, upgrade, and maintenance Web Service are very simple, do not need to consider the client compatibility problem, and can be completed one time.

( 4 ) for Web Service users can easily achieve aggregation of multiple data, multiple services ( mashups , so you can do things that you never imagined before.

Five, Web Service The development Trend

According to my observation, the present Web Service there are several development trends.

( 1 ) in the mode of use, RPC and the Soap the use in the reduction, Restful The architecture has taken a leading position.

( 2 ) on the data format, XML The use of the format is decreasing, JSON the use of such lightweight formats is increasing.

( 3 in the design architecture, more and more third-party software allows users to speak directly to the cloud on the client (ie, browser) and no longer use third-party servers for staging or processing data.

Finish

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.