Build a PHP Framework Dave Hollingworth https://youtu.be/pZTp5NohRfE?list=PLFbnPuoQkKseimWeA4UFo1BPFTeXnv_1S ************************************* 01 The Front Controller ------------------------- 00:00 Introduction 00:32 Default PHP Organisation 01:24 The Front Controller Pattern 01:45 Practical Example 05:21 Conclusion Break: https://youtu.be/pZTp5NohRfE?list=PLFbnPuoQkKseimWeA4UFo1BPFTeXnv_1S Tbreak: https://youtu.be/pZTp5NohRfE?list=PLFbnPuoQkKseimWeA4UFo1BPFTeXnv_1S ***************************************************************************** 02 The public Folder ------------------------- 00:00 Introduction 00:11 The problems 01:28 The public folder 02:35 The root folder 03:05 PHP development server 04:08 Apache 04:21 Static files 04:52 PHP misconfiguration 06:31 The bootstrap file 08:37 Conclusion 03 HTTP Messages ------------------------- 00:00 Introduction 00:16 HTTP requests 01:21 HTTP responses 01:56 In a web browser 02:39 Processing messages 03:51 PSR-7 04:11 Install PSR-7 package 05:23 PSR-7 requests 07:00 PSR-7 responses 09:46 Outputting responses 10:12 PSR-7 emitter 11:34 Conclusion 04 The Router ------------------------- 00:00 Introduction 00:18 Current request handling 00:41 Clean URLs 01:33 Get the URL path 02:59 Apache configuration 03:41 A basic router 05:27 A third-party router 08:52 Dispatching 09:32 Route variables 12:18 Conclusion Break: https://youtu.be/nfIURhvknac?list=PLFbnPuoQkKseimWeA4UFo1BPFTeXnv_1S Tbreak: https://youtu.be/nfIURhvknac?list=PLFbnPuoQkKseimWeA4UFo1BPFTeXnv_1S&t=217 ***************************************************************************** xampp loader: http://localhost/MyPhp/php/phpfrmwk-holli/public **************************************************************************** Other resources: Guzzle PSR-7: (1) https://phpdoc.moodledev.io/4.4/de/d1d/class_guzzle_http_1_1_psr7_1_1_server_request.html (2) https://docs.guzzlephp.org/en/stable (3) https://docs.guzzlephp.org/en/stable/psr7.html