Web Services

Lorna Mitchell (07.Oct.2011 at 13:45)
Workshop at PHP North West 2011 (English - UK)

Rating: 5 of 5

This session is intended as a primer for all aspects of web services, both for those building APIs and those consuming them.

During the course of the session we’ll look at HTTP theory and the correct use of headers in a variety of situations. Data formats will be covered, with talk on the pitfalls associated with various types of data and how to architect services to handle multiple data formats with minimum maintenance overhead. Various service types will be examined, including SOAP and RPC services, and we’ll look at how to create and publish those services using PHP as well as how to consume them. Emphasis is given to designing a robust, stable and useful service, covering error handling and behaviour with the aim of empowering users and subsequently reducing support calls. Debugging tactics will be covered, including demonstration of some of the tools needed and some tips on how to track down where things are going wrong.

We’ll also cover the finer points of service design, how to build a truly useful service and how to make it easy for users to use it. The theory of REST is included and coupled with a good grounding in HTTP, we’ll go on to build RESTful example services and look at the pitfalls with this otherwise elegant approach.

The whole session comes with accompanying code to download and “play along” with during the session; you can either watch the demonstrations or get hands-on and build your own services during the day. By the time you’ll leave you’ll have a great understanding of the theory, have heard some war stories from someone who has seen it all before, and be full of strategies for working with web services in a painless way in the future.

This session is recommended for developers (not managers, sorry) of all levels who want to know more about web services of any kind.

Who are you?

Claim talk

By clicking this button you are declaring that you are the speaker responsible for it and a claim request will be sent to the administrator of the event.

If the claim is approved you will be able to edit the information for this talk.

Are you sure?

 
Comments closed.

Comments

Rating: 5 of 5

09.Oct.2011 at 20:51 by Simon Thompson

This was a great experience and helped me get a better overall understanding. I am hoping to be able to put some of it into practice and learn more as I go, The examples will come in really handy as well so I can just have a good play about with the various services and get into it anew.

My only non-positive view was that the session went quite quickly and I struggled in places, however that said I just need to do my homework and in hindsight never spoke out to slow parts down. I also don't think there is any other way to get so much of value into a small window so a very positive overall.

Many thanks and keep up the good work.

Rating: 5 of 5

11.Oct.2011 at 08:41 by matthew mcconnell

A really good session. Gain some great insight into writing API in the future.

Thanks! =)

Rating: 5 of 5

11.Oct.2011 at 13:44 by Johannes Henrysson

A good tutorial which gave a good overall understanding. I like when speaker bring actual code for examples etc. Quite interesting to correct a few missing parts in rest-script as well :)

Rating: 5 of 5

14.Oct.2011 at 15:56 by Andreas Burø

The session gave me a huge motivation to create API's to better glue our internal resources together, and maybe later easily share them to the public.

Great and straightforward example code. One tip for future talks would be to warn participants to have their vhosts ready, as the time was limited.

Thanks :)

Cloud server hosting by Combell Combell      © Joind.in 2012