Jump to content

Webservices em Python


JoaoRodrigues

Recommended Posts

Bem, a pergunta é um bocado vaga. Simplesmente queria saber por onde começar a ler sobre eles... Eu sou um leigo.. e vou ter que construir um (não um, mas uns quantos). Por isso, gostava de ter algum background teórico sobre o assunto. Encontrei milhares de páginas pelo Google, mas vinha-vos perguntar se vocês conheciam algum livro / artigo que me pudesse ajudar.

O que quero saber é:

- O que são

- Como faço um

- Exemplos

- Etc

Mas como disse, encontrei no Google muita coisa,perguntei-vos foi mais por causa de algum de vocês ter algum livro (capítulo de livro) que falasse no assunto e mo pudesse indicar.

Link to comment
Share on other sites

- O que são

From: http://en.wikipedia.org/wiki/Web_service

The W3C defines a Web service (many sources also capitalize the second word, as in Web Services) as "a software system designed to support interoperable Machine to Machine interaction over a network." Web services are frequently just Web APIs that can be accessed over a network, such as the Internet, and executed on a remote system hosting the requested services.

- Como faço um

From: same.

The W3C Web service definition encompasses many different systems, but in common usage the term refers to clients and servers that communicate using XML messages that follow the SOAP standard. (...)

SOAP

    An XML-based, extensible message envelope format with "bindings" to underlying protocols. The primary protocols are HTTP and HTTPS, although bindings for others, including SMTP and XMPP, have been written.

(...)

O "estilo" de uso mais comum dos webservices (e o único que usei até agora) é usando RPCs (Remote procedure calls)

http://en.wikipedia.org/wiki/Web_service#Remote_procedure_calls

- Exemplos

http://www.ibm.com/developerworks/webservices/library/ws-pyth10.html

http://www.onlamp.com/pub/a/python/2000/11/22/xmlrpcclient.html

Em relação a livros, eu lia por esta ordem:

http://www.amazon.com/Web-Services-Essentials-OReilly-XML/dp/0596002246/ref=pd_bbs_sr_3/102-1127607-7336905?ie=UTF8&s=books&qid=1193231741&sr=8-3

http://www.amazon.com/Real-World-Services-Will-Iverson/dp/059600642X/ref=pd_bbs_9/102-1127607-7336905?ie=UTF8&s=books&qid=1193231741&sr=8-9

E depois lia http://www.amazon.com/RESTful-Web-Services-Leonard-Richardson/dp/0596529260/ref=pd_bbs_sr_1/102-1127607-7336905?ie=UTF8&s=books&qid=1193231741&sr=8-1 para matar a curiosidade. 😛

Não peças ajuda por PM! A tua dúvida vai ter menos atenção do que se for postada na secção correcta do fórum!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.