Комментарии:
Guys, what else do you want to learn from me? Comment down below and let me know so I create more tutorials for you.
ОтветитьОтличное видео! Спасибо. А можно ли вынести логику из контроллеров в сервисы? и можно в сервисе использовать функции из AbstractApiController?
ОтветитьThanks for the video. For the ones will build a form with a PUT request, should pass method PUT as follows:
$form = $this->buildForm(ProductType::class, $user, [
"method" => "PUT"
]);
Thanks you so much for best tutorial
ОтветитьImho rating this video greatly depends on what are your expectations.
If you're a beginner and would like to know how to create a CRUD API from scratch in Symfony and really understand what's going on, this is not a place for you. Almost nothing is explained, author works very fast and to newbies it's very difficult to comprehend what's going on.
But if you consider this vid as a step by step instruction how to make CRUD API, then I guess it suits your needs, but you have to have a solid background in Symfony.
I must say I belong to the former group, so after 10 minutes of watching I decided to look for some other tutorial :) But I hope someone finds it useful :)
In your video coding looking so small can you zoom it
ОтветитьSir ভিডিও টা পছন্দ হয়েছে এরকম ভিডিও আরো বানাবেন
ОтветитьThis is unique, thanks for sharing this tutorial. This is so simply way to learn.!
ОтветитьNice 🧡
Ответитьgood video
ОтветитьThank you so much for this tutorial 👍🏻
Ответитьi rally njoyd watching this vidos. i want more videos lik this
Ответитьgood video
Ответитьnice
ОтветитьNice tutorial video
ОтветитьNice video
ОтветитьRespectfully, Your tutorial is for sure not for the beginners the reason you're not explaining why you are creating any piece of code, what's the reason of creating your abstract class and how it's all connected. Thank you
ОтветитьHey! Thank you very much for this tutorial.
ОтветитьI don't understand that.
ОтветитьLike it
ОтветитьJimtnee
ОтветитьP
ОтветитьHello, How created options / header / put response?
ОтветитьIn the video, we use Postman for api testing. How to download and send data in the page controller to display data on the page (return $ this-> render ('posts / products.html.twig)? How to send json query to api and retrieve data? Have a nice day!
ОтветитьГде звуковую дорожку сменить :D Я еще не готов к английскому переходить :D
ОтветитьNic
ОтветитьOn Form validation error it should return status code 422 instead of 400, since your app recognized the request data and its structure.
Ответитьhi, ever when I use fosbundle it still get a "not valid form" in response
Ответитьyour amazing thank you so much I learned a lot from you. please add videos like that and also we wish if you can create a Symfony project from scratch so we can learn more from you.
Ответить"error": "access_denied",
"error_description": "OAuth2 authentication required"
there's an error in AbstractApiController:
The option "csrf_protection" does not exist.
UPDATE: I've managed to solve it by passing this argument to "setDefaults" in Type file:
$resolver->setDefaults([
'data_class' => Cart::class,
'csrf_protection' => false,
]);
I get this error when trying to add products to cart
An exception occurred while executing 'INSERT INTO app_cart (customer, product) VALUES (?, ?)' with params [{}, {}]:\n\nWarning: Object of class App\\Entity\\customer could not be converted to int
I love watching your videos!
Can I ask something?
Hi, nice video. Everything was ok until I install friendsofsymfony: now this error appears "Argument 1 passed to Doctrine\ORM\Mapping\Index::__construct() must be of the type array or null, string given, called in /home/jluishg/progra/symfony/scgadm/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php on line 971" Can you help me?
ОтветитьHi there I have a question...
Did you have problems while sending an empty JSON body on a PUT/PATCH request? Since it's an empty request the form->isSubmited returns false but I'm not getting any validation errors returned since an object is fetched from the database first and is passed to the form as a parameter
which IDE is that?
ОтветитьNice Tutorial! How to create an new Product with the same request that creates an new Card? Using a valid json instead of the id
Ответитьthis guy have skills
Ответитьbut why is your github repository without controllers
ОтветитьThank you for your tutorial. but for the beginners, few things missings
1. Symfony installations
2. Database Connection
3. Its contain lot of copy-paste, if you write code then it is good for beginners
Thanks :)
Классный туториал, но были моменты о которых ты не упомянул, так как возможно для тебя они очевидны, но для меня перейдя с другого фреймворка это было неожиданным, и реально часа два гуглила как решить проблему. Но вообще лучший из всех что видела!
ОтветитьDude has skills.
Ответитьу вас в репозитории в src лежат пустые папки
ОтветитьWhy not generate entity class from command line?
ОтветитьWhy not use api-platform than fos-rest-api?
ОтветитьThe thing that I'm missing in your tutorial is some simple pagination service(library/own solution) it's quite crucial to paginate your GET response, also POST should return status code 201 not 200 other than that pretty good stuff for begginers :)
ОтветитьHello thanks for this video but i wanna know why you used "AbstractApiController". that difcult no ???
ОтветитьYou create and execute migration, but you don't say anything about connecting to DB
Ответить