Your video is quite helpful, but I am one of those people having a lot of headaches learning CORE. I'm transitioning from traditional legacy dotnet. In my company, and I am sure most large companies are the same...a dedicated person does the database design and so the code first approach is not really practicable. The same for migrations. What about when a save button has to perform multiple tasks? Such as when a table has a flag column where only one entry can be "official". If an entry is marked official on the UI and save clicked...this works on that table row save, but any other rows marked as official need to have the flag column marked as unofficial. Previously I would have used a stored proc to do this. You could say...redesign that table...move that flag column out and have another table that holds official entries. But as I mentioned in many companies the UI developer has no control over the tables...
@tookay53 ай бұрын
great video, helped me a lot. Would have been good if you also showed how to expand on this with forms that have a dropdown list, select a text value but if saves the ID to database.
@azulvilla1010 ай бұрын
Very good explanation!
@immedinafrank Жыл бұрын
Thanks for the explanation.
@supermous5393 Жыл бұрын
Great and easy explanation i understood everything even that my english is not that good
@WhiteSiroi Жыл бұрын
thank you, very helpful
@hadeelizzat Жыл бұрын
go on 💗💗💗
@James-nf4tm2 жыл бұрын
When or how does the Product parameter in OnPost get passed? Is it from asp.for = "Product.Name" ?
@pietrononame49452 жыл бұрын
Showing off is not teaching.
@honchoyuk2 жыл бұрын
Hi..Can I download sample code?
@hasanmougharbel80302 жыл бұрын
Hey there, god bless your efforts. I am a new sql learner with a simple enquiry. If I add a new attribute (data item) to a database, should i modify the sql backed application, even if I didnt use that attribute. Thanks for taking care of this.
@JBJProgramming2 жыл бұрын
Hello, I am sorry but i'm not sure i completely understand the question? Can you explain it further please, and i will be happy to help you.
@sakethgupta90472 жыл бұрын
i am not able to find my app_local.php file in config wat should i do
@almoh2 жыл бұрын
What is the IDE that you are using?
@vananananava96252 жыл бұрын
Sir, can you create a small project using cakephp 4?
@ukaccess2 жыл бұрын
This is one of the best CakePHP 4 tutorials I have seen online. Other tutorials are just creating code using "cake bake" but you are showing how to create everything manually... it would be great if you create a complete course of CakePHP 4
@krazylokos2 жыл бұрын
Hello, I'm getting an error at the end saying "Call to a member function format() on null" and it highlights "<?=$article->created->format(DATE_RFC850)?>" from my index.php?? I'm using version 4.3.6 so not sure if this is a migration issue or I need to add a helper? please help!
@krazylokos2 жыл бұрын
In case anyone is wondering I did solve it. In my db one of the articles I created had NULL in the created field. You can either make it not null in your db and choose whatever date. Or write this line in index.php <?=$article->created ? $article->created->format(DATE_RFC850) : "No Date Created"?> so that if you have null in your db it will create a no date created.
@davidalejandro11422 жыл бұрын
Awesome <3 you helped me a lot <3
@ahmedtriki72 жыл бұрын
Not clear
@awsomecrossing2 жыл бұрын
Great video. Will you ever be continuing this series? It was such a good "live" tutorial!
@rafaelcalacio15842 жыл бұрын
Great tutorial dude. It helped me a lot....Thanks
@thies813 жыл бұрын
Hey, thank you! can you tell me quickly how I can switch off the E_NOTICE via the errorLevel? I tried it like this in app_local.php without success: 'Error' => [ 'errorLevel' => E_ALL & ~ E_NOTICE & ~ E_USER_NOTICE ], do you have a tip
@Patrick.Sanchez3 жыл бұрын
I am wondering why you chose to name the method 'tags' rather then 'tagged'. Would it not make more sense?
@uncleiroh1623 жыл бұрын
This tutorial series is one of the most coherent I've ever come across. Thank you so much for putting the effort into creating this.
@mikereynolds13683 жыл бұрын
Thanks for not removing the little debug session when your beforeSave wasn't working to create the slug.
@khairulfarihan933 жыл бұрын
How to cook if project file already exist .
@rotioN3 жыл бұрын
I'm using plain JavaScript.
@rotioN3 жыл бұрын
the child is so sweet at 2:22 minutes :D
@ShadowViewsOnly3 жыл бұрын
33:50 So when I tried to implement the Add Article link, why does the opening tag <?php not work, but <?= does? Could u explain it for me pls? XD
@ShadowViewsOnly3 жыл бұрын
For me, cake puts out that "Table class for alias Articles could not be found." while I literally typed everything after what you did. What is the issue here?
@uncleiroh1623 жыл бұрын
I had the same problem. The Solution: at the top of the Model file, you need to declare the namespace. in this example, at the top of the ArticlesTable.php file, above the ' use Cake\ORM\Table;' and below the '<?php' add the line: namespace App\Model\Table;
@skycloud31772 жыл бұрын
@Shadow0013 kzbin.info/www/bejne/gHnSl31nlLucoJI
@ShadowViewsOnly3 жыл бұрын
Okay, when I tried launching the servers with the ordinary MAMP, APACHE instantly stopped running. However, when I started the PRO version (yes I started my trial), everything is working fine. Is this something you encountered maybe?
@ShadowViewsOnly3 жыл бұрын
Now, a rookie question: I presume visual studio and mysql are not good friends, right? Because not many hosting services offer MS SQL.
@ShadowViewsOnly3 жыл бұрын
I really hope in this series you will go into how to actually format the webpages too, because that is the biggest "concern" or lack of knowledge of mine, in terms of cakephp. So, you know, if it was oldschool website design, how to edit CSS files, the cakephp way. I hope that made sense to you too, not just me :D
@ShadowViewsOnly3 жыл бұрын
About the naming convention: So cakephp is a forced english language only? Because if I want to use easy-to-read for me, hungarian names for stuff, I have to type "s" after every word for it to be a collection of data, and not just a singular data piece? So for example, Tables, in hungarian, is Tablak, where Tabla means Table, and the k is the plural suffix in hungarian. For cake to reckognise it, I would have to type "Tablaks" to work?
@JBJProgramming3 жыл бұрын
To be honest i would never write code in any other language than english. You are severely limiting yourself by not doing this. Any code you do not write in English you will never be able to share or get help from other developers from other countries, and the vast majority of countries write their code in English. As to "how" it would actually work in Cake i must admit i have no idea, as i have never thought about doing this.
@ShadowViewsOnly3 жыл бұрын
So hold on. I didnt get the last redirection cascade. You were on the users page, but since you logged out, and the relogged in, you got redirected to a different page (bookmarks) than where you originally were (users). That is, in my use case, a bad thing, and I hate when websites do that shit, because when my session expires, I have to go ALLL the way back where I was. Is that a correct summary, and if it is, how can I prevent this form happening?
@JBJProgramming3 жыл бұрын
You are able to customize where you want the user to go - if you always want them to go to the page they originally tried to access, you could always just store it in the session and simply redirect to that particular page on successful logins :)
@JBJProgramming3 жыл бұрын
Sorry about the microphone quality, i had to use my laptops built-in - it is greatly improved in part 2-3 of the series. Please stick with me xD
@MizanurRahman-dd5mq3 жыл бұрын
Your contents are absolute gold. Thank you for uploading
@khairulfarihan933 жыл бұрын
May i know where to get app that u use to write the coding??😣😣
@MarcoNedermeijer3 жыл бұрын
Great tutorial series on CakePHP. please do a #5 ! I cannot wait.
@JBJProgramming3 жыл бұрын
i am currently finishing up a .Net course, and after that I will make part 5 of the CakePHP course ;)
@EstevaoGSR3 жыл бұрын
@@JBJProgramming I look forward to it.
@ShadowViewsOnly3 жыл бұрын
@@JBJProgramming Yeah im looking forward to it too, cuz you ended the 3.x series here as well. And let's just say that was a very abrupt stop to that too. :)
@johngacayan37343 жыл бұрын
Login tutorial please :-)
@JBJProgramming3 жыл бұрын
Thats a good idea, I might just do that ;)
@johngacayan37343 жыл бұрын
Thank you very much . I cant find any tutorial about cakephp . Very underrated MVC Framework .
@AdrianHernandez-st1vs3 жыл бұрын
CSS is not loading, any suggestion?
@JBJProgramming3 жыл бұрын
try to clear you cache, and verify your files are where you expect them on your file system. Check your layout file to see the filepath corresponds to what you expect.
@AdrianHernandez-st1vs3 жыл бұрын
@@JBJProgramming It is a new fresh cake installation, but I still trying to find the correct solution, meanwhile I have linked the CSS & scripts manually like any other site!
@AdrianHernandez-st1vs3 жыл бұрын
@@JBJProgramming After a review it was due to a V-HOST misconfigured, I just add this portion to my v-host and it worked <Directory C:/your_file/root/etc>. Require all granted Options FollowSymLinks AllowOverride All </Directory>
@simearsov3 жыл бұрын
Thanks, you saved me a lot of time and research. Now, I can just jump into any CakePHP book and start coding, without having to worry about If the book explains how to connect to a database or If the book is too old.
@domxon3 жыл бұрын
@Sime Arsov kzbin.info/www/bejne/bWWZqXWEaKumb80
@bhupenderrawat21873 жыл бұрын
Make more videos
@DucMinhTeaching3 жыл бұрын
Table class for alias Articles could not be found. Cake\ORM\Exception\MissingTableClassException I have this error. could you please take a look?
@DucMinhTeaching3 жыл бұрын
@@JBJProgramming Sorry, I mean namespace App\Model\Table; is missing in your tutorial.
@nemanjastojanovic74973 жыл бұрын
Hi, in the 19:40 min of your course, when you click on the save article button, you get an error saying that the slug is not null value. In my case it let me save the article without any error. When I look at my DB, it is saved without slug value in, even if the slug is not nullable. How it is possible?
@JBJProgramming3 жыл бұрын
in your DB, that particular row must have a default value set to "" (meaning an empty string) - that must be the only reason. The error i am getting is strictly related to how my DB is set up and nothing with Cake itself. So your row must have a default value it uses :) probably just an empty string.
can you make a quick video about how to connect to cloud service like aws? Thank you
@JBJProgramming3 жыл бұрын
sorry, I don't have enough experience in this subject
@DucMinhTeaching3 жыл бұрын
thank you
@DucMinhTeaching3 жыл бұрын
Hi, I have this error but I cannot find the composer.json Root composer.json requires cakephp/cakephp ~4.1 -> satisfiable by cakephp/cakephp[4.1.0, ..., 4.2.3]. Thank you
@domxon3 жыл бұрын
Hi. Sir can explain more abour i81n in cakephp 4.1 with example and what is po file and .pot file.. how to internationlization localization in cakephp and how to create .po .pot files