@Vui Programmer Let me start first the reason with the reason most of developers tend to use linux, First it makes you look smart lol (jk) but the real reason is it's fast, it gives the user incredible control and it's very customizable, and it's the closest thing to a production server, because as you know most people tend to host their websites and web applications on linux servers. I would say linux is pretty easy to use (talking about the basics) you jsut have to get used to it for a while and get the hang of some important commands, i would highly suggest that you try it sometimes in a virtual machine if you don't want to make an entire partition for it. Hopefully that answered you question :)
Can you go a step further and explain how Collections work in detail - For example Creating a Form adding 'steps', which is a CollectionType and handling it in Twig via form_theme like _self and so on?
@@OverSeasMedia What if you mistakely click add button which will display form, now you want to return back without doing anything, how you will return back without hitting back button on browser
Hey dude I'm sorry i totally forgot to get back to you on this, To be honest mate i never actually had to do that in a symfony app, i know laravel has something like this by default which makes me assume taht symfony has the same thing too, but i guess i'll just have to look it up, i remember once that i did something similar to this but it t was in a SPA and i just used javascript to handle this. I'll see if i can find anything related to this, this is actually a pretty good question.
Okay so i've done some really quick research about this and by the llok of it i don't think symfony has anything built in to help achieve this, but it seems like we could use the request to our advantage here, here's what seems like a solution (I HAVE NOT TRIED ANY OF THESE YET SO DO NOT TAKE MY WORD ON IT), in the request headers we have the referer value which means where we got here from and this is usually after performing some action or accessing a route, so i guess we can take that value and put it in a redirect response and return that, which might or might not work, but in you case it's quite different because you want to have that in a button beside the form (if I'm not mistaken) which means we need some way to have that URL directly accessible in on the button, which is not hard but have you considered the case where you access the page directly from the bookmarks for example, after clicking the button you will be taken back to either an empty tab (if you opened a new tab) , or in case you just opened the form URL from another page it will take somewhere else, not sure where maybe it's just going to close the tab and take you back to the page where you originally opened the URL. Let me know what you think about these thoughts and if you can explain the entire flow that you're trying to achieve i might be able to help you more with this :) Cheers bro and sorry for taking like 3 days to respond to this .
Hello mate . I'm sorry for a late response just sat down to answer questions, if you're till having problems with something let me know man . Cheers and good luck :)
5:20 ....just too much code to create a form class bound to an entity..in django you can do that with less than half the lines that need to be written here in symfony...
Thanks a lot for your videos! A lot easier to understand, than symfony docs
You're welcome mate :)
Best tutorial on symfony. Thank you.
Bro that was super well done, very clear quick and concise perfect thanks mate !
Hello. First of all thank you very much for this series. I got a question for you. What is your operating system?
It is Linux ubuntu with flatbulous theme :)
@Vui Programmer Let me start first the reason with the reason most of developers tend to use linux, First it makes you look smart lol (jk) but the real reason is it's fast, it gives the user incredible control and it's very customizable, and it's the closest thing to a production server, because as you know most people tend to host their websites and web applications on linux servers.
I would say linux is pretty easy to use (talking about the basics) you jsut have to get used to it for a while and get the hang of some important commands, i would highly suggest that you try it sometimes in a virtual machine if you don't want to make an entire partition for it.
Hopefully that answered you question :)
Can you go a step further and explain how Collections work in detail - For example Creating a Form adding 'steps', which is a CollectionType and handling it in Twig via form_theme like _self and so on?
How do you set up the form type and controller to handle datetime types ("2021-06-26 12:15:00")?
thank you
very good!
How to add cancel button? If a user wants to return back without doing anything how we can return back?
Hello there mate ,
What do you mean by return back ? You mean like reset the form and clear all the fields ?
@@OverSeasMedia What if you mistakely click add button which will display form, now you want to return back without doing anything, how you will return back without hitting back button on browser
Did u understand my reply
Hey dude I'm sorry i totally forgot to get back to you on this, To be honest mate i never actually had to do that in a symfony app, i know laravel has something like this by default which makes me assume taht symfony has the same thing too, but i guess i'll just have to look it up, i remember once that i did something similar to this but it t was in a SPA and i just used javascript to handle this.
I'll see if i can find anything related to this, this is actually a pretty good question.
Okay so i've done some really quick research about this and by the llok of it i don't think symfony has anything built in to help achieve this, but it seems like we could use the request to our advantage here, here's what seems like a solution (I HAVE NOT TRIED ANY OF THESE YET SO DO NOT TAKE MY WORD ON IT), in the request headers we have the referer value which means where we got here from and this is usually after performing some action or accessing a route, so i guess we can take that value and put it in a redirect response and return that, which might or might not work, but in you case it's quite different because you want to have that in a button beside the form (if I'm not mistaken) which means we need some way to have that URL directly accessible in on the button, which is not hard but have you considered the case where you access the page directly from the bookmarks for example, after clicking the button you will be taken back to either an empty tab (if you opened a new tab) , or in case you just opened the form URL from another page it will take somewhere else, not sure where maybe it's just going to close the tab and take you back to the page where you originally opened the URL.
Let me know what you think about these thoughts and if you can explain the entire flow that you're trying to achieve i might be able to help you more with this :)
Cheers bro and sorry for taking like 3 days to respond to this .
How i put inline block?
Hello mate .
I'm sorry for a late response just sat down to answer questions, if you're till having problems with something let me know man .
Cheers and good luck :)
i dont have the post.php file in enitity
You can crate it if you want to , or if you're creating a form without an entity let me know so I can provide you with an example
@@OverSeasMedia Got it allready from a friend but thank you anyway :)
Alright that is great .ate good job, and hey if you ever need further help feel free to send me an email .
Cheers mate :)
@@OverSeasMedia I will, I see some interesting stuff on your channel so I will definitely come back on some of your vids
Oh man thank.you for that :)
Did you forget a "use" statement for another namespace?
Someone know this error? can give help?
What is the exact error you're getting?
5:20 ....just too much code to create a form class bound to an entity..in django you can do that with less than half the lines that need to be written here in symfony...