Design Patterns in Python Training

  • Learn via: Classroom / Virtual Classroom / Online
  • Duration: 1 Day
  • Price: Please contact for booking options
We can host this training at your preferred location. Contact us!

The participants can follow all steps directly on their computers. There are exercises at the end of each unit providing ample opportunity to apply the freshly learned knowledge.

Every participant receives comprehensive PDF that cover the whole course content as wells as all source codes and used software.

A basic understanding of python is helpful but not required.

Individuals who want to design and build large-scale systems

"It's Easier To Ask For Forgiveness Than Permission (Efap)"

One pythonic principle is "It's easier to ask for forgiveness than permission (EFAP)". Opposed to the approach to look before you leap, this principle states that you should first try an action and if it fails react appropriately. Python' strong exception handling supports this principle and helps to develop robust and fault tolerant programs.


Meta Classes

Meta classes are an advanced topic of Python programming. Applying meta calsses Complex tasks may be be solved in an elegant manner. The use of meta classes is demonstrated with examples.


Sıngelton

Singeltons are objects of which only one instance is supposed to exist. Python provides several ways to implement singeltons. These possibilities are shown using examples.


Null Objects

Null objects can be used instead of the type None to avoid tests for None. Implementation, usage as well as advantages and disadvantages are covered.


Proxy

Proxies stand for other objects. Setup and usage of proxies are covered.


Observer

The observer pattern allows several objects to have access to the same data. The principles of this pattern are shown with a comprehensive example.


Constructor

Parameters of constructors are often assigned to instance variables. This pattern can replace a many lines of manual assignment with only one line of code.

Special Features Of Design Patterns In Python

In Python many problems can be solved more easily than in other languages. Therefore, several design patterns are not necessary or they are already implicitly contained in the languages.


The Principles of writing pythonic programs are explained and supported with examples. Topics such as beauty of source code, explicit programming, simplicity, readability, and exception handling are included.



Contact us for more detail about our trainings and for all other enquiries!

Upcoming Trainings

Join our public courses in our Istanbul, London and Ankara facilities. Private class trainings will be organized at the location of your preference, according to your schedule.

Classroom / Virtual Classroom
24 November 2024
Istanbul, Ankara, London
1 Day
Classroom / Virtual Classroom
24 November 2024
Istanbul, Ankara, London
1 Day
Classroom / Virtual Classroom
10 January 2025
Istanbul, Ankara, London
1 Day
Classroom / Virtual Classroom
22 January 2025
Istanbul, Ankara, London
1 Day
Classroom / Virtual Classroom
02 February 2025
Istanbul, Ankara, London
1 Day
Classroom / Virtual Classroom
10 January 2025
Istanbul, Ankara, London
1 Day
Classroom / Virtual Classroom
06 February 2025
Istanbul, Ankara, London
1 Day
Classroom / Virtual Classroom
14 February 2025
Istanbul, Ankara, London
1 Day
By using this website you agree to let us use cookies. For further information about our use of cookies, check out our Cookie Policy.