Giter VIP home page Giter VIP logo

hemantachhami19 / design-patterns-in-php-keith-casey Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bohdan-vorona/design-patterns-in-php-keith-casey

0.0 2.0 0.0 1.54 MB

Write better PHP code by following these popular (and time-tested) design patterns. Developer Keith Casey introduces 11 design patterns that will help you solve common coding challenges and make your intentions clear to future architects of your application.

PHP 100.00%

design-patterns-in-php-keith-casey's Introduction

Design Patterns in PHP

This code is designed to accompany the lynda.com video course "Design Patterns in PHP" by Keith Casey. If you've received this code without seeing the videos, go watch the videos. It will make way more sense and be more useful in general.

======================

How to Use this Repository

In each of the numbered folders, you will find a few directories. The first folder - called before - is what your code might look like before the pattern. While it's not beautiful, it isn't necessarily wrong.. but it can be better. After exploring the "before" folder, check out the "after" folder to see what the code might look like after a bit of refactoring for the design pattern. This isn't the only possible solution or implementation. It just happens to be the one I chose to share.

Contents / Design Patterns Covered

  • Active Record
  • Adapter
  • Decorator
  • Factory
  • Mock Objects
  • Model View Controller (or simply MVC)
  • Action Domain Responder (or simply ADR)
  • Publish-Subscriber
  • Singleton
  • Strategy
  • Table Data Gateway

design-patterns-in-php-keith-casey's People

Contributors

bohdan-vorona avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.