- Java EE 8 and Angular
- Prashant Padmanabhan
- 156字
- 2021-07-02 19:22:37
Coding practices
There are many best practices that are followed by developers around the world. Some of these can be as simple as following a code convention, or applying a more advanced pattern, principle, or general guideline. When building a microservice, its public APIs need to be designed carefully. The internal structure of a microservice is an implementation detail that doesn't get exposed to others.
You cannot ignore the fact that you are publishing a service, which is the face of your API. REST APIs have certain best practices, which should be followed. It's beyond the scope of this book to cover each of these practices, but standardizing on the resources and the request and response formats will go a long way in making the code consistent and easy to work with. Consider the following practices, which are focused towards this type of architecture:
- Follow DDD
- Document it
- Build for failure
- Infrastructure as part of code
- Spring Boot 2實戰之旅
- R語言數據分析從入門到精通
- Visual Studio 2012 Cookbook
- 構建移動網站與APP:HTML 5移動開發入門與實戰(跨平臺移動開發叢書)
- Visual C++實例精通
- Swift 3 New Features
- Python Network Programming Cookbook(Second Edition)
- Mastering ServiceNow(Second Edition)
- RabbitMQ Cookbook
- SQL基礎教程(第2版)
- 編程與類型系統
- Python語言實用教程
- Python數據可視化之matplotlib實踐
- Managing Windows Servers with Chef
- C#程序開發參考手冊