The many different types of connected devices are increasing dramatically. We already have a large amount of duplicate code between client applications (both native and web), and the increasing number of devices is only making this worse. Also, cheap low-end devices are gaining greater market shares, and users expect a good experience when using our software on them. To solve the problem of code duplication on the clients, we need to pull as much of it as we can back from the clients to the server. A good way to achieve this is to build a Hypermedia API and to use HTML as the media type for the API. A nice side-effect of this is that we can show the received HTML directly to the user, which will be good enough for a majority of client applications. The problem of low-profile devices is best solved by using Adaptive Web Design, which will allowing developers to provide the best experience that the device is capable of delivering. Finally, combining HTML Hypermedia APIs and Adaptive Web Design will allow a single endpoint for our web and our API.
March 21, 2013 13:55