jmsweb

A good way to code flexibly is to write less and unit-tested code.




Multi-module Maven Project

Do you ever sometime find a project that needs to be broken into modules? Yeah, that’s the S in SOLID, i.e., Single Responsibility Principle. Fear not, there’s Maven for that. Keep in mind, there are also other build tools than Maven that provides multi-module functionality. For this, I’ll choose to use Maven because it’s easy for a small project. For a larger project, I’d recommend using Gradle.

Read More

Jekyll Custom 404 Page

One of cool features about Jekyll and Liquid include customization of HTML error pages, i.e., 404, to its own file. If your project root, /project-name, has a file named 404.md or 404.html, it will be automatically shown as error page for when URL is not available.

Read More