Encapsulation and forwarding

Yesterday I realized that I write more about refactoring than implementation. To stay consistent today’s post is about…refactoring. Well, maybe not only about it, but mainly. In the previous week I finished following tasks:

  • [F-4] Handling request result (response code, message)
  • [F-8] Encapsulate logic from aksesi-gesture.js into a class
  • [F-9] Secure initialization
  • [P-1] Forwarding requests to an authentication endpoint
Continue Reading

FOR loop is no longer cool

The 8th version of Java introduced a few really cool features. My favorites are streams and, connected with them, lambda expressions. In this article, I’ll show you some examples of refactoring existing code into the more modern version. All of the examples, except the 1st one, were inspired by the Aksesi Proxy source code.

Continue Reading