Blog

- December 22, 2016

Restlet Client (formely known as DHC) is a powerful HTTP client that allows you to send, parameterize, and chain requests. It’s also possible to get their results and validate them with assertions. Also, when chaining requests, some of them will need to use the contents of a response from a previous request. To meet this need […]

Read article
- November 17, 2016

In the previous part of the article, we introduced the new features that the stable version of Angular 2 provides. We focused on providing a starting project with everything configured for our needs using Angular CLI. It’s time to implement processing specific to our use case. Let’s start by configuring the application routes. Organizing application […]

Read article
Categories: APISpark, Products, REST
- November 04, 2016

A few months ago when Angular 2 went into beta, we published an article describing how to implement a front-end application interacting with a Web service. Angular 2 recently moved into a final version with some additional changes. In this article, we will provide an update to the initial article and focus on the new […]

Read article
Categories: APISpark, Products, REST
- October 13, 2016

In a previous blog post, we introduced the API testing support of DHC (now known as Restlet Client). We described the power of this tool to test REST services and web APIs by combining requests and assertions. During the summer, a new version of DHC was released extending this testing support by providing a new […]

Read article
- September 27, 2016

You’ve probably already seen errors like the following one in the JavaScript console of your browser, when trying to execute AJAX requests: At first sight, it’s difficult to understand what’s happening and find out where the problem is coming from. What we can be sure of is that the errors are related to the CORS […]

Read article
Categories: Ecosystem · Tags:
- August 29, 2016

The HTTP support allows us to interact with remote servers within HTML pages leveraging reactive programming. That being said it suffers from limitations at the level of the API itself. The API wasn’t as easy to use as that of version 1 and this can create difficulties for writing concise and robust code. Moreover, it […]

Read article
Categories: API design, APISpark, Ecosystem, Projects · Tags:
- May 30, 2016

Mobile applications are specific since they need to handle devices of limited size. For this reason, they leverage specific UI mechanisms and gestures. In order to implement efficient applications of this kind, we need to follow proven patterns described in the following links : https://www.google.com/design/spec/material-design/introduction.html# https://storage.googleapis.com/think-emea/docs/article/MobileAppUX_Principles.pdf We won’t go further here but we will describe […]

Read article
Categories: Ecosystem · Tags: , , ,
- April 18, 2016

In the previous part of the article, we dealt with the way to manage data from a RESTful service and to link requests with form elements. We now tackle global issues like request interception, error handling, security, and retry. Intercepting requests The request interception feature isn’t provided out of the box by Angular2. That said, […]

Read article
Categories: APISpark, Products, REST · Tags: , , , , , ,
- April 12, 2016

In the first part, we set up in APISpark the RESTful service we will use all along this article. We then deal with the foundations of the HTTP support of Angular2. In this second part, we will go further by describing more advanced issues. Defining request options Some data are common to every requests and […]

Read article
Categories: APISpark, Products, REST · Tags: , , , , , ,
- April 08, 2016

We previously described how to implement and structure an Angular2 application in front of a RESTful service in the article “Implementing an Angular2 frontend over an APISpark hosted Web API”. This article provides the foundations, but we can go further leveraging concepts of Reactive Programming. We published a detailled article on the JAXenter website about […]

Read article
Categories: APISpark, Products · Tags: , , , ,