Great video and series. I finally understood MVC. I've been studying PHP for a month and a half, and built my first app. The functions.php file now has over 1000 LOC, so you can imagine my situation. I will use this video series to learn MVC and build a v2 app in parallel to the existing one, so I can make the switch in the future keeping the same database. (when you model the DB the right way, you have nothing to fear. LOL)
Thank you for your kind words. That sounds like a great plan :) Also, do not be afraid of starting a version 3, 4 and 5. Or even better, do not be afraid of refactoring your existing application over time - that is the best way to learn new skills :) good luck, and feel free to ask any questions along the way :)
@@ApplicableProgramming Iskreno pretragom po filteru u poslednjih mesec dana sta je objavljeno od PHP tutorijala, a kad sam usao skontao sam da je nas covek u pitanju pa mi je jos draze bilo uciti i pratiti 😁👨💻 Svidja mi se koncept realnog projekta i kroz njega ucenje jer bas upravo ovakav projekat je nesto sto svi traze na razgovorima za posao. Samo tako nastavi! 👍
@@nikolav6350 Hehe, drago mi je da ti se svidja. Ako imas neka pitanja pisi slobodno. Btw, napravio sam jednu facebook grupu, ako si zainteresovan da se pridruzis. Applicable Programmers facebook.com/groups/applicableprogrammers/ na kojoj jos uvek nema nicega jer se trenutno fokusiram na ove videje, ali ideja je da grupa bude mesto za ucenje web programiranja, bez spamovanja i sl. Samo ljudi koji zele da uce web.
@@ApplicableProgramming Hvala na pozivu, uclanicu se naravno. Bicu slobodan da ti postavim pitanje ako mi nesto bude nejasno ispod videa. Hvala jos jednom.
Lets start building one CMS and in the process learn object oriented concepts, but also what problems are they actually solving so that we can understand when to apply similar solution in other projects.
Hi Bernard. Not sure what you mean exactly? Single page applications are usually made in javascript. Are you thinking like one single index.php file, and all in it? why would you use that for?
@@ApplicableProgramming to be honest I begun learning programming out of curiosity.. My original work is veterinarian and I am 39 yo .. And never thought changing my career.. Till I stopped work because of it's law income here. After beginning in programming I became addicted to problem solving.. Of course it is so challenging for me.. Specially with my medical background.. But I am enjoying it. It helped me a lot with my depression
@@mizooo5 Interesting... have you thought going into fixing some of the problem from veterinarian branch? Making some system or service that could help you? Since you know both sides of the trade in a unique combination, I doubt there is more qualified person to do it then you :)
@@ApplicableProgramming I really liked explaining with real-life examples and to which problems we can face if we use functional programming. And of course, how to solve them with OOP.
@@ApplicableProgramming I had C++ in school. But Started Career from SEO while doing B.C.A from distance learning. I learned WordPress basics theme creating but still always be very confused when building plugins and widgets or other customization . Due to which I have never grown my career in the development field. In between I have been fascinated with other languages like Python, nodejs, tried angular too. but never every mastered any of them. So I though to make covid year useful. So I quit freelancing and focusing on making my coding base stronger. All these years, I have just done copy paste from stack overflow and other forums. So Never felt proud as a programmer.
@@shashanknaithani6425 That is great to hear, as when I make videos, I sort of have you as the perfect viewer, someone who wants to grow career in programming. Why are you learning php if I may ask?
Hello Sir, I love working independently from home and since 5 years I haven't made any progress. And not enjoying my work too. So I have decided to get all the php juice sincerely and then will start again my freelancing work. I want to master WordPress and Laravel. I am very Happy to find your channel. :)
@@shashanknaithani6425 Your comments ended up in youtube spam for some reason. Anyway, it is my pleasure having you here, and I hope that you will succeed in your plans! :) In my experience, after five years you should already have some credibility (which of course should always be improved), but more importantly, now you need to sell it. Are you working on your other "soft skills" like communication with clients and non-technical people? Explaining the problems and the solutions, and also your networking skills? (helping others so that they can help you?).
@@ApplicableProgramming Well, I am learning PHP now, and have been searching for a video to watch before sleep :D Originally, I was looking for the simple PHP task manager tutorial, but then I found your video, and clicked on it since I had tried to understand how OOP works before but never found a great explanation. And your video was just perfect! I have been reading the book to build the basic knowledge about PHP, but now will also watch your playlist! Thank you once again for your videos!
@@ApplicableProgramming thank you! I am not working as a web developer yet, but plan to learn PHP to such extent so that to be able to apply for trainee or junior PHP backend by this summer, I hope🙂 I've been working as a product developer using WordPress and Elementor for two years, and I feel that simple dragging the templates is not a real magic, but creating e-commerce stores, CMSs or just themes for that WordPress is a TRUE magic🙂 And your videos have been helping so much to udnderstand the essential concepts! I'm currenly on your 3rd lesson, and I feel that there is no better way to explain classes/objects that you did. Thank you!
@@ApplicableProgramming haha, well, its highly subjective, but Im personally loving the way you hold lections - I've met only 3 people through my life so far with similar tone of voice and manner of speaking: one good friend of mine (a really smart psy major), my Accounting profesor, and you - and all of you seem to be exceptionally smart people, great experts in the field and wonderful teachers!
@@ApplicableProgramming yep, biggest part its creating plugins and custom solution for WordPress but I want to become real backend developer with php using some frameworks like laravel or symphony but now I'm trying to discover for myself what is MVC and oop for starting 💪
@@volodymyrselevertov That is great, it is important to always improve. I am working on a course that could help people like yourself. What do you struggle most with the OOP approach so far?
@@ApplicableProgramming around 20 years experience with procedural, 15 of which commercially. Last 6 years I’ve worked on basically 1 site exclusively for a big retailer which has just limited my growth. So im looking to get my skills up to date for a new job!
@@SwitchedOn that is good experience anyway, even though you were "locked" in one system. What is the most difficult thing for you when it comes to oop?
@@ApplicableProgramming I always found it so long winded compared to what I’m used to but like you said in one of the first couple of videos, people always explain it in terms of “a car” etc and doesn’t apply to real life scenarios. But you have explained it much better and what you said about redesigning a site and just having to change the view files only really resonated with me. I can now see how you would give that folder over to a front end designer to work with and they wouldn’t really need to know any php coding. It’s just getting in and making some projects after I’ve finished your course here I think.
@@ApplicableProgramming you also said something else I totally got, that’s when you tried OOP before you would just default back to procedural. I can definitely get that - as I say, lot of OOP I’ve looked at and thought “that would be so much easier doing it in a way I know”. But as I said earlier, I now “get it” and understand why it’s an important way to do things for studios now.
Very informative but too fast. I will watch it again and pausing it in between to digest what you explained. I know its very basic but I still a little slow down tutorial will be better. But thanks again for the nice explanations.
Thank you for your comment. To be honest i thought this video was very slow :( which part is to fast, coding or explaining? Or all? Try with slowing down the playback speed in the great box down left in the video, maybe it helps. But yeah, you would need to pause and go back from time to time, especially if you are coding along
@@ApplicableProgramming I was looking for a course on OOP PHP wich is project based and in depth. And this one covers even testing, design patters etc. So that is why I choosed your tutorial, and because you presents all this in your unique way.. My aim is to getting a job as a developer now
@@ApplicableProgramming I was intrigued by the order that comes with OOP PHP, it seemed a bit professional and the reviews seemed to state that it was better than procedural in terms of security and when it comes to working with other developers. Am learning as self-taught so I tend to check reviews to guide me then I search youtube for better channels
@@priorityyouth Yeah, that was pretty much my motivation when I started with oop. Not sure if security is particularly better just because code is in OOP, people can still write a bunch of crap with any code style. But working with others, easier testing and better reusability are definitively something that can make you love objects. Learning it, especially properly is a huge challenge to be honest. It took me at least a year or more to switch my brain around proper objects, everything seemed just unnecessary complex and weird. It was just too many files, too many methods, too many difficult things without any apparent reason to why really bother. When I watched tutorials I liked all the points people would present, but when it comes to using it, boy o boy did I really hated it. So.. keep to it, be persistent and good luck :D
@@ApplicableProgramming Love the way you use problem/solution way to teach something. It helps a lot understanding the theory and knowing where to apply it.
@@kevinvandelft511 Glad to hear. A lot of people actually prefer the short and simple "just do it like this" approach, but when I watch such short videos I sort of miss the obvious answer to the "Why should I bother?". I would understand the concept in the video, but not the reasons behind it. I hope this approach resonates with people who actually want to understand reasons behind some principles.
@@ApplicableProgramming It helps me a lot so I think for other people as well. The short videos are giving me a fast solution but when I am implementing other features in my PHP program then I already forgot what I did before because I only got the answer instead of the problem + explanation + solution. I have an intermediate vocational education degree on web development but stopped coding for 2 years because I am studying forensic chemistry but I am starting to code again and your videos helps me understand thing a lot faster so keep up the good work!
@@kevinvandelft511 Thank you very much for the feedback, I appreciate it. Especially since that is my frustration as well when watching tutorials, I would understand what the solution is about, but when I go to my daily job, I find that in a lot of cases what I learned does not apply to EXACTLY my problem. Mostly because I never actually understood the problem, or the solution for that matter. If I may ask, are you already working or looking for a job / switching careers?
what do you mean, is it finished? making a CMS is never ending process, it can go for years. But after this series you will have a CMS that you can build upon :)
I thought for a while that the best path to creating a custom CMS for a novice programmer would be to learn PHP and learn how Wordpress works so you can 'customize' Wordpress at the PHP level.... but I get the feeling that might not be the best approach? If you were to write a CMS for a client professionally would you start from the ground up or would you use something like Wordpress that's already been checked etc. by thousands of devs? I'm really confused about how to get to my goal of being able to create a custom CMS. I'm not in it for quick results - I just want to make sure I'm on the right path.
Well.. Firstly I don't think there is such thing as the right or best path. There are multiple paths, depending on where you want to go short term, and long term. Short term progress, you learn wordpress and start making money. But what after you have mastered wordpress? Long term, you do some more difficult tasks, and establish yourself as credible programmer who can solve difficult problems, for this it takes some time before you start making money (although money would probably be bigger). I am sure you can combine short term and long term, but it is very very hard. I could call it luck or I could also call it active choice, but I was lucky that I could chose the non-wordpress path and wanted to work with "hard-core" programming using php. For that I actually built my own CMS by watching someone else's code and learned a lot of programming concepts before I started looking for a job. On my fist interview I got recursion question, which for some reason I understood, even though I've seen a lot of other candidates struggle with that later. So... luck? Would you learn recursion customizing wordpress? Then we got lucky that we have got a huge client in the LA that also got lucky to find a lot of clients, so we were producing about a custom website a week each of us, for five years. Custom as in there were no ready built plugins for what they wanted to do, so we had to make something new. And that built my portfolio enough so that I could choose where I wanted to work, and I chose not to use wordpress. Again, I started 15 years ago, so the situation was probably different back then, wordpress was about just starting out and other solutions like drupal were not that popular. But I think people can still make similar choice if they work realy REALY hard. However I always knew I wanted to learn at least OOP php, and wordpress was not designed to use OOP, so long term it would not get me far with programming career. I still think that was a good choice I made, as I would struggle to change careers in the way I wanted to. If you get locked to a single cms or single programming language, you just cannot not progress very far as a developer. But had I not been that lucky (or actively choosing to not work with wordpress) I could have been easily working with wordpress. And on your question, now I do use wordpress when someone asks me to quickly get them a website and I know that they do not need any customizations. But those are usually just friends of mine, but again I am sort of lucky that my clients now would be people who already have a wordpress and have grown out of it, and now they want something custom, something that will integrate with some complex systems. And those clients understand that they need to pay for such functionality and they understand that "wordpress programmers" cannot easily get them there (not because it is impossible, but because they have wordpress expertise, and I have the "api-integration" expertise). So I had the luxury to say no when someone would ask me for a wordpress installation, not because I didn't want the money, but because I always asked what would I learn from it, what is in there for me long term beside short payment. But again, I was lucky that I could work in a car wash while I was learning programming, someone might not have any options at all. So... what do you want to be? :)
@@ApplicableProgramming Wow, that's very interesting. I've read your response several times over the past few days. What I want to do at the moment is to get my foot in the door of the web design world. Eventually becoming a developer that can solve complicated problems, not be locked into any particular frameworks and code CMSs, plugins, widgets etc. from scratch. I feel like I've been a 'beginner' for too long and really just want to start getting paid and progress from there. You mention you built your own CMS before you started looking for a job but to be honest I have a feeling that could take me a LONG time before I'm able to do this! At the moment I think having a focus would help me... a goal. At first I thought that was CMS but can you recommend any other ways to get into the paying world of programming on the route to becoming a complete developer?
@@AE-yr6mo well goal is a big part of it, I've talked about it in other videos as well (although I will re-record more focused version of it because it is that important.). One thing I think you can do is combine something you already know or are interested in. F.eks. if you are into photography then make some DOF calculator, or a website that has google maps and local weather integrated, phases of the moon f.eks. so that people could plan their shooting using your website. Yes those websites exist, and yes you can just copy it. But if choose correctly, you could use say 4 weeks on it, and finalize it and put it on your CV. Then you have some product to talk to the future employee, and you also have some programming concepts in it to talk to the future team lead. And since you like photography, you have a motivation and a passion to work on it (or videography, food, animals, pc configurator, music, cars... whatever rocks your boat). What is your interest? If you haven't seen it already, watch this video I made, especially around 2nd and 4th chapter, I think I talked about exactly what you are struggling with. ruclips.net/video/PjqmeK8GRyA/видео.html&ab_channel=ApplicableProgramming
@@AE-yr6mo Hey I got email about your comment on the other video, but I do not see it here on youtube, it just disappeared. That happened before not sure if it is a youtube bug, or you deleted your comment? If it is a bug I would like to report it to youtube so they can hopefully fix it
@@ApplicableProgramming Sounds like a bug because I didn't delete it. Also I thought I'd already subscribed to you but realised earlier I wasn't.... another bug? Let me post it again here on this video - let me just track it down.
This was one of the best tutorials. Thank you sir for sharing the basics. It would be great if you create videos with slower speed :'"(. The coding part was so fast but i got the basics.
Hello, I write scripts that do not interact with people. There are no views, or HTML. What triggers my scripts are HTTP POST requests from another automated requestor app that provides the information needed to turn around and make HTTP requests of that requestor; to do things that the requestor app itself was not designed to do, but exposes search and update APIs that can be used to accomplish the goal. Up until now, my code has been top down procedural, because I spent 30 years coding IBM COBOL (albeit, strictly structured), and I try to follow the same style by using function calls in place of COBOL paragraphs. However, for the sake of encapsulating the database access parameters, the auth tokens, and for the sake of learning, I want to try my hand at OOP PHP. Not all server-side scripts need to interact with a client, as my scripts interact with other servers. Do you have a tutorial that you can recommend?
Hello again Charles, glad to see you continued with oop (despite being discouraged :) ) To be honest, last time I tried exactly that, I could not find a robust "restful PHP api" tutorial, which is what I think you need right now. I read a lot about Lumen (Laravel lite) that was sort of optimized for such tasks, read a lot of source codes in various headless CMS projects, and at the end I somehow made something functional in my pet project. But that was like 6 years ago. At the same time I was also learning Angular, so that added additional complexity, however it really thought me full stack thinking, as it had clear separation of backend and frontend. I think I mentioned in this video/series at some point as well, pretty much everything I am writing in this tutorial works just fine if you remove the view part and continue with the "MVC minus V" pattern. That is one of the advantages of the MVC, you could replace or even remove views completely, you could as well completely automate controllers if they are not needed in some particular case, flexibility is there. But I got one though now... I am working/thinking about a course that will be dedicated to people who wrote a lot of procedural code and now want to transition to OOP. You seem like ideal student for the course, and I would like to hear from you about your struggles, thought process, as well as help you in mastering the craft and give you some pointers as to where to start and focus. Would you care for a short video call where we can discuss different think that you think I might help you with? If that sounds helpful to you, just enter your name on my website, and I will get in touch with you www.applicableprogramming.com/
Hi Aleen. This first video is focused on the MVC design pattern, which will be used in later videos to build a OOP CMS, checkout the next video in the series for the objects themselves
In the video it was Netbeans, but it is quite outdated I believe. Today I use Intellij products, web and phpstorm when working on projects. When just scripting then VS Code
old code is three php files containing the html and php code all together. index.php, about-us.php, contact-us.php notes: - model is content (retrieve from database) - view is html files (sent to client) - controller is "traffic sign": assembles and returns to client new code: think of index.php as "fuse in a box", aka home page. if else logic added to determine which controller to be called: home page controller. create a home page controller = php file. move the html code to a view file "home page.html". finally, include the home-page.html in the home-page controller. in summary, for the home page, create two php files: one model, one controller. then put the html in a view file. now we need a way to move from the home-page to the about-us page. return to the home-page model php and add 'if/else' logic to check the section parameter using a $_GET method, then include the relevant controller file. now, create the needed about-us controller and view, and include the model about-us php file in the controller, and move the html code to the view html file, same way as home-page. now, you can use the same steps to navigate from the home-page to the contact-us page, through 'contact' section. note: the models were not created in this lesson, since we do not pass data to the view.
@@ApplicableProgramming Started learing, I have gone through serveral courses and started learning laravel, but I found that before know the framework I will explore more basics and mechanism. It was one of proposed in main page and Your content was most apt and well done. So i'm going to continue my adventure with Php and Your videos ;)
@@patrykojewski298 Thank you, that is nice to hear. Welcome to the course and to the channel :) What is the goal after learning, do you want to work for yourself, or to find some job?
@@ApplicableProgramming Thank for asking, for now i do not have exact plans, but who know what bring us future. I already have job which i like (PLC programmer), but I think is good to have various skills, especially as it develops the programmer's mindset not only in exact language, but globally way of programmer's thinking ;)
@@rajabhishek2936 I guess I could, but to generate code is very, VERY wide area to explain, so it might not help you with your problem. You can generate code for crud, but you can also write one code for multiple crud points as well, that might be a better solution. You have to try to be more concrete where are you stuck, what problems in the actual code you are struggling with so that people could help? How long have you come with your code, can you upload it to github or some place to show what got you stuck?
@@rajabhishek2936 Not sure what are you trying to achieve sorry, you want to use php, to generate more php code and files? Like a CLI command that frameworks have?
Not sure I've seen it. But may I ask why do you need a tutorial for wordpress-like CMS? What would you like to learn/make? Do you want it to look like WordPress, or be coded like wordpress?
@@ApplicableProgramming I just want to make with php wordpress. My idea is to build portfolio with php, but make it like CMS in wordpress where you could add you portfolio, edit website color, font, size, even create pages, code it on OOP,, build code in good practice, use interface, spacenames and so on. In this way one portfolio would be one big project which will include a lot of elements. Not sure if I was clear.
@@rimantasdanilevicius6754 I think you are clear, and I also think that this very video/series is exactly the tutorial you need :) I do (party) build a CMS that is similar to wordress in this tutorial. Tutorial is not a 100% final CMS project, but it can get you quite far I believe. Try some of the videos from the series randomly, to see how the CMS is built and what it would look like at the end, but it has pages, admin, editing of pages, and quite a few useful "fancy" concepts explained along the way (like interfaces, spacenames, active record etc etc. Are you looking to work as a developer somewhere?
@@ApplicableProgramming Thank you for tips, I will definitely check your content. It seams you write code the right way :) What I missing in most tutorials is that where is not enough advance tutorials on how build more flexible code in OOP , how to collaborate with a team. Yes, I looking to work as a developer. At the moment I am trying to understand what technologies should I learn in 2022 and what projects should I build which will help me learn code better in OOP.
@@rimantasdanilevicius6754 Great. I would say look at the ideal company you want to work at, and see (or just ask them) what they are using. It reeeealy depends on where you are, as long as you learn something among the top 10 programming languages, you are pretty much good. You can just try few languages and stacks and see if you like it, or you can see what companies around you are using, or you can just flip the coin :) After some time you can just change, what is the works that can happen, you will just learn something new?
Great video and series. I finally understood MVC. I've been studying PHP for a month and a half, and built my first app. The functions.php file now has over 1000 LOC, so you can imagine my situation. I will use this video series to learn MVC and build a v2 app in parallel to the existing one, so I can make the switch in the future keeping the same database. (when you model the DB the right way, you have nothing to fear. LOL)
Thank you for your kind words. That sounds like a great plan :)
Also, do not be afraid of starting a version 3, 4 and 5. Or even better, do not be afraid of refactoring your existing application over time - that is the best way to learn new skills :)
good luck, and feel free to ask any questions along the way :)
The best MVC explanation I've found, very easy to understand and with a real example
Well thank you very much Jakov. Have you been working with PHP before?
@@ApplicableProgramming Yes, I've working with PHP for quite some time, but only procedural, I'm just starting with MVC and OOP.
@@jakovpavlov6268 may I ask why do you need to learn oop?
@@ApplicableProgramming I'm about to start a new project, and it's huge, and it would be a pain in the butt to mantain if I go procedural
@@jakovpavlov6268 do you work on it alone or with someone else?
Hvala Dalibore za ovu serija PHP OOP , mnogo znaci za nas junior PHP developere!
Hvala na komentaru, mnogo znaci za nas sto pravimo videje :)
Ako mogu da pitam, kako si dosao do mog tutorijala? Pretragom za nesto ili?
@@ApplicableProgramming Iskreno pretragom po filteru u poslednjih mesec dana sta je objavljeno od PHP tutorijala, a kad sam usao skontao sam da je nas covek u pitanju pa mi je jos draze bilo uciti i pratiti 😁👨💻 Svidja mi se koncept realnog projekta i kroz njega ucenje jer bas upravo ovakav projekat je nesto sto svi traze na razgovorima za posao. Samo tako nastavi! 👍
@@nikolav6350 Hehe, drago mi je da ti se svidja. Ako imas neka pitanja pisi slobodno.
Btw, napravio sam jednu facebook grupu, ako si zainteresovan da se pridruzis. Applicable Programmers facebook.com/groups/applicableprogrammers/
na kojoj jos uvek nema nicega jer se trenutno fokusiram na ove videje, ali ideja je da grupa bude mesto za ucenje web programiranja, bez spamovanja i sl. Samo ljudi koji zele da uce web.
@@ApplicableProgramming Hvala na pozivu, uclanicu se naravno. Bicu slobodan da ti postavim pitanje ako mi nesto bude nejasno ispod videa. Hvala jos jednom.
This tutorials really help me to understand MVC better way. I want few more tutorials in MVC more elaborate way. Thank you so much
Glad it helped! Any particular thing you still find unclear about MVC?
Lets start building one CMS and in the process learn object oriented concepts, but also what problems are they actually solving so that we can understand when to apply similar solution in other projects.
Thanks so much .Well explanatory .Are. u able to make a video on single page application without using. the Model?
Hi Bernard. Not sure what you mean exactly? Single page applications are usually made in javascript. Are you thinking like one single index.php file, and all in it?
why would you use that for?
fully explained in details, for me slowly, but good
Thanks! you can try to speed up video if that helps
the best mvc explanation ever, although english isn't my first language, thank you
Thanks man! this is my very first video, glad you liked it :) Are you already working with php, or still learning?
@@ApplicableProgramming still learning, actually i shifted my career recently and trying to begin working as php developer soon
@@mizooo5 Cool. Why programming? :D
@@ApplicableProgramming to be honest I begun learning programming out of curiosity..
My original work is veterinarian and I am 39 yo .. And never thought changing my career.. Till I stopped work because of it's law income here.
After beginning in programming I became addicted to problem solving.. Of course it is so challenging for me.. Specially with my medical background.. But I am enjoying it. It helped me a lot with my depression
@@mizooo5 Interesting... have you thought going into fixing some of the problem from veterinarian branch? Making some system or service that could help you? Since you know both sides of the trade in a unique combination, I doubt there is more qualified person to do it then you :)
Thank you so much for sharing this series.
the pleasure is all mine sir, the pleasure is all mine...
Well explained at 6 and at 14 min. Thanks
Thank you
I think I will not be able to find better explaniation in RUclips! Thanks, bro!🤝
Thank you for your kind words mister. Was there something in particular that you liked?
@@ApplicableProgramming I really liked explaining with real-life examples and to which problems we can face if we use functional programming. And of course, how to solve them with OOP.
@@musobekmadrimov1999 Thanks, glad you are enjoying the show :)
Hello Sir,
Thanks for the MVC tutorial Playlist. I saw this first video and love the way you teach.
I am starting my MVC journey. Thanks to you.
That is great to hear Shashank, I am very glad you like it :)
Are you working with php already, or have you started learning now?
@@ApplicableProgramming I had C++ in school. But Started Career from SEO while doing B.C.A from distance learning.
I learned WordPress basics theme creating but still always be very confused when building plugins and widgets or other customization .
Due to which I have never grown my career in the development field. In between I have been fascinated with other languages like Python, nodejs, tried angular too. but never every mastered any of them.
So I though to make covid year useful. So I quit freelancing and focusing on making my coding base stronger.
All these years, I have just done copy paste from stack overflow and other forums. So Never felt proud as a programmer.
@@shashanknaithani6425 That is great to hear, as when I make videos, I sort of have you as the perfect viewer, someone who wants to grow career in programming. Why are you learning php if I may ask?
Hello Sir,
I love working independently from home and since 5 years I haven't made any progress. And not enjoying my work too. So I have decided to get all the php juice sincerely and then will start again my freelancing work.
I want to master WordPress and Laravel.
I am very Happy to find your channel. :)
@@shashanknaithani6425 Your comments ended up in youtube spam for some reason.
Anyway, it is my pleasure having you here, and I hope that you will succeed in your plans! :)
In my experience, after five years you should already have some credibility (which of course should always be improved), but more importantly, now you need to sell it.
Are you working on your other "soft skills" like communication with clients and non-technical people? Explaining the problems and the solutions, and also your networking skills? (helping others so that they can help you?).
That's exactly what I was looking for thank you so much sir 👏🏻🖤
My pleasure :)
Are you referring to the CMS series, or the MVC video? :)
Such a great and logical explanation! Thank you for this series, I've just watched the first lesson, and it's so easy and digestible
Thanks Андрій , glad you liked it. May I ask how you found this video?
@@ApplicableProgramming Well, I am learning PHP now, and have been searching for a video to watch before sleep :D Originally, I was looking for the simple PHP task manager tutorial, but then I found your video, and clicked on it since I had tried to understand how OOP works before but never found a great explanation. And your video was just perfect! I have been reading the book to build the basic knowledge about PHP, but now will also watch your playlist! Thank you once again for your videos!
@@andriiSTV That is great to hear, glad video helped you. Are you working with php already, or still learning?
@@ApplicableProgramming thank you! I am not working as a web developer yet, but plan to learn PHP to such extent so that to be able to apply for trainee or junior PHP backend by this summer, I hope🙂
I've been working as a product developer using WordPress and Elementor for two years, and I feel that simple dragging the templates is not a real magic, but creating e-commerce stores, CMSs or just themes for that WordPress is a TRUE magic🙂
And your videos have been helping so much to udnderstand the essential concepts! I'm currenly on your 3rd lesson, and I feel that there is no better way to explain classes/objects that you did. Thank you!
@@ApplicableProgramming haha, well, its highly subjective, but Im personally loving the way you hold lections - I've met only 3 people through my life so far with similar tone of voice and manner of speaking: one good friend of mine (a really smart psy major), my Accounting profesor, and you - and all of you seem to be exceptionally smart people, great experts in the field and wonderful teachers!
Thanks for the first lesson and its awesome, I hope soon I will finish that course, author you are awesome!
Glad you liked it Volodymyr :) Are you working with php on your work?
@@ApplicableProgramming yep, biggest part its creating plugins and custom solution for WordPress but I want to become real backend developer with php using some frameworks like laravel or symphony but now I'm trying to discover for myself what is MVC and oop for starting 💪
@@volodymyrselevertov That is great, it is important to always improve.
I am working on a course that could help people like yourself. What do you struggle most with the OOP approach so far?
@@ApplicableProgramming I have not so match practice with OOP, as you know WP using OOP not often and using that's style is not required 😂
u won my heart sir, well explained
Well thank you Ahmad, your comment is appriciated :)
One of the best explanations of MVC I've heard. This was the one that 'clicked' for me to understand it! Thank you :)
Thank you, that is nice to hear :) have you worked with PHP from before, it just started learning it?
@@ApplicableProgramming around 20 years experience with procedural, 15 of which commercially. Last 6 years I’ve worked on basically 1 site exclusively for a big retailer which has just limited my growth. So im looking to get my skills up to date for a new job!
@@SwitchedOn that is good experience anyway, even though you were "locked" in one system. What is the most difficult thing for you when it comes to oop?
@@ApplicableProgramming I always found it so long winded compared to what I’m used to but like you said in one of the first couple of videos, people always explain it in terms of “a car” etc and doesn’t apply to real life scenarios. But you have explained it much better and what you said about redesigning a site and just having to change the view files only really resonated with me. I can now see how you would give that folder over to a front end designer to work with and they wouldn’t really need to know any php coding. It’s just getting in and making some projects after I’ve finished your course here I think.
@@ApplicableProgramming you also said something else I totally got, that’s when you tried OOP before you would just default back to procedural. I can definitely get that - as I say, lot of OOP I’ve looked at and thought “that would be so much easier doing it in a way I know”. But as I said earlier, I now “get it” and understand why it’s an important way to do things for studios now.
Very informative but too fast. I will watch it again and pausing it in between to digest what you explained. I know its very basic but I still a little slow down tutorial will be better. But thanks again for the nice explanations.
Thank you for your comment. To be honest i thought this video was very slow :( which part is to fast, coding or explaining? Or all?
Try with slowing down the playback speed in the great box down left in the video, maybe it helps. But yeah, you would need to pause and go back from time to time, especially if you are coding along
Odlicno si sve objasnio hvala ti i svaka cast
Hvala hvala, drago mi je da ti se svidja :)
thank you very much for the help
good job
Thank you for watching mister!`
Hi! Thanks for this series.
Thanks, glad you like it!
Are you working with php, or still learning?
@@ApplicableProgramming i’ve worked with PHP and other languages for years, just not using MVC. This is very helpful, especially for Unit testing.
Helped to understand MVC pattern 🙏
That is nice to hear Mactos, Thank you for letting me know. Are you interested in fallowing the entire CMS tutorial?
thanks a lot, keep up the quality work : ) it is greatly appreciated
Thank you Robin, comments like these make it all worth while :)
Are you following the course or?
@@ApplicableProgramming I was looking for a course on OOP PHP wich is project based and in depth. And this one covers even testing, design patters etc. So that is why I choosed your tutorial, and because you presents all this in your unique way.. My aim is to getting a job as a developer now
Applicable Programming, you're now my new teacher. ;-)
Ah... it is an honor! I will make it my priority, mr. Priority :)
Are you switching from some other language or learning php for the first time?
@@ApplicableProgramming I am switching from procedural PHP to OOP PHP.
@@priorityyouth Nice, I think that this course is exactly for you then. May I ask why are you switching? What do you think you are missing? :)
@@ApplicableProgramming I was intrigued by the order that comes with OOP PHP, it seemed a bit professional and the reviews seemed to state that it was better than procedural in terms of security and when it comes to working with other developers. Am learning as self-taught so I tend to check reviews to guide me then I search youtube for better channels
@@priorityyouth Yeah, that was pretty much my motivation when I started with oop. Not sure if security is particularly better just because code is in OOP, people can still write a bunch of crap with any code style. But working with others, easier testing and better reusability are definitively something that can make you love objects. Learning it, especially properly is a huge challenge to be honest. It took me at least a year or more to switch my brain around proper objects, everything seemed just unnecessary complex and weird. It was just too many files, too many methods, too many difficult things without any apparent reason to why really bother. When I watched tutorials I liked all the points people would present, but when it comes to using it, boy o boy did I really hated it.
So.. keep to it, be persistent and good luck :D
Great video, it helped me understand de MVC pattern more, and will implement it in my work!
Great to hear Kevin, ask any questions if you have on the way :)
@@ApplicableProgramming Love the way you use problem/solution way to teach something. It helps a lot understanding the theory and knowing where to apply it.
@@kevinvandelft511 Glad to hear. A lot of people actually prefer the short and simple "just do it like this" approach, but when I watch such short videos I sort of miss the obvious answer to the "Why should I bother?". I would understand the concept in the video, but not the reasons behind it.
I hope this approach resonates with people who actually want to understand reasons behind some principles.
@@ApplicableProgramming It helps me a lot so I think for other people as well. The short videos are giving me a fast solution but when I am implementing other features in my PHP program then I already forgot what I did before because I only got the answer instead of the problem + explanation + solution. I have an intermediate vocational education degree on web development but stopped coding for 2 years because I am studying forensic chemistry but I am starting to code again and your videos helps me understand thing a lot faster so keep up the good work!
@@kevinvandelft511 Thank you very much for the feedback, I appreciate it. Especially since that is my frustration as well when watching tutorials, I would understand what the solution is about, but when I go to my daily job, I find that in a lot of cases what I learned does not apply to EXACTLY my problem. Mostly because I never actually understood the problem, or the solution for that matter.
If I may ask, are you already working or looking for a job / switching careers?
Is the series full?
what do you mean, is it finished?
making a CMS is never ending process, it can go for years. But after this series you will have a CMS that you can build upon :)
I thought for a while that the best path to creating a custom CMS for a novice programmer would be to learn PHP and learn how Wordpress works so you can 'customize' Wordpress at the PHP level.... but I get the feeling that might not be the best approach?
If you were to write a CMS for a client professionally would you start from the ground up or would you use something like Wordpress that's already been checked etc. by thousands of devs? I'm really confused about how to get to my goal of being able to create a custom CMS. I'm not in it for quick results - I just want to make sure I'm on the right path.
Well.. Firstly I don't think there is such thing as the right or best path. There are multiple paths, depending on where you want to go short term, and long term.
Short term progress, you learn wordpress and start making money. But what after you have mastered wordpress? Long term, you do some more difficult tasks, and establish yourself as credible programmer who can solve difficult problems, for this it takes some time before you start making money (although money would probably be bigger). I am sure you can combine short term and long term, but it is very very hard.
I could call it luck or I could also call it active choice, but I was lucky that I could chose the non-wordpress path and wanted to work with "hard-core" programming using php. For that I actually built my own CMS by watching someone else's code and learned a lot of programming concepts before I started looking for a job. On my fist interview I got recursion question, which for some reason I understood, even though I've seen a lot of other candidates struggle with that later. So... luck? Would you learn recursion customizing wordpress?
Then we got lucky that we have got a huge client in the LA that also got lucky to find a lot of clients, so we were producing about a custom website a week each of us, for five years. Custom as in there were no ready built plugins for what they wanted to do, so we had to make something new. And that built my portfolio enough so that I could choose where I wanted to work, and I chose not to use wordpress.
Again, I started 15 years ago, so the situation was probably different back then, wordpress was about just starting out and other solutions like drupal were not that popular. But I think people can still make similar choice if they work realy REALY hard.
However I always knew I wanted to learn at least OOP php, and wordpress was not designed to use OOP, so long term it would not get me far with programming career. I still think that was a good choice I made, as I would struggle to change careers in the way I wanted to. If you get locked to a single cms or single programming language, you just cannot not progress very far as a developer.
But had I not been that lucky (or actively choosing to not work with wordpress) I could have been easily working with wordpress. And on your question, now I do use wordpress when someone asks me to quickly get them a website and I know that they do not need any customizations. But those are usually just friends of mine, but again I am sort of lucky that my clients now would be people who already have a wordpress and have grown out of it, and now they want something custom, something that will integrate with some complex systems. And those clients understand that they need to pay for such functionality and they understand that "wordpress programmers" cannot easily get them there (not because it is impossible, but because they have wordpress expertise, and I have the "api-integration" expertise).
So I had the luxury to say no when someone would ask me for a wordpress installation, not because I didn't want the money, but because I always asked what would I learn from it, what is in there for me long term beside short payment. But again, I was lucky that I could work in a car wash while I was learning programming, someone might not have any options at all.
So... what do you want to be? :)
@@ApplicableProgramming Wow, that's very interesting. I've read your response several times over the past few days. What I want to do at the moment is to get my foot in the door of the web design world. Eventually becoming a developer that can solve complicated problems, not be locked into any particular frameworks and code CMSs, plugins, widgets etc. from scratch.
I feel like I've been a 'beginner' for too long and really just want to start getting paid and progress from there. You mention you built your own CMS before you started looking for a job but to be honest I have a feeling that could take me a LONG time before I'm able to do this! At the moment I think having a focus would help me... a goal.
At first I thought that was CMS but can you recommend any other ways to get into the paying world of programming on the route to becoming a complete developer?
@@AE-yr6mo well goal is a big part of it, I've talked about it in other videos as well (although I will re-record more focused version of it because it is that important.).
One thing I think you can do is combine something you already know or are interested in. F.eks. if you are into photography then make some DOF calculator, or a website that has google maps and local weather integrated, phases of the moon f.eks. so that people could plan their shooting using your website. Yes those websites exist, and yes you can just copy it. But if choose correctly, you could use say 4 weeks on it, and finalize it and put it on your CV. Then you have some product to talk to the future employee, and you also have some programming concepts in it to talk to the future team lead. And since you like photography, you have a motivation and a passion to work on it (or videography, food, animals, pc configurator, music, cars... whatever rocks your boat). What is your interest?
If you haven't seen it already, watch this video I made, especially around 2nd and 4th chapter, I think I talked about exactly what you are struggling with. ruclips.net/video/PjqmeK8GRyA/видео.html&ab_channel=ApplicableProgramming
@@AE-yr6mo Hey I got email about your comment on the other video, but I do not see it here on youtube, it just disappeared. That happened before not sure if it is a youtube bug, or you deleted your comment? If it is a bug I would like to report it to youtube so they can hopefully fix it
@@ApplicableProgramming Sounds like a bug because I didn't delete it. Also I thought I'd already subscribed to you but realised earlier I wasn't.... another bug?
Let me post it again here on this video - let me just track it down.
Clear n crisp👍
Thank you Naga :)
Right tutorial for me
Good to hear, please let me know if more details are needed.
This was one of the best tutorials. Thank you sir for sharing the basics. It would be great if you create videos with slower speed :'"(. The coding part was so fast but i got the basics.
Thank you Alif, I will try to keep the speed down a bit so that it is easier to follow :)
just pause for a while a sections that you don't understand, there is no need to slow that excellent tutorial
Thankx you re the best
Welcome 😊
thank you. it helped me a lot.
Glad to hear that Mehmet, thank you for letting me know
Hello,
I write scripts that do not interact with people. There are no views, or HTML.
What triggers my scripts are HTTP POST requests from another automated requestor app that provides the information needed to turn around and make HTTP requests of that requestor; to do things that the requestor app itself was not designed to do, but exposes search and update APIs that can be used to accomplish the goal.
Up until now, my code has been top down procedural, because I spent 30 years coding IBM COBOL (albeit, strictly structured), and I try to follow the same style by using function calls in place of COBOL paragraphs.
However, for the sake of encapsulating the database access parameters, the auth tokens, and for the sake of learning, I want to try my hand at OOP PHP. Not all server-side scripts need to interact with a client, as my scripts interact with other servers. Do you have a tutorial that you can recommend?
Hello again Charles, glad to see you continued with oop (despite being discouraged :) )
To be honest, last time I tried exactly that, I could not find a robust "restful PHP api" tutorial, which is what I think you need right now. I read a lot about Lumen (Laravel lite) that was sort of optimized for such tasks, read a lot of source codes in various headless CMS projects, and at the end I somehow made something functional in my pet project. But that was like 6 years ago. At the same time I was also learning Angular, so that added additional complexity, however it really thought me full stack thinking, as it had clear separation of backend and frontend.
I think I mentioned in this video/series at some point as well, pretty much everything I am writing in this tutorial works just fine if you remove the view part and continue with the "MVC minus V" pattern. That is one of the advantages of the MVC, you could replace or even remove views completely, you could as well completely automate controllers if they are not needed in some particular case, flexibility is there.
But I got one though now... I am working/thinking about a course that will be dedicated to people who wrote a lot of procedural code and now want to transition to OOP. You seem like ideal student for the course, and I would like to hear from you about your struggles, thought process, as well as help you in mastering the craft and give you some pointers as to where to start and focus. Would you care for a short video call where we can discuss different think that you think I might help you with? If that sounds helpful to you, just enter your name on my website, and I will get in touch with you www.applicableprogramming.com/
❤️ from Bangladesh
Greetings to Bangladesh from Norway! :)
Nicely Explained! Loved it
Thank you Fazley, glad you liked it
extremely well presented
Thank you, I'm glad you liked it
thanks very much.
Pleasure is all mine... Are you new to programming, or new to PHP?
@@ApplicableProgramming I am new in oop
My friend the letters are too small you should make them more visible ...small and blur
Thank you for your feedback, I've increased font size in the fallowing lessons, hope it is easier to see :)
You are Great
Thank you very much for the kind words mister!
Are you new to php?
@@ApplicableProgramming I have 3 years experience
@@ranjithsivasami3844 Nice. What kind of projects do you work on?
Where is opp concept
Hi Aleen. This first video is focused on the MVC design pattern, which will be used in later videos to build a OOP CMS, checkout the next video in the series for the objects themselves
Thanks!!
Thank you for stopping by!
Good lessons Bro , thanks !!!
Thank you, I am glad you liked them :)
Are you already working as developer?
@@ApplicableProgramming no only start study
@@phpstudy8625 great, are you following entire CMS series?
@@ApplicableProgramming yes , very good information
What code editor are you using?
In the video it was Netbeans, but it is quite outdated I believe. Today I use Intellij products, web and phpstorm when working on projects. When just scripting then VS Code
old code is three php files containing the html and php code all together. index.php, about-us.php, contact-us.php
notes:
- model is content (retrieve from database)
- view is html files (sent to client)
- controller is "traffic sign": assembles and returns to client
new code: think of index.php as "fuse in a box", aka home page. if else logic added to determine which controller to be called: home page controller. create a home page controller = php file. move the html code to a view file "home page.html". finally, include the home-page.html in the home-page controller.
in summary, for the home page, create two php files: one model, one controller. then put the html in a view file.
now we need a way to move from the home-page to the about-us page. return to the home-page model php and add 'if/else' logic to check the section parameter using a $_GET method, then include the relevant controller file.
now, create the needed about-us controller and view, and include the model about-us php file in the controller, and move the html code to the view html file, same way as home-page.
now, you can use the same steps to navigate from the home-page to the contact-us page, through 'contact' section.
note: the models were not created in this lesson, since we do not pass data to the view.
Nice summary. I read that by summarizing, we actually make way better connections in the brain, and remember information much longer
Thank You !
Pleasure is all mine :)
are you already using PHP, or just started learning?
May I ask how you got to this video?
@@ApplicableProgramming Started learing, I have gone through serveral courses and started learning laravel, but I found that before know the framework I will explore more basics and mechanism. It was one of proposed in main page and Your content was most apt and well done. So i'm going to continue my adventure with Php and Your videos ;)
@@patrykojewski298 Thank you, that is nice to hear. Welcome to the course and to the channel :)
What is the goal after learning, do you want to work for yourself, or to find some job?
@@ApplicableProgramming Thank for asking, for now i do not have exact plans, but who know what bring us future. I already have job which i like (PLC programmer), but I think is good to have various skills, especially as it develops the programmer's mindset not only in exact language, but globally way of programmer's thinking ;)
Super video hoce li biti neki oop php mysql projekat
Pozdrav, dobar predlog. Mada ovaj projekat je prilicno OOP sa MySql bazom. Sta bi voleo da projekat radi na primer?
It's poor quality screen capturing, Please try with another software.
Thanks, yeah, I've changed the capturing size so newer videos should look better now
Super je tutorial!
Hvala :) Kako si provalio sa kog je podrucja?
@@ApplicableProgramming Izasao si mi kao predlog posto dosta gledam tutorijale pa reko da vidim... Engleski naglasak i ime :)
@@MR-ko8ji a da, zaboravio sam da imam ime :D
Sad pripremam sledeci video za tutorial, pa ako ima nesto sto bi hteo da pojasnim bolje, pisi :)
@@ApplicableProgramming Dogovoreno! :)
Awesome video
Thanks man, glad you liked it! Do you work with PHP already, or just started learning?
@@ApplicableProgramming I shart Learning & Creating Project.
How to make crud genrator using php please help me to auto genrate code
sure, what have you tried so far, and where did you stop?
@@ApplicableProgramming i am stuck with genrate code for all crud dynmic.can you make video for this?
@@rajabhishek2936 I guess I could, but to generate code is very, VERY wide area to explain, so it might not help you with your problem. You can generate code for crud, but you can also write one code for multiple crud points as well, that might be a better solution. You have to try to be more concrete where are you stuck, what problems in the actual code you are struggling with so that people could help? How long have you come with your code, can you upload it to github or some place to show what got you stuck?
@@ApplicableProgramming ok thanks but how can i genrate code in php any file handling function or any other concept?
@@rajabhishek2936 Not sure what are you trying to achieve sorry, you want to use php, to generate more php code and files? Like a CLI command that frameworks have?
Maybe some one knows by chance any tutorial how to build with PHP wordpress? I mean, how to create CMS like have wordpress with PHP?
Not sure I've seen it. But may I ask why do you need a tutorial for wordpress-like CMS? What would you like to learn/make?
Do you want it to look like WordPress, or be coded like wordpress?
@@ApplicableProgramming I just want to make with php wordpress. My idea is to build portfolio with php, but make it like CMS in wordpress where you could add you portfolio, edit website color, font, size, even create pages, code it on OOP,, build code in good practice, use interface, spacenames and so on. In this way one portfolio would be one big project which will include a lot of elements. Not sure if I was clear.
@@rimantasdanilevicius6754 I think you are clear, and I also think that this very video/series is exactly the tutorial you need :)
I do (party) build a CMS that is similar to wordress in this tutorial. Tutorial is not a 100% final CMS project, but it can get you quite far I believe. Try some of the videos from the series randomly, to see how the CMS is built and what it would look like at the end, but it has pages, admin, editing of pages, and quite a few useful "fancy" concepts explained along the way (like interfaces, spacenames, active record etc etc.
Are you looking to work as a developer somewhere?
@@ApplicableProgramming Thank you for tips, I will definitely check your content. It seams you write code the right way :) What I missing in most tutorials is that where is not enough advance tutorials on how build more flexible code in OOP , how to collaborate with a team. Yes, I looking to work as a developer. At the moment I am trying to understand what technologies should I learn in 2022 and what projects should I build which will help me learn code better in OOP.
@@rimantasdanilevicius6754 Great. I would say look at the ideal company you want to work at, and see (or just ask them) what they are using. It reeeealy depends on where you are, as long as you learn something among the top 10 programming languages, you are pretty much good. You can just try few languages and stacks and see if you like it, or you can see what companies around you are using, or you can just flip the coin :)
After some time you can just change, what is the works that can happen, you will just learn something new?
what the mean of build a cms ?
It is mainly an exercise over principles used
❤❤❤❤
Hey, is OOP covered?
yes there is sir, several oop concepts are explained trough the course
I barely see what you're typing. Increase the font size of your editor sir.
Thanks Scepter, i increased font size in following videos, check them out and let me know if it is any better
@@ApplicableProgramming Yea its better now. Thanks
Good lessons Bro, thanks !!!
Thanks, it is my pleasure!