Learn · CERN

Talk33 min

Refocusing your domain (until a better title)

Nikolaos Petros Triantafyllidis · CERN

Watch At CERN

About

This forum's subject is from 'Zero to Production'. But what exactly goes on during the 'zero' phase? What are the questions that you and your team ask yourselves before starting to code, and which are the first decisions you make? 'Apache or Nginx? Flask or Django? PostreSQL or MongoDB? Containers or VMs?', are usual questions that are brought forward during the design phase. Albeit cool and exciting, these issues are the wrong things to consider ourselves with during the first stages of software development.

What is the domain your application operates on? What are your core entities and how do they interract with each other on a logical level? Which are the business rules that would persist whether you would be creating a Web application, a Command Line Interface or simple drawings on a whiteboard? Not only should these issues be the first for a developer to consider but their importance should be clearly reflected in the application's code.

In 2012, Robert C. Martin (Uncle Bob) proposed a layered software architecture pattern named 'The Clean Architecture' (https://8thlight.com/blog/uncle-bob/2012/08/13/the-clean-architecture.html). Built around the Dependency Inversion Principle (https://en.wikipedia.org/wiki/Dependency_inversion_principle), this pattern suggests a code structure that places the application domain (business entities & use cases) in its very core. It aims in achieving separation of concerns and produce software systems that are testable, adaptable and independent of external systems.

This talk will be a general presentation of the above architecture followed by a brief demonstration of the pattern (probably in Go)..

0:00:00 Slide 1

0:03:18 Slide 2

0:06:35 Slide 3

0:09:52 Slide 4

0:13:09 Slide 5

0:16:27 Slide 6

0:19:44 Slide 7

0:23:01 Slide 8

The talk

  1. Refocusing your domain (until a better title) 2017-10-23 · 33 min · CERN's player

Credits and licence

Institution
CERN
Department
Developers@CERN Forum
Speaker
Nikolaos Petros Triantafyllidis
Year
2017
Language
English
Source
CERN
Licence
CERN, as CERN states it. CERN's terms
Attribution
© CERN. CERN provides its audiovisual media free of charge for educational and informational use, credited to CERN; this lecture is shown in CERN's own player.
Who can watch
CERN gives no rating. Invisible Network shows it to Teens profiles and older, judged from what the source says about it. How courses are placed