webservices REST, SOAP, WSDL

web services:


What are swdl, sopa and rest…


A WSDL is an XML document that describes a web service. It actually stands for Web Services Description Language.

SOAP is an XML-based protocol that lets you exchange info over a particular protocol (can be HTTP or SMTP, for example) between applications. It stands for Simple Object Access Protocol and uses XML for its messaging format to relay the information.

REST is an architectural style of networked systems and stands for Representational State Transfer. It’s not a standard itself, but does use standards such as HTTP, URL, XML, etc.


You’re not going to “simply” understand something complex.

WSDL is an XML-based language for describing a web service. It describes the messages, operations, and network transport information used by the service. These web services usually use SOAP, but may use other protocols.

A WSDL is readable by a program, and so may be used to generate all, or part of the client code necessary to call the web service. This is what it means to call SOAP-based web services “self-describing”.

REST is not related to WSDL at all.

SOAP stands for Simple (sic) Object Access Protocol. It was intended to be a way to do Remote Procedure Calls to remote objects by sending XML over HTTP.

WSDL is Web Service Description Language. A request ending in ‘.wsdl’ to an endpoint will result in an XML message describing request and response that a use can expect. It descibes the contract between service & client.

REST uses HTTP to send messages to services.

SOAP is a spec, REST is a style.

Javascript Create a Variable Dynamically

var dynamicVarName = 'Test';
window['variable' + dynamicVarName ] = 'your value'

//Here's where I created secondary arrays on the fly 
var sortedArray=[];
sortedArray[index] = []; // create a new var in the windows array 


instead of ‘Test’, we can use ‘index’ in a .each statement, or a for loop.

Web Page Rendering 101


quotes and paraphrases from article:
How a browser renders a web page:

  1. The DOM is formed from the HTML
  2. Styles are loaded and parsed creating the CSSOM
  3. On the DOM and CSSOM, a rendering tree is created. A rendering tree is a set of objects to be rendered. The render tree reflects the DOM structure except for invisible elements (<head> and display:none; etc.). The render tree is a visual representation DOM.
  4. For each render tree element, its coordinates are calculated, which is called "layout". Browsers use a flow method which only required one pass to layout all the elements (tables require more than one pass).
  5. Finally, this gets actually displayed in a browser window, a process called "painting".

You should group reading element properties together so that you don’t get multiple reflows.