Тёмный

3: Create Classes In OOP PHP | PHP Classes | Object Oriented PHP Tutorial For Beginners | mmtuts 

Dani Krossing
Подписаться 485 тыс.
Просмотров 257 тыс.
50% 1

Опубликовано:

 

25 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 85   
@yukiruyuki
@yukiruyuki Год назад
By far this is the best php oop videos i've came across.
@pratyayganguli9693
@pratyayganguli9693 4 года назад
There is a difference between a good teacher and a great teacher. You are a great teacher Dani.
@angeloperez7519
@angeloperez7519 4 года назад
I learned a lot of things because of you man. You taught me more than my professor could
@turboromy
@turboromy 7 лет назад
Big difference between procedural and objected oriented php is that you didn't say "because... why not". I liked that in earlier videos. Thanks for the uploads.
@nancyfazal2536
@nancyfazal2536 6 лет назад
Keep up the good work. Best teacher on youtube ever. stay blessed!
@leolallana
@leolallana 7 лет назад
High quality tutorials! You really are something man! :)
@Dani_Krossing
@Dani_Krossing 7 лет назад
Thank you :)
@minecraftify95
@minecraftify95 3 года назад
MLM [High Quality VIDEOS]
@vanhelsingx69x
@vanhelsingx69x Год назад
Best tutorials and playlist
@georgerabath9597
@georgerabath9597 7 лет назад
This is what I need right now. For me, you are the best. Thank you for your effort and time....
@StevenSchmidtSnr
@StevenSchmidtSnr 4 года назад
Nice and clear without any jargon. Awesome work.
@henrywalker9057
@henrywalker9057 Год назад
I first run to the comment section before watching coz i know u produce quality, we a so grateful for ur good work
@parthivnaik9141
@parthivnaik9141 6 лет назад
Thanks mmtuts, nice refresher for me. I am PHP developer.
@katalinmihaly2036
@katalinmihaly2036 5 лет назад
Nice and clear, thanks a lot for sharing your knowledge.
@rayenab9301
@rayenab9301 3 года назад
Thank you very much , Greetings from Tunisia
@armandocoralesbogayanjr2516
@armandocoralesbogayanjr2516 7 лет назад
nice tutorial it totally explained how modifiers public, protected and private works, Thank you and keep up the good work!
@mhc4124
@mhc4124 4 года назад
Wow man, this is a great channel. Glad I found it! *Subscribed
@Escko
@Escko Год назад
Thanks for the awesome series of videos man!!!
@RIMJANESSOHMALOOG
@RIMJANESSOHMALOOG 4 года назад
i just started to learn optics ;)
@mohammadrouhani7049
@mohammadrouhani7049 5 лет назад
you are the best.
@lhoussienouassou3272
@lhoussienouassou3272 Год назад
think you so much for this information great teacher
@fxtradeleaders4375
@fxtradeleaders4375 5 лет назад
High quality tuts really appreciate man
@minecraftify95
@minecraftify95 3 года назад
MLM [High Quality VIDEOS]
@bunnyboy3882
@bunnyboy3882 7 лет назад
SALUTE TO U SIR YOU EXPLAINED AND MADE IT SO EASY THANK YOU SIR
@TheSixZip
@TheSixZip 5 лет назад
Thanks man.👌
@khalidQweder
@khalidQweder 7 лет назад
Excellent Lesson. You Are Good Teacher
@Dani_Krossing
@Dani_Krossing 7 лет назад
Thank you
@WilkStrength
@WilkStrength 7 лет назад
looking forward to this series
@brandonswenson6215
@brandonswenson6215 3 года назад
Very good video! Thank you!
@pemasherpa6637
@pemasherpa6637 6 лет назад
Awesome tutorial friend. Thanks a lot!
@eloiclafine6714
@eloiclafine6714 4 года назад
You really should be a teacher man! :D I am pretty some university would pay you quite a lot for you to teach new devs
@dev.antunes
@dev.antunes 4 года назад
Thanks mmtuts :D
@sachindeveloper831
@sachindeveloper831 4 года назад
Thanks Sir, I am your New Student Name is Sachin Singh, i am from INDIA
@mandrzejak
@mandrzejak 4 года назад
I just started watching yours tutorials. I'm really impressed how you try to share your knowledge. Can you share what text editor you are using during the tutorial? Thanks in advance.
@pyaephyohein7409
@pyaephyohein7409 4 года назад
He is using Sublime Text in this video.
@ylmazkaanylmaz2678
@ylmazkaanylmaz2678 7 лет назад
Keep up the good work !
@pemasherpa6637
@pemasherpa6637 6 лет назад
I would like to request you to make a small system of anything using PHP OOP Language! We really need it :)
@mehranalisultan7595
@mehranalisultan7595 5 лет назад
Very Good Sir
@adriandinca5682
@adriandinca5682 7 лет назад
Am I the only one who understands "optic oriented programming" instead of "object oriented programming" ? XD Great videos! As always! :D
@bitmammothOG
@bitmammothOG 6 лет назад
could be bad acoustics in your listening environment, you'll lose some consonant definition because ...standing waves... that can explain why only a few hear it like that, where on studio monitors he clearly says object oriented lol
@DJTimeLock
@DJTimeLock 6 лет назад
bruh, nothings wrong with my speakers and i hear optic too. he just cant talk properly xD
@notevil1532
@notevil1532 4 года назад
Nice one!
@Mike-ip1el
@Mike-ip1el 7 лет назад
Very nice!
@AxxionMarketPlace-iu6ri
@AxxionMarketPlace-iu6ri Год назад
Thank you
@JoeEvansSound
@JoeEvansSound 4 года назад
Really good video - thank you. (p.s. PLEASE STOP SAYING YOU GUYS)
@dark9y8
@dark9y8 3 года назад
Hey, Keep up the good work. One suggestion, sometimes you speak very fast and also doesn't sound clear, no clear pronunciation (only few places). Just a feedback from non-native English speaker. Overall, thanks again, its helping me a lot.
@pianoLee-sx9dx
@pianoLee-sx9dx 6 лет назад
At 6:04, would you use single quotation or double quotation for string
@HARIHARAKRA
@HARIHARAKRA 3 года назад
what interface your using for php
@nemac23
@nemac23 3 года назад
2:20 Methods and properties are essentially functions and variables that are within the context of a class, correct?
@florisvandenberg7424
@florisvandenberg7424 Месяц назад
Correct.
@sunnydindoyal7504
@sunnydindoyal7504 7 лет назад
hello, suppose if i was on the index.php file. what would i have to input to call that class from newclass.inc.php.
@АртемВолков-ю5ь
@АртемВолков-ю5ь 7 лет назад
Thank you for the lesson, and what shows and what string (17)
@Zacki06
@Zacki06 7 лет назад
If you use the function var_dump() in php, it will give you additional information about the contents it shows. For example it will tell you that the property in this case is of type string and has the length of 17 characters. If it was the number 143 it would say int(3).
@conradhaynes4672
@conradhaynes4672 3 года назад
Please provide real life scenarios when providing explanations. It's like explaining grammar to a child - let them play around with real life examples and then explain properties, methods etc (similar to grammar). The most important thing is application !!! Why create classes, what's the rational behind creating classes !!! Auction houses use PHP classes for bids etc. so use real life examples.
@Julio860JVL
@Julio860JVL 4 года назад
Another way to explain methods vs functions is, a method is exactly just a function but because it is inside of a class now it is called method. function outside a class = function function inside a class = method method outside a class = function method inside a class = method
@ApplicableProgramming
@ApplicableProgramming 4 года назад
That is correct when you look from the structural point, or the code itself. From the point of oop/functional programming, then functions should not modify any state, only take input and return the output. While method is encouraged to actually change its object state, rather then receiving and giving back the output. That is why he says they are not the same, not because the code is written differently but more because of the context they apply to
@Born2DoubleUp
@Born2DoubleUp 2 года назад
im here 🤓
@ihsancemilcicek2785
@ihsancemilcicek2785 7 лет назад
hi, I wonder what is your sublime text php package and theme
@nick11927
@nick11927 7 лет назад
The theme is monokai and if you filter by php in the add on packages you'll see ones for php
@ihsancemilcicek2785
@ihsancemilcicek2785 7 лет назад
nick11927​ thanks
@AhmadZaki95
@AhmadZaki95 3 года назад
why we use class.inc.php ?? also we can use class.php
@Dani_Krossing
@Dani_Krossing 3 года назад
Sure 🙂 if that is how you wanna name your files then do that
@florisvandenberg7424
@florisvandenberg7424 Месяц назад
There is no inherent logic behind the naming of PHP files in PHP. The name 'class.inc.php' indicates that it's a file you include and don't call on its own. However, you can actually give this file any name you want.
@sunnydindoyal7504
@sunnydindoyal7504 7 лет назад
what is the difference between the include and include_once?
@Dani_Krossing
@Dani_Krossing 7 лет назад
You can only include a specific file once per page load if you use include_once. This is a way to ensure that you do not load the same file multiple times, which can slow down loading time, or even cause errors.
@digicat5851
@digicat5851 7 лет назад
nice videos Finally, now i can remove my subscription from SkillShare :)
@dgloria
@dgloria 5 лет назад
Hi, I am always confused what to put where in the MVC.
@florisvandenberg7424
@florisvandenberg7424 Месяц назад
MVC (Model-View-Controller) is an architectural pattern that separates an application into three main components: Model, View, and Controller. The Model manages data and business logic, the View displays information to the user, and the Controller handles user input, processes requests, and coordinates between Model and View. In a web application using MVC, a user's request is routed to the appropriate Controller, which processes the request and interacts with the Model to fetch or manipulate data. The Controller then prepares this data and selects an appropriate View. The View renders the output using the data from the Controller, which is then sent back to the user's browser. This pattern promotes separation of concerns, allowing for modular development and easier maintenance. Think of MVC like a restaurant: - The Model is the kitchen - it handles all the ingredients and cooking. - The View is the dining area - it's what customers see and interact with. - The Controller is the waiter - it takes orders from customers, tells the kitchen what to make, and brings the food to the tables. When you visit a website, it's like entering the restaurant. Your request goes to the Controller (waiter). The Controller might ask the Model (kitchen) for information, then chooses and prepares a View (like arranging food on a plate) to show you. This setup keeps everything organized - the kitchen doesn't serve customers, the dining area doesn't cook food, and the waiter coordinates it all. Structure wise frameworks usually have dedicated folders for each tier. In Laravel it's app/Http/Controllers/, app/Models/ and resources/views/. In Symfony /src/Controller, /src/Entity and /templates. In my own framework I'm making it's Controller/, Entity/, views/.
@kirstymcternan7643
@kirstymcternan7643 5 лет назад
what app do you use??????
@Shadow-bo2ui
@Shadow-bo2ui 3 года назад
how i can do share in my web site
@basantakc379
@basantakc379 7 лет назад
done.
@dariusaleksiunas337
@dariusaleksiunas337 6 лет назад
Ummm did you forgot to close
@editotech7531
@editotech7531 6 лет назад
Darius Aleksiunas that's optional
@ziggsstar
@ziggsstar 6 лет назад
@@editotech7531 If your page is just comprised of php then the closing tag is not needed. If it contains HTML or JavaScript, for example, then you need to use the closing php tag after each block of php.
@florisvandenberg7424
@florisvandenberg7424 Месяц назад
It's actually recommended to not close
@kalkalasch
@kalkalasch 7 лет назад
stop.. saying.. actually.. please. it's a special word used to accentuate something that may from some angle be unbelievable. otherwise thank you and great tutorial!
@learndevelopcreate5149
@learndevelopcreate5149 2 года назад
Lacks objectivity
@betterlife5488
@betterlife5488 7 лет назад
I must css than go i php learn
@sanyisasha
@sanyisasha 3 года назад
I lost interest right after you said "i like to put inc because it's in the include folder" ._.
@johanstam3602
@johanstam3602 5 лет назад
your use of newClass is not very descriptive and makes it harder for newbies. Call it bluePrint or baseClass. Then create a new instance of this class.
@Seubeauty
@Seubeauty Год назад
you should talk slow again, please. i want to listen conversation
@CyberMDK
@CyberMDK Год назад
the waffle house has found it's new host
@khanlakhno2757
@khanlakhno2757 6 лет назад
*Dude, optic and object are the different things. They r not interchangeble*
@Dani_Krossing
@Dani_Krossing 6 лет назад
I can't tell with your "bold" comment, if you are making fun of my English speaking, or if you seriously think I am saying "optic" instead of "object"...
@bitmammothOG
@bitmammothOG 6 лет назад
@mmtuts you say object clearly on my mackies lol dont let their low quality systems affect your english speaking, to me you do a fine job at it! :)
Далее
Ilkinchi hotin oberasanmi deb o’ylabman🥹😄
00:26
Python Classes and Objects - OOP for Beginners
8:01
Просмотров 560 тыс.
Learn Any Programming Language In 3 Hours!
22:37
Просмотров 481 тыс.
PHP in 100 Seconds
2:21
Просмотров 1,3 млн