---
title: "#ocp articles | Hashnode"
description: "Explore 18 articles tagged #ocp on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/ocp"
---

Tag

# #ocp

18 posts · 5 followers

[Utkarsh Roy](https://hashnode.com/@utkarshroy) · [Feb 16](https://hashnode.com/posts/solid-principles-o-openclosed-principle-ocp/6992f0fa13bdfba09dc0835e)

### [SOLID Principles | O — Open/Closed Principle (OCP)](https://utkarshr.hashnode.dev/solid-principles-o-openclosed-principle-ocp?utm_source=hashnode&utm_medium=feed)

SOLID principles help us design clean, scalable, and maintainable object-oriented systems.Today, I focused on the “O” — Open/Closed Principle. ⸻ 🔹 What is the Open/Closed Principle? Software entities (classes, modules, functions, etc.) should ...

2 min read · [utkarshr.hashnode.dev](https://utkarshr.hashnode.dev/solid-principles-o-openclosed-principle-ocp?utm_source=hashnode&utm_medium=feed)

[Bennett](https://hashnode.com/@bennett1999) · [Dec 21, 2025](https://hashnode.com/posts/solid-ocp/6947a2ef91e157a216ac255b)

### [Lesson 17: SOLID 實戰篇 (2)-開放封閉 (OCP) - 擁抱變化而不修改舊碼](https://blog.bennett1999.com/solid-ocp?utm_source=hashnode&utm_medium=feed)

深入解析 SOLID 中的 OCP（開放封閉原則），說明如何透過策略模式實現「對擴充開放、對修改封閉」，並結合訂單折扣與 Laravel 實務範例，避免修改既有程式碼造成的回歸風險。

3 min read · [blog.bennett1999.com](https://blog.bennett1999.com/solid-ocp?utm_source=hashnode&utm_medium=feed)

[AKSHAY SIV](https://hashnode.com/@akshaysiv) · [Jun 19, 2025](https://hashnode.com/posts/centralized-monitoring-for-multi-cluster-openshift-with-prometheus-thanos-and-grafana/6853c4aa543af3c539455efb)

### [Centralized Monitoring for Multi-Cluster OpenShift with Prometheus, Thanos & Grafana](https://monitoringocp.hashnode.dev/centralized-monitoring-for-multi-cluster-openshift-with-prometheus-thanos-and-grafana?utm_source=hashnode&utm_medium=feed)

🚀 Overview Monitoring OpenShift clusters is critical for visibility, reliability, and performance. OpenShift includes Prometheus and Thanos out-of-the-box, which can be leveraged to create a powerful multi-cluster monitoring dashboard using Grafana....

3 min read · [monitoringocp.hashnode.dev](https://monitoringocp.hashnode.dev/centralized-monitoring-for-multi-cluster-openshift-with-prometheus-thanos-and-grafana?utm_source=hashnode&utm_medium=feed)

[Rafli Abdul Bay Haqqy](https://hashnode.com/@bayhaqqy) · [Jun 16, 2025](https://hashnode.com/posts/easy-steps-to-install-openshift-416-using-assisted-installer/685017e8a44a7f0a46c5921a)

### [Easy Steps to Install OpenShift 4.16 Using Assisted Installer](https://blog.bayhaqqy.my.id/easy-steps-to-install-openshift-416-using-assisted-installer?utm_source=hashnode&utm_medium=feed)

Install OpenShift 4.16 using Assisted Installer: guide to set up, configure, and deploy OpenShift clusters seamlessly on bare metal servers

7 min read · [blog.bayhaqqy.my.id](https://blog.bayhaqqy.my.id/easy-steps-to-install-openshift-416-using-assisted-installer?utm_source=hashnode&utm_medium=feed)

[Priyan J](https://hashnode.com/@PriyanJ) · [Apr 27, 2025](https://hashnode.com/posts/ocp-d1-ch1/680e40079465c9cc2ebd894d)

### [Day 1 - 1Z0-829](https://impriyanj.hashnode.dev/ocp-d1-ch1?utm_source=hashnode&utm_medium=feed)

This article is to save and document my way to achieve this cert

2 min read · [impriyanj.hashnode.dev](https://impriyanj.hashnode.dev/ocp-d1-ch1?utm_source=hashnode&utm_medium=feed)

[Ganesh Rama Hegde](https://hashnode.com/@hegde10122) · [Mar 23, 2025](https://hashnode.com/posts/composite-design-pattern/67dfc04f7b3afe0cfeb8b30f)

### [Composite Design Pattern](https://designpatterns.hashnode.dev/composite-design-pattern?utm_source=hashnode&utm_medium=feed)

The Composite Design Pattern is a structural pattern that allows us to build complex tree structures where individual objects and groups of objects are treated uniformly. Concept It provides a way to compose objects into tree structures to represent ...

5 min read · [designpatterns.hashnode.dev](https://designpatterns.hashnode.dev/composite-design-pattern?utm_source=hashnode&utm_medium=feed)

[Chhakuli Zingare](https://hashnode.com/@chhakuli) · [Feb 6, 2025](https://hashnode.com/posts/openclosed-principle-writing-scalable-code-in-react/67a42cca8fcc7b338acab8a8)

### [Open/Closed Principle: Writing Scalable Code in React](https://creowis.com/blog/openclosed-principle-writing-scalable-code-in-react?utm_source=hashnode&utm_medium=feed)

Build scalable and maintainable web applications.

6 min read · [creowis.com](https://creowis.com/blog/openclosed-principle-writing-scalable-code-in-react?utm_source=hashnode&utm_medium=feed)

[Soyulia](https://hashnode.com/@soyulia) · [Jan 25, 2025](https://hashnode.com/posts/java-srp-ocp/678caf3ddc650d25252acd10)

### [\[ Java \] Srp와 Ocp](https://soyulia.hashnode.dev/java-srp-ocp?utm_source=hashnode&utm_medium=feed)

목표 : 객체지향 프로그래밍에서 '단일 책임 원칙(SRP)'과 '개방-폐쇄 원칙(OCP)'에 대해 알아보고, 각각의 원칙을 적용한 코드를 살펴보자. 1️⃣SRP ? 한 클래스는 하나의 책임만 가져야한다. 우리는 이를 따르면서 관심사를 분리해야한다. 예를 들어, 다음 코드는 Animal을 정하고 강아지와 고양이에 따라 울음소리가 다른 기능을 함께 갖고있다. 따라서, SRP위반 코드이다. //SRP 위반 코드 public class Animal{...

2 min read · [soyulia.hashnode.dev](https://soyulia.hashnode.dev/java-srp-ocp?utm_source=hashnode&utm_medium=feed)

[Borhan Uddin](https://hashnode.com/@codernex) · [Jan 10, 2025](https://hashnode.com/posts/mastering-solid-principles-in-typescript-for-better-code-design/6780c392f0fc47e97f500252)

### [Mastering SOLID Principles in TypeScript for Better Code Design](https://codernex.hashnode.dev/mastering-solid-principles-in-typescript-for-better-code-design?utm_source=hashnode&utm_medium=feed)

Learn how to apply SOLID principles in TypeScript to enhance your code design and maintainability with practical examples and best practices

3 min read · [codernex.hashnode.dev](https://codernex.hashnode.dev/mastering-solid-principles-in-typescript-for-better-code-design?utm_source=hashnode&utm_medium=feed)

[Sohag Hasan](https://hashnode.com/@sohag) · [Oct 25, 2024](https://hashnode.com/posts/master-the-open-closed-principle-in-laravel-a-real-world-guide/671c00149f2c92a79fc176da)

### [Master the Open-Closed Principle in Laravel: A Real-World Guide 🚀](https://notes.sohag.pro/master-the-open-closed-principle-in-laravel-a-real-world-guide?utm_source=hashnode&utm_medium=feed)

Open-Closed Principle in Laravel Introduction Have you ever found yourself repeatedly modifying existing code to add new features, only to break something else in the process? The Open-Closed Principle (OCP) is here to save you from this maintenance ...

4 min read · [notes.sohag.pro](https://notes.sohag.pro/master-the-open-closed-principle-in-laravel-a-real-world-guide?utm_source=hashnode&utm_medium=feed)
