Twig in Symfony | Symfony 6 for Beginners | Learn Symfony 6 from Scratch | Learn Symfony

  Рет қаралды 17,192

Code With Dary

Code With Dary

Күн бұрын

Пікірлер: 29
@Realswagoverlord
@Realswagoverlord 2 ай бұрын
You are criminally under rated. This guy is a chad.
@ДмитрийЗадорожный-ы1и
@ДмитрийЗадорожный-ы1и 3 жыл бұрын
Dary, I started learning Symfony with you, don't stop, please. Waitning new course videos. Thank you.
@codewithdary
@codewithdary 3 жыл бұрын
I got you! Let's go through this journey together :)
@scriptKiddieOG
@scriptKiddieOG 3 жыл бұрын
Much appreciated, really fun course! Looking forward to more content 😎
@codewithdary
@codewithdary 3 жыл бұрын
Awesome, thank you!
@YotoYoto-wq4de
@YotoYoto-wq4de Жыл бұрын
cool, easily understandable coding explanation, thank you for the videos
@codewithdary
@codewithdary Жыл бұрын
Thank you so much :)
@martib.k.4781
@martib.k.4781 3 жыл бұрын
Very well explained, thank you very much 😀
@codewithdary
@codewithdary 3 жыл бұрын
Thank you Marti!
@Rawnaf-adiba
@Rawnaf-adiba Жыл бұрын
Thanks sir
@codewithdary
@codewithdary Жыл бұрын
You are welcome!
@ummehanyarozshandaanny2846
@ummehanyarozshandaanny2846 2 жыл бұрын
It's really helpful But I want to add another point in twig for absolute beginners. and that is twig include. as we extends base.html.twig. like that for using a snippet in another template we can use {% include 'snippet.html.twig' %} thought to share this. Keep going Dary. I am following this course. thanks
@codewithdary
@codewithdary 2 жыл бұрын
Thanks for sharing Umme! :)
@ummehanyarozshandaanny2846
@ummehanyarozshandaanny2846 2 жыл бұрын
@@codewithdary all pleasure is mine Thanks for the course
@melvinreano1221
@melvinreano1221 Жыл бұрын
how do u add html syntax inside in twig file.? like h1?
@codewithdary
@codewithdary Жыл бұрын
The right VS code extensions!
@melvinreano1221
@melvinreano1221 Жыл бұрын
i wish u can create a full course of symfony in udemy... thank you sir
@michimarz
@michimarz Жыл бұрын
Better than RubyOnRails. I like it. And the most important point is that you can host the app cheaply almost anywhere.
@srahulpatelyt8074
@srahulpatelyt8074 Жыл бұрын
use the following command if get error in global variables:: php bin/console config:dump-reference twig
@codewithdary
@codewithdary Жыл бұрын
This command generates a dump of all the available configuration options for the TwigBundle in YAML format. This is useful for understanding the available configuration options and their default values.
@skeletonrowdie1768
@skeletonrowdie1768 2 жыл бұрын
movie in movies feels more intuitive that movies as movie. I dunno, just a language thing I guess.
@codewithdary
@codewithdary 2 жыл бұрын
It does, and I never get used to it.. haha
@codewithdary
@codewithdary 3 жыл бұрын
Want to learn more about me? Let’s connect through Instagram. www.Instagram.com/codewithdary
@TheBelrick
@TheBelrick Жыл бұрын
What on earth does twig language add that php itself cannot do? Its just as verbose as Cool stuff here and use php includes to bring in reusable templates. No extra language to learn! What on earth are people thinking? That humans can have millions of languages with no cost to ourselves?
@codewithdary
@codewithdary Жыл бұрын
Well I can name a couple for you. Twig provides automatic escaping of output to prevent cross-site scripting (XSS) attacks and other security vulnerabilities. Twig's syntax is designed to be more concise and readable than PHP, making it easier to write and maintain templates. Twig provides built-in caching of compiled templates, which can improve performance and reduce server load. Twig can be extended with custom filters, functions, and tags, making it easy to add custom functionality to your templates. By separating the template logic from the application logic, Twig makes it easier to maintain and update your code Do you want me to continue on?
@TheBelrick
@TheBelrick Жыл бұрын
@@codewithdary So far so bad, all this for the high high price of learning a language that php can do itself. What have you said that php cannot do?
@TheBelrick
@TheBelrick Жыл бұрын
@@codewithdary Thinking on what you wrote, its not the purpose of the view to handle those so called boons. it breaks sound mvc pattern and php can do it all properly. Your kind outsourced your coding as you outsourced your thinking.
@Mespifo
@Mespifo Жыл бұрын
​@@TheBelrick if you don't like using Twig, then just don't use it. People invent a lot of new stuff which to some seem meaningless and redundant, while to others seem cool and useful. To each their own.
@TheBelrick
@TheBelrick Жыл бұрын
@@Mespifo pointing out that twig is stupid is separate to using it or not... don't try and force equate the two, its dishonest.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Battle: Laravel vs Symfony vs CodeIgniter | You won't believe who wins! | Jelvix
5:11
Jelvix | TECH IN 5 MINUTES
Рет қаралды 19 М.
Up & Running With Symfony 4 - Part 1: Setup, Controllers, Twig
32:48
Traversy Media
Рет қаралды 192 М.
Is PHP the Secret King of Code?
6:42
Stefan Mischook
Рет қаралды 57 М.
Japanese web design: weird, but it works. Here's why
11:49
Phoebe Yu
Рет қаралды 683 М.
Best of CES 2025
14:50
The Verge
Рет қаралды 623 М.