Code Quality

This section will provide some tips on keeping the code in a good shape as you continue developing the application. We’ll cover important aspects that ensure that the application will be maintainable and extensible going forward.

Flesh Out API Specification

One of the most important parts of maintaining a web application is ensuring that the API is stable and robust. A natural split occurs between the client and the server across the HTTP API boundary. The front end can be seen as a separate application that communicates with the server using this API. In fact, you may wish to add other clients, such as a mobile app, in the future.

Since the front end relies on the functionality provided via the API, it acts as a contract between ...

Get Web Development with Clojure, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.