Posts

Showing posts from October, 2017

JSON Web Token (JWT) & invalidation

"...  a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWTs can be signed using a secret (with  HMAC  algorithm) or a public/private key pair using  RSA " https://auth0.com/learn/json-web-tokens/ Invalidate JWTs "Let’s say a user has logged out, how do we make sure the token cannot be used anymore?" https://blog.indrek.io/articles/invalidate-jwt/

Migrating to java9

... interesting article about issues faced by migrating from java8 to java9, and how to fix them https://dzone.com/articles/migrating-a-spring-boot-application-to-java-9-comp

Keep it simple

Software development often suffers from 2 aspects: bad code, and unnecessary complexity. The first point can be avoided by reviews, but how to avoid unnecessary complexity? Maybe by keeping the experience and philosophy of smart engineers in mind: "Keep it simple, stupid" aka KISS Kelly Johnson  - American Aircraft Engineer, known as an organizing genius. "The principle is best exemplified by the story of Johnson handing a team of design engineers a handful of tools, with the challenge that the jet aircraft they were designing must be repairable by an average mechanic in the field under combat conditions with only these tools. Hence, the "stupid" refers to the relationship between the way things break and the sophistication available to repair them." https://en.wikipedia.org/wiki/Kelly_Johnson_(engineer) "Simplicity is the ultimate sophistication" Leonardo da Vinci "Less is more" Mies Van Der Rohe - German-American archi

SOLID - OO Design Guideline

S ingle responsibility principle O pen/closed principle L iskov substitution principle I nterface segregation principle D ependency inversion principle https://en.wikipedia.org/wiki/SOLID_%28object-oriented_design%29