وب سایت تخصصی شرکت فرین
دسته بندی دوره ها

Writing and Refactoring Testable PHP

سرفصل های دوره

It’s difficult to innovate in a messy, disorganized PHP codebase. Enter test-driven development (TDD)—a more professional development approach that helps prevent regressions, increase developer confidence in a codebase, and keep the codebase clean to accommodate business logic pivots. In this course, learn how PHP developers can leverage TDD in new projects and refactor code in existing projects.

This course is integrated with GitHub Codespaces, an instant cloud developer environment that offers all the functionality of your favorite IDE without the need for any local machine setup. With GitHub Codespaces, you can get hands-on practice from any machine, at any time—all while using a tool that you’ll likely encounter in the workplace. Check out the “Using GitHub Codespaces with this course” video to learn how to get started.


01 - Introduction
  • 01 - Test-driven development and refactoring in PHP
  • 02 - Concepts and technologies you should know
  • 03 - Using GitHub Codespaces with this course

  • 02 - 1. What Are You Doing Here
  • 01 - Automated testing
  • 02 - Define types of testing
  • 03 - What is refactoring
  • 04 - When to refactor

  • 03 - 2. TDD a New Project
  • 01 - Configure a project for tests
  • 02 - Write an acceptance test
  • 03 - Write a failing unit test, make the test pass, refactor
  • 04 - Write testable code

  • 04 - 3. What to Refactor in Existing (Legacy) Projects
  • 01 - Large chunks of logic
  • 02 - Incorrect OOP logic
  • 03 - Change lots of files for one feature
  • 04 - Unnecessary code
  • 05 - Strong coupling
  • 06 - Using mocks
  • 07 - Files that are modified often
  • 08 - Identifying the best place to start

  • 05 - 4. Examples of Test-Driven Refactoring
  • 01 - Add one passing test
  • 02 - Identify a brittle function and add tests
  • 03 - Extract functionality (using TDD)
  • 04 - Simplify conditionals
  • 05 - Simplify function signatures

  • 06 - 5. OOP Examples of Test-Driven Refactoring
  • 01 - Identify objects from related functions
  • 02 - Replace arrays with objects
  • 03 - Add value objects (easy to test)
  • 04 - Add null objects
  • 05 - Replace conditionals with interfaced classes

  • 07 - 6. Moving Fast by Moving Slower
  • 01 - Make steady progress
  • 02 - Prevent regressions
  • 03 - Cleaner code
  • 04 - Decoupled code
  • 05 - Become a better developer

  • 08 - 7. TDD and Refactoring in the Real World
  • 01 - On a spaghetti-code project
  • 02 - With a looming deadline
  • 03 - With a team that doesnt understand TDD and refactoring
  • 04 - With a PM that doesnt understand TDD and refactoring

  • 09 - Conclusion
  • 01 - Next steps
  • 139,000 تومان
    بیش از یک محصول به صورت دانلودی میخواهید؟ محصول را به سبد خرید اضافه کنید.
    خرید دانلودی فوری

    در این روش نیاز به افزودن محصول به سبد خرید و تکمیل اطلاعات نیست و شما پس از وارد کردن ایمیل خود و طی کردن مراحل پرداخت لینک های دریافت محصولات را در ایمیل خود دریافت خواهید کرد.

    ایمیل شما:
    تولید کننده:
    مدرس:
    شناسه: 34536
    حجم: 312 مگابایت
    مدت زمان: 143 دقیقه
    تاریخ انتشار: 11 اردیبهشت 1403
    طراحی سایت و خدمات سئو

    139,000 تومان
    افزودن به سبد خرید