The number of different types of connected devices is increasing. We have already built ourselves a large amount of code duplication between client applications (both native apps and web apps) and it's only getting worse. Also, cheap low-profile devices are getting bigger market shares and users will still expect a good experience when using our software.
To solve the problem of code duplication on the clients, we need to pull as much code as we can from the clients back 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 part of a client application.
The problem of low-profile devices is best solved by using Progressive Enhancement, which will allow us developers to provide the best experience that the device is capable of delivering.
Finally, combining HTML Hypermedia APIs and Progressive Enhancement will allow us to have a single endpoint for our web and our API.
Links
---
http://amundsen.com/hypermedia/hfactor/
http://www.amundsen.com/blog/archives/765
http://codeartisan.blogspot.se/2012/07/using-html-as-media-type-for-your-api.html
http://microformats.org/
http://roy.gbiv.com/untangled/2009/it-is-okay-to-use-post
http://www.netbiscuits.com/mobile-metrics-report-2011
http://www.lukew.com/ff/entry.asp?1390
http://24ways.org/2010/speed-up-your-site-with-delayed-content
http://24ways.org/2011/conditional-loading-for-responsive-designs
http://filamentgroup.com/lab/ajax_includes_modular_content/
http://www.webmonkey.com/2012/03/video-progressive-enhancement-2-0/
http://easy-readers.net/books/adaptive-web-design/
http://roca-style.org/
http://www.jayway.com/2012/08/01/combining-html-hypermedia-apis-and-adaptive-web-design/
Image resources
---
“This is not the web” images by Brad Frost
http://bradfrostweb.com/
Juggling Monkey
http://media.smashingmagazine.com/wp-content/uploads/2012/07/juggling-monkey.jpg
Mike Amundsen
http://b.vimeocdn.com/ts/185/530/185530962_640.jpg
Back to the Future
http://www.thenoobnews.com/uploads/2012/01/Marty-doc-remote.jpg
Trash can
http://www.clker.com/clipart-15146.html
Money bags
https://doodleaday.files.wordpress.com/2012/03/doodle-1016-money-bags.jpg
Exit sign
http://www.ski.org/Rehab/WCrandall/EgressIIIWeb/images/egressfig7.gif
Scale
http://wishfit.files.wordpress.com/2012/02/scale.gif
Escalator
http://www.orientlighting.com/Upload/Editor/201121822854289.jpg
Elevator
http://aes-shreveport.com/http://aes-shreveport.com/wp-content/uploads/2010/03/elevator1.jpg
Hipster Pabst Blue Ribbon
http://www.nbclosangeles.com/blogs/press-here/Start-Up-Recruits-with-10000-and-Lifetime-Pabst-Blue-Ribbon-123126508.html
Unity
http://www.unitylakeorion.org/wp-content/uploads/unity.jpg
Razor
http://4.bp.blogspot.com/-U