
Design Patterns
for IoT
Chapter
3
Design Patterns are an effective way of solving
common repetitive problems in various
domains. If we want to understand this better,
let’s take a very common “Road Traffic” problem
faced by all the countries in the world. As you
know, every country is very diverse in terms of
political and environmental scenarios. So find-
ing a common solution would be very tricky.
However, we could think of a solution, which is
applicable to small or negligible changes. That’s
the aim of creating a design pattern. Now, what
could be the solution? There are three design
patterns we see every day, traffic lights, stop sign
and roundabout. ...