In this video I dive in and create my own PHP MVC (model, view, controller) from scratch! We walk through the process of coding a framework so you learn and have a better understanding of how frameworks work! We even create our own PDO database helper and use it to get data from our database. This framework does not have all the bells and whistles of the major frameworks but it give you an understanding of how they are structured and work. I learded a lot from creating my own framework and I hope you do as well!
——
Live Demo https://justinstolpe.com/iarecoding/
——
Discord ⇝ / discord
Printify ⇝ https://bubbles-merch.printify.me
TikTok ⇝ / justinstolpe
GitHub ⇝ https://github.com/jstolpe/
Instagram ⇝ / justinstolpe
Twitter ⇝ / justin_stolpe
LinkedIn ⇝ / justin-stolpe-3bb05426
Reddit ⇝ / jstolpe
Twitch ⇝ / jstolpe
Facebook ⇝ / stolpejustin
Website ⇝ https://justinstolpe.com
SoundCloud ⇝ / justin-stolpe
——
Chapters
0:00 Intro
0:28 Overview
2:31 htaccess
3:25 index.php
4:45 core/Autoloader
6:20 core/Autoloader __construct()
6:48 core/Autoloader autoloadFolderFiles()
9:22 core/Router
9:44 core/Router __construct()
14:56 core/Router go()
15:45 core/Controller
16:45 core/Model
17:31 MVC Test No Database
18:41 Creating your own App using the Framework
19:31 app Models
20:47 app Views
21:17 core/Model getViewHtml()
22:12 core/Controller loadView()
23:03 core/Controller escapeHtml()
23:37 app/assets
23:53 app html head
25:55 app html body
27:24 app html description snippet
28:37 app html links
29:03 app global javascript
30:04 core/Database
31:46 core/Database __construct()
32:10 core/Database initialize()
32:28 core/Database table()
32:28 core/Database table()
32:33 core/Database where()
32:49 core/Database orderBy()
32:57 core/Database join()
33:13 core/Database fetch()
34:31 core/Database runSelectQuery()
34:52 core/Database _buildJoin()
35:14 core/Database _buildWhere()
36:03 core/Database _buildOrderBy()
36:28 core/Database _runQuery()
37:55 MVC Test Using Database
38:07 Outro
——
#programming #developer #coding
Смотрите видео PHP MVC Framework From Scratch plus PDO Database Helper онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Justin Stolpe 13 Июнь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,257 раз и оно понравилось 52 людям.