Web services: SOAP vs REST, Javascript and the Silex framework
Nowadays, webservices all are around the web and the two most important technologies currently used for this are SOAP and REST.
Suppose you were faced to build a frontend where all business logic is to be provided by SOAP web services. A Frontend? Ok. Then we are talking about Javascript in between the lines. But, how to do secure SOAP web service calls from a web browser? This is a security problem!
REST is the solution. But, how do we route REST to SOAP?
There are plenty of ways, but Silex is a great small PHP framework to accomplish just what you want. Silex is a lightweight Symfony relative. So, then the question arises: what are the strategies to secure those REST web service calls? We'll talk about a token and a dereferencing strategy.
This session will lead you through the process of doing a secure SOAP web service call using REST calls in Javascript.