The right tools for the job

Submitted by: Frans Vanhaelewijck on 27 April 2010

Comments: 0

One of the many lessons we learned during the years that we have been implementing TenForce is that it is never deployed stand-alone. We need to interface with time registration systems, helpdesks, ERP systems like the beloved SAP; the list is endless. Unlike many public services (like yahoo), we first supported Soap before we support REST.

 

The reason for this was our custom script feature. This lets our customers interact at the various points in the item’s life cycle. An item is the basic object in TenForce; it typically represents an action, a meeting, an issue, a project,…

 

Trained TenForce administrators can use the TenForce Visual Studio add-in to interact with the item. The interaction with the core of the TenForce system in these scripts is done versus the documented TenForce API. For performance reasons, these scripts use a soap API. Besides the classic SOAP API, we recently started deploying a REST API. There are many examples of companies that implement and support both API’s (eg. Ebay, Amazon).

 

What is REST?

If you like to read more about REST, we can refer to the following little introduction on the yahoo developer network: REST stands for Representational State Transfer. Most of the Yahoo! Web Services use "REST-Like" RPC-style operations over HTTP GET or POST requests with parameters URL encoded into the request.

 

For more information about REST please check out the following:

 

Rest - I Haz It

The beauty of REST

At the basis of REST is that it uses the common commands like GET, PUT, POST. These are exactly the commands the HTML page inside your browser is using to interact with the server application. This makes the API relatively easy to understand and both the calls and the result are readable by a human.

 

Typically the result is also encoded in JSON, which makes the protocol lightweight and removes the need for many XML markups.

 

Conclusion

In this way we gracefully avoided the question which API we should build and support. In fact both are available. Typing “REST versus soap” in the Google search box will give you plenty of reading material about both approaches. Articles we found well balanced and very informative can be found here and here.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Insert Flickr images: [flickr-photo:id=230452326,size=s] or [flickr-photoset:id=72157594262419167,size=m].
  • Links to video content with 'rel="lightvideo"' in the <a> tag will appear in a Lightbox when clicked on.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
5 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

Latest Comments

Robson Wolanski (not verified)
14 July 2010

Thanks for the post. I saw my day-by-day in a lot of sentences. We always need to get better on this way.

Rapidshare SE (not verified)
14 May 2010

For sure TenForce has a lot of benefits. The greatest one is that it helps to save time!