Engineering philosophy
Our engineering philosophy at EuFMD centres on collaboration, continuous learning, and quality. We believe in working together to solve big problems. We want to foster an environment of continuous learning, where we constantly adapt and improve our skills and knowledge. And finally, we uphold a strong commitment to quality, ensuring that our solutions are robust, efficient, and scalable, meeting both current and future needs of the EuFMD.
Patterns to follow
- Modularisation: Break down the system into manageable modules.
- Layered Architecture: Separate concerns within the application.
- Design Patterns: Use proven solutions for common design problems.
- Clean Code Principles: Write readable, maintainable, and DRY code.
- Test-Driven Development (TDD): Write tests before production code.
- CI/CD: Automate build, test, and deployment processes.
- Documentation: Maintain comprehensive and up-to-date documentation.
- Code Reviews: Regularly review code to ensure quality and standards.
- Monitoring and Logging: Implement robust monitoring and logging.
- Security Practices: Follow best practices for secure coding and data handling.
Code samples
1. Modularisation:
// Example module - userController.js
const getUserById = (id) => {
// Code to fetch user from database
};
module.exports = {
getUserById,
};
This code snippet exemplifies modularisation because:
- Focused Responsibility: It concentrates on a single responsibility – fetching user data by ID.