Chia Sẻ Khóa Học Cách Structure Database Trong Laravel [Khóa 8083 A]
Cấu trúc một Database là một trong những khó khăn lớn nhất mà tôi từng thấy khi bắt đầu một dự án mới.
Có những câu hỏi như:
- ✓ Nó nên là một belongsTo hoặc belongsToMany relationship?
 - ✓ Có lẽ tôi sử dụng polymorphic relationships?
 - ✓ Tôi nên có một table lớn với 20 cột hay chia nó thành nhiều cột nhỏ hơn?
 - ✓ Hiệu suất truy vấn cho structure X sẽ như thế nào?
 - ✓ Vân vân.
 
Vì vậy, trong khóa học kéo dài 2 giờ, hơn 20 video này, tôi sẽ nói về những vấn đề thực tế đó, với các ví dụ, dựa trên Laravel, MySQL và Eloquent / Query Builder.
Chương trình giảng dạy:
- 1. Giới thiệu: Relationships Crash Course:
 - ✓ BelongsTo, BelongsToMany hay Polymorphic? Ba ví dụ.
 - ✓ Rare Cases of HasOne Relationship.
 - ✓ Database Normalization: 1/2/3 Normal Forms.
 - ✓ StartHasMany: Delete Parent - What Happens with Children?
 - 2. Các ví dụ về Open-Source Laravel Databases:
 - ✓ October CMS: is_xxx VS xxx_at, và belongsTo/belongsToMany.
 - ✓ Koel Music Streaming Service: Untypical Pivot Tables.
 - ✓ Attendize: Large Tables, Accounts/Users và Pivots trên Steroids.
 - ✓ Laravel.io: Polymorphic All the Things!
 - 3. Khám phá Structures và Elements khác nhau:
 - ✓ UUID instead of ID: When/How?
 - ✓ JSON DB Fields: Yay or Nay?
 - ✓ ENUMS, Foreign Keys, or Just String?
 - ✓ Custom Fields. EAV: Entity-Attribute-Value Model
 - ✓ Recursive Parent-Children - Part 1: Unlimited Subcategories.
 - ✓ Recursive Parent-Children - Part 2: Nested Set Model với Package.
 - ✓ Invoice Numbers với Prefixes: Cách Structure DB?
 - ✓ Order Statuses: Relationship or Same Table?
 - ✓ Column Indexes: when/why/how to Apply Them.
 - ✓ Cách Safely Change DB Relations trong Live Laravel Project?
 - 4. Lấy dữ liệu từ Larger DB: Các dự án ví dụ thực tế:
 - ✓ Project 1. Tournament với Places: TOP 100 Tournaments/Prizes.
 - ✓ Project 2. Eshop với Categories, Discounts và Similar Products.
 
NHẬN GET EBOOK TRÊN AMAZON THEO YÊU CẦU
