Coding and design guidelines
- Performance
- Server
- 0. Folder structure
- 1. Naming convention
- 2. Single responsibility principle
- 3. Small methods
- 4. Duplication
- 5. Variables and methods declaration
- 6. Structure your code correctly
- 7. Database
- 8. Comments
- 9. Utility
- 10. Auto configuration
- 11. Keep your
@RestController
’s clean and focused - 12. Use DTOs for Efficient Data Transfer
- 13. Dependency injection
- 14. Keep it simple and stupid
- 15. File handling
- 16. General best practices
- 17. Avoid service dependencies
- 18. Proper annotation of SQL query parameters
- 19. SQL statement formatting
- 20. Do NOT use Sub-queries
- 21. Criteria Builder
- 22. REST endpoint best practices for authorization
- 22. JSON serialization and deserialization
- Server Tests
- Client
- 0. General
- 1. Names
- 2. Components
- 3. Types
- 4.
null
andundefined
- 5. General Assumptions
- 6. Comments
- 7. Strings
- 8. Localization
- 9. Buttons and Links
- 10. Icons with Text
- 11. Labels
- 12. Code Style
- 13. Preventing Memory Leaks
- 14. Defining Routes and Breadcrumbs
- 15. Strict Template Check
- 16. Chart Instantiation
- 17. Responsive Layout
- 18. WebSocket Subscriptions
- 19. Styling
- Client Tests
- Client Theming
- Database
- Criteria Builder
- Inclusive, Diversity-Sensitive, and Appreciative Language