One of the most effective things you can do in your SAP Commerce project is to build up a profound integration tests suite. I want to emphasise that by integration tests, I specifically mean the tests extending from ServiceLayerTransactionalTest and hitting your full spring config as well as the junit tenant database. Doing it the right way is a separate topic.

I am not a fan of massively mocked unit tests and specifically not in a hybris environment. I have many reasons for that and will discuss it in a separate post.

Back to the topic, yes you heard that…


Photo by Chad Kirchoff on Unsplash

In the following series of articles I want to tell about my experience and the best practices I discovered and/or introduced in react.js projects.

Everything I will present is based on at least 3 mid size completed projects. Its bullet proof by countless code reviews and on boarding of many colleagues, who were productive in the code base right away.

Introduce an opinionated react.js front end architecture

  • react.js is just a view in classical MVC
  • redux introduces some architecture but its incomplete
  • why we need to become opinionated
  • suggested solution for a react-redux architecture

Enforce Local First Development (German only)

  • what is local first
  • why local first? ( scenarios for local first )

Photo by laura buron on Unsplash

Abstract

  • react.js is just a view (+ some controller logic) in classical MVC
  • redux introduces some architecture but its incomplete
  • why we need to become opinionated
  • suggested solution for a react-redux architecture
  • advantages of using a completely defined architecture

React is a library, not a framework

Its known react is just a library. If we would map it to the most known design pattern MVC then it would be the V(iew) + some ability to trigger controller actions, who can exist on the view itself.

If we add redux to the stack we usually follow the official flux architecture.

So framework wise we cover the MVC functionality and…


Photo by Tommy Lisbin on Unsplash

Back in 2008 I wrote about my first experiences with TDD after some years of practical use. I repost this article here, since it is discussing the very important basics of TDD.

For around 3 years ago I came over the TDD approach and got very excited by it. It seemed very logical in lots of situations to me. I was doing once a presentation about it and want to discuss in this blog post what I have learned after 3 years applying it where ever I could.

First of all, here is the presentation summarising the theory and the…


Photo by Roksolana Zasiadko on Unsplash

Back in 2011 I gave a talk about JRuby at Namics.

Topic: JRuby in Java Projects.

My goals have been:

  • focusing on several project areas, where you can use jruby successfully
  • share the experience that I made using ruby in the last years
  • prooving that things can be done easier as they are done in typical java projects

Originally published at http://denislutz.com.


Photo by Priscilla Du Preez on Unsplash

Einleitung

Gewöhnliche Front-End-Anwendungen müssen fast immer Daten von anderen Datenlieferanten konsumieren, meistens von einem Backend-System. Oft sind jedoch die Backends schwer-gewichtig, stehen nicht sofort zur Verfügung oder können generell nicht von der lokalen Entwickler-Umgebung angesprochen werden.

An dieser Stelle hat sich in meiner Entwicklungspraxis das Konzept der „local first“, auf Deutsch, der „lokal-zuerst“-Entwicklung sehr bewährt.

Was ist “local first” ?

Unter „lokal-zuerst“, versteht man die Arbeitsweise, bei der bereits auf der lokalen Maschine alles so nachstellt wird, wie es auch auf anderen Umgebungen vorgeplant wurde. …

Denis Lutz

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store