Implementasi design pattern dan TDD di Laravel

ABP - Amikom @2019

@DyanGalih

Who am i?

IT Enthusiast, Cloud and Mobile Security Enthusiast, Public speaker


A Simple Person Who Love Code, Share Knowledge and Always Learning about Java, PHP, DevOps, Android, Javascript, mobile and webapps security.

Design Patterns?

Design Patterns are reusable solutions to commonly occuring problems(in the context of software design). Design patterns were started as best practices that were applied again and again to similar problems encountered in different contexts

source : https://www.oodesign.com/

MVC

DDD Patterns?

Repository Patterns?

Dependency Injection?

Dependency Injection

TDD(Test Driven Development)

TDD(Test Driven Development)

POPO

Plain Old {Insert Language Here} Object is an simple approach that says you don't always need to use an extensive class to store data or perform logic.

class HelloWorld{
    private $value;
    public function getValue(): ?string
    {
        return $this->value;
    }
    public function setValue(string $value) {
        $this->value = $value;
    }
}

SolarLint

Source: https://www.sonarlint.org/​

Relawan / Posko.id

Studi Kasus : Posko.id

Aplikasi web untuk pemetaan lokasi posko, kebutuhan pengungsi dan koordinasi relawan.

 

Source : https://github.com/NgeSEC/relawan/

Terimakasih

Implementasi Design Pattern Dan TDD di Laravel

By Dyan Galih

Implementasi Design Pattern Dan TDD di Laravel

  • 1,477