
Spis treści
Advice:
- Learn SOLID principles and try to use it.
- Think about class as physical object: what can it do, who can change its data, what it should not do.
- Think, how objects can communicate with each other.
- Base the relationships on abstraction.
- Make hermetic objects.
- Classes and methods should not do too much.
- A class should change only itself data.
- Find common responsibilities and put in special classes (like validating mail address).
- Write clean, readable and pretty code.
- Chose composition over inheritance.
How to better program in object-oriented paradigm:
Read a book: The Object-Oriented Thought Process — Matt Weiffeld and make exercises.
How to exercise:
Find an application, which is written in structural paradigm and change it into object-oriented.
All posts from mini project: Learn SOLID and OOP principles:
- SOLID
- SOLID exercises
- S like Single responsibility principle
- SOLID exercises — Kata
- O as Open-closed principle
- L jak Liskov Substitution Principle
- Interface segregation principle
- KISS — Keep it simple, stupid
- DRY — Don’t repeat yourself
- Dependency inversion principle
- SLAP — Single Level of Abstraction Principle
- Composition Over Inheritance
- Encapsulate what changes
- Lod — Law of Demeter
- ES as Exercises of Single responsibility principle
- EO as Exercises of Open/closed principle
- EL as Exercises of Liskov Substitution Principle
- EI as Eexrcises of Interface segregation principle
- ES as Exercises of Dependency Inversion Principle
- Object-oriented programming
- OOP — Object-Oriented Programming — Advice
- OOP — Object Oriented Programming
Sources
Main image
Materials
- https://www.marekczuma.pl/2016/07/12/programowanie-obiektowe-czyli-jak-programowac-aby-skutecznie-tworzyc-realny-swiat/
- https://mansfeld.pl/programowanie/zalety-i-wady-oop/
- https://blog.artmetic.pl/recenzja-ksiazki-myslenie-obiektowe-w-programowaniu/
- https://it-consulting.pl/autoinstalator/wordpress/2014/05/29/myslenie-obiektowe-w-programowaniu/
- https://bulldogjob.pl/news/846-czym-sa-zapachy-kodu-w-php-czysty-kod-z-podejsciem-oop
- https://www.marekczuma.pl/2016/07/12/programowanie-obiektowe-czyli-jak-programowac-aby-skutecznie-tworzyc-realny-swiat/
1
/
10


KB_ZW_0094 - Refleksje Na Temat Zarządzania Wiedzą: Szczegółowość

Bubble.io Tutorial: Pamięć tymczasowa - How to Use Custom States - Temporary Storage - Cache

Bubble.io Tutorial: Debugowanie aplikacji - Intro to The Debugger: Testing & Debugging Your App

Bubble.io Tutorial: Opcje - Konfiguracje - How to Use Option Sets

Bubble.io Tutorial: Komponent: Karta - How to Create a Card Component in Bubble

Bubble.io Tutorial: Układ: wierszowy - Understanding the Row Container

Bubble.io Tutorial: Tworzenie bocznego menu - How to Build a Sidebar Layout

Bubble.io Tutorial: Układ: kolumna - Understanding the Column Layout

KB_ZW_0093 - Refleksje Na Temat Zarządzania Wiedzą: Szkolenia

Bubble.io Tutorial: Responsywne aplikacje - A New Way of Building Responsive Apps [Beta]

Bubble.io Tutorial: Responsywny pasek nawigacyjny - How to Build a Responsive Navbar in Bubble

Bubble.io Tutorial: Ładniejsze URLe - How to Setup Page Slugs

Bubble.io Tutorial: Własna czcionka - How to Setup a Custom Font

Bubble.io Quick Tip: Ustawianie paddingu - How to Use Padding in Container Elements

Bubble.io Quick Tip: Położenie i rozmiar w warunkach - Layout & Sizing Properties in Conditionals

Bubble.io Quick Tip: Stała liczba w powtarzającej grupie - How to Create a Fixed Repeating Group

KB_ZW_0092 - Refleksje Na Temat Zarządzania Wiedzą: Hasła

Bubble.io Quick Tip: Przewijanie pionowo - How to Create Ext. Vertical Scrolling (Responsive)

Bubble.io Quick Tip: Pełna lista w powtarzającej grupie - How to Create a Full List Repeating Group

Bubble.io Quick Tip: Pionowe przewijanie - How to Create Vertical Scrolling Repeating Groups

Bubble.io Quick Tip: Poziome przewijanie - How to Create a Horizontal Repeating Groups (Responsive)

Bubble.io Quick Tip: Drzewo elementów - How to Drag and Drop Elements in the Elements Tree

Bubble.io Quick Tip: Kontrolka z HTMLem - How to Use The HTML Element

Bubble.io Quick Tip: Strony - How to Use the Page Element

KB_ZW_0091 - Refleksje Na Temat Zarządzania Wiedzą: Raport

Bubble.io Quick Tip: Zmienianie tekstu - How to Use Text Transform Operators

Bubble.io Quick Tip: Menu pod prawym przyciskiem myszy - How to Use the Right-Click Menu

Bubble.io Quick Tip: Budowa wyrażeń - How to Build Expressions

Bubble.io Quick Tip: Wywołanie akcji z popupa - How to Trigger Workflows From Popup Events

Bubble.io Quick Tip: Szukanie elementów - How to Find Anything Using the App Search Tool
1
/
10
