Complex data structures and design patterns
Complex data structures
The course begins with an introduction to complex data structures such as maps and sets, which provide advanced data storage and manipulation capabilities. Participants will deepen their understanding of arrays and objects and learn how to use these basic data structures efficiently. An important component is also the use of JSON (JavaScript Object Notation), a widely used format for structuring and transferring data, which is particularly important in web development.
Design patterns
The second part of the course focuses on design patterns, which are recurring solutions to common problems in software development. Participants are introduced to the concepts and principles of design patterns and learn about their importance and possible applications.
Some of the key design patterns that will be covered include:
- Singleton Pattern: this pattern ensures that a class has only one instance and provides a global access point to that instance.
- Observer Pattern: This pattern defines a one-to-many dependency between objects so that when an object changes state, all dependent objects are notified and automatically updated.
- Factory pattern: This pattern provides an interface for creating objects, whereby the concrete class names do not have to be specified.
Participants are guided through practical examples and implementation exercises to put theoretical knowledge into practice. These exercises help them to understand the design patterns and apply them in their own projects.