A Quick Guide to Using Keycloak with MySQL
Keycloak is an Open Source Identity and Access Management. It provides lots of different mechanism for signing and registration such as SSO, Social Login, Customizable Theme, LDAP and Active Directory.
By default, keycloak using its built-in H2 db for data and configuration storage. It also provides various adapter for using another Relation Database System: MySQL, PostgreSQL,…
Keycloak’s document site is already have most of necessary things, this article aims to consolidate the installation and using your own MySQL database instead of H2.
Introduction to DDD - Domain-Driven Design
Design is not just what it looks like and feels like. Design is how it works.
– Steve Jobs –
The software development approach called Domain-Driven Design, or DDD, exists to help us more readily succeed at achieving high-quality software model designs. When implemented correctly, DDD helps us reach the point where our design is exactly how the software works.
DRY Principle - Don't Repeat Yourself
DRY stands for “Don’t Repeat Yourself”, one of a basic principle of software development aimed at reducing the data repetition and snipped code duplication. The principle recommends software engineer should do something one and only one. The concept is credited to Andrew Hunt and David Thomas, authors of “The Pragmatic Programmer”. In The Pragmatic Programmer, DRY is defined as “every piece of knowledge must have a single, unambiguous, authoritative representation within a system”.