Skip to content

Coding Notes for the standard coding practices for the daily tasks and features which should be followed for a better dev experience and mental peace :). Will be adding more notes related to OOPs programming and framework specific notes here. Feel free to create your PRs to this repository.

License

Notifications You must be signed in to change notification settings

devshahrukhanwar/coding-practices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding Practices 📚

Welcome to the Coding Practices repository! Here you'll find notes on Standard Coding Practices, Design Patterns, SOLID principles, Agile principles, and other stuff related to Software design and development to enhance your development experience. 🌟

Table of Contents 📖

Section Description Link
SOLID Principles Principles for object-oriented design SOLID Principles
Design Patterns Common design patterns and their applications Design Patterns
Agile Principles Principles for Agile development Agile Principles

Coding Practices ✨

Coding notes for standard practices to follow for a better dev experience and mental peace for other Devs 😇.


SOLID Principles 💡

This project demonstrates the SOLID principles of object-oriented design, which are essential for creating maintainable and scalable software. Each principle is implemented in its respective PHP file.

Table of Contents

Principle Example Description
Single Responsibility Principle (SRP) Single-Responsibility.php "A class should have only one reason to change or have only one job/responsibility."
Open/Closed Principle (OCP) Open-Closed.php "A class should be open for extensions but closed for modifications."
Liskov Substitution Principle (LSP) Liskov-Substitution.php "Objects in a program should be replaceable with instances of their subtypes without altering the correctness of the program."
Interface Segregation Principle (ISP) Interface-Segregation.php "A client should not be forced to depend on methods it does not use."
Dependency Inversion Principle (DIP) Dependency-Inversion.php "Depend upon abstractions. Do not depend upon concretions."

Design Patterns 🏗️

Overview

"Design patterns are solutions to common and repeating problems in software design."

Table of Contents

Category Patterns
Creational Singleton, Prototype, Factory Method, Abstract Factory, Builder
Structural Facade, Adapter, Decorator, Proxy, Composite, Bridge, Flyweight
Behavioral Memento, State, Iterator, Observer, Mediator, Strategy, Command, Template Method, Visitor, Chain of Responsibility

Agile Principles 🏗

Agile is an iterative approach to project management and software development that focuses on flexibility, customer satisfaction, and team collaboration. For more information on Agile principles and methodologies, check out the Agile Principles, Agile Manifesto and Agile Alliance.


🤝 Contact


📄 License

This project is open source and available under the MIT License.


💖 Sponsor & Support

If you find this project useful, star the repository, consider supporting me:

Sponsor on GitHub Buy Me a Coffee


Cheat Sheets 📝

For more information on design patterns, check out this cheat sheet.

Feel free to contribute by creating PRs to this repository. Thanks everyone! ❤️

About

Coding Notes for the standard coding practices for the daily tasks and features which should be followed for a better dev experience and mental peace :). Will be adding more notes related to OOPs programming and framework specific notes here. Feel free to create your PRs to this repository.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Languages