Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

PHP eCommerce Entities - PHPUnit and Doctrine ORM Tutorial

Gary Clarke via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into a comprehensive tutorial on building PHP eCommerce entities using Doctrine ORM and MySQL, while implementing robust testing with PHPUnit. Learn to create and manage products, orders, and items, exploring their relationships and interactions. Master essential concepts such as project setup, entity creation, database-dependent testing, schema management, and custom assertions. Develop practical skills by implementing features like product pages, checkout processes, and order management. Gain insights into best practices for database assertions, entity relationships, and form handling. By the end of this tutorial, you'll have a solid foundation in creating and testing complex eCommerce systems using PHP, Doctrine ORM, and PHPUnit.

Syllabus

Project setup
User Entity
Create User Script
Customer Journey
Minimal Product
Test Database
Database Dependant Testcase
Schema Loader
Product Entity
Create Product Test
Custom Database Assertion
Custom Test Fail Messages
Inverse Database Assertion
Update Schema Command
Product Page
Remove Hardcoding
Order - Product Relationship
Order Entity
Update Order Test
Cancel Order Test
Order - Item - Product relationship
Create Item Entity
Doctrine Many to One
Entity Inverse Relationship
Adding Multiple Items
Database Assertions Using SQL
Assert Failure Message
Assert Database Has Item
You Don't Need The Inverse
Update Development Database Schema
Checkout Page
Checkout Form Fields
Submit Checkout Form
Create Order and Item Records

Taught by

Gary Clarke

Reviews

Start your review of PHP eCommerce Entities - PHPUnit and Doctrine ORM Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.