Symfony tutorial: Embed a Collection of Forms

preview_player
Показать описание
WATCH THE VIDEO AT A HIGHER SPEED ITS MUCH BETTER.

Okay In this symfony 3 tutorial i went through how you can embed a collection of forms, which simply means including a form within a form if that makes any sense to you, and here's what this video covers basically:

- Configuring your symfony application to use sqlite instead of mysql.
- Using bootstrap as a theme for Twig templating engine.
- Creating entities and relationships in Doctrine 2.
- Creating forms that the user can interact with.
- Javascript and jQuery which help us generate and remove forms dynamically.

There was a lot of editing on this video because debugging was taking so much time and i didn't want to make the video any longer.

Timestamps:
- Demo and setting up the app and stuff
- JS part starts at: 33:36
- Database persistence starts at:01:09:18
- Back to the JS starts at: 01:15:20

Github project:
Рекомендации по теме
Комментарии
Автор

This video was very useful for my studies with Symfony embedded forms.

No need to apologize for the duration of the video.
The Symfony documentation on the subject does not provide many details. You amplified this documentation, which helped me clarify several points, especially regarding the use of jQuery.
It takes a lot of confidence to run a tutorial like this and fix the bugs as they appear. You gave a perfect live demonstration of what happens in the everyday life of a true developer. Congratulations.
I hope you continue to perfect your skills. Never stop sharing your knowledge with the community, since you have a gift for it. Thank you very much!

jedugomes
Автор

I've been struggling with my project for days and this video was very helpful, thank you so much !

soukainamabchour
Автор

Thanks for the video, was trying to make sense of this and your video really helped. Very good details in all your explanations.

chrisalmond
Автор

just found tihs video and you were an amazing help. I had to struggle with the entities and setters but in the end figured it out. You deserve a thumps up and subscription

kainguyen
Автор

Thanks for the great video! Keep up the good work!

vitaliykirichenkoit
Автор

Thank you for this vide, it was really helpful for me even it is too long

zeinebarfaoui
Автор

Very nice tutorial !!! proud being from the same country as this guy ;-)

redazaza
Автор

Great video. Can you explain how install database and project for beginners ?, thank you

raulcejas
Автор

i am creating a music database app
song entity and artist entity have many tot many relationship
when i add song i have embedded artist form and used cascade persist to automatically insert new artist in artist table and add a song_artist mapping
but when i want to insert new song with same artist name then it inserts the artist with the same name in new row and creates a new mapping in song_artist table.
what i want is that when i add a song existing artist then it should not insert new row in artist table but add new row in song_artist mapping table with new song and existing artist.please anyone help me . i am using symfony 4.2

jaspreetmaan
Автор

Hey man very great video i followed all the steps but i always get this error when i submit "Expected argument of type "App\Entity\Formule", "array" given at property path "formules"."

matt
Автор

Sir, i want to insert multiple experiences for new entry. How it possible, please help me.

malayroy
Автор

hello i have an existing symfony project when i try to run it it gave this error

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?

Please Help !

oumaimabenjouida
Автор

Sir please upload video for multiple uploading in sonata admin panel using sonata media bundle

khushalberwa
Автор

Thanks for another helpful video. I don't mind learning from your small mistakes :-) Now I just have to transfer this to many to many relations with additional data in the join table. Did you already do a video about that? Cheers

larsstecken
Автор

the new symfony is 4 is it possible to use a login form with it ?

Jimi-bxxf
Автор

Merci ! ce tutoriel m'ayant bien aidé :)

Gones
Автор

thank you very much, can you tell me what linux distribution are you using, and which interface is that, I suscribe.

LowRider
Автор

Thank you for this video!


I have been working on some student project and everything goes well after seeing this video. But when I code this: e('html_attr') after the data-prototype my form won't be displayed in my template. Is there a solution for this? Or perhaps some tip?

anneleenpeeters
Автор

I download you repository but i don't how to run into in my local system. Iam using xampp server in my local can you help me ?

ravichandra
Автор

Sir make videos about Symfony 3.4 from Scratch. Its Tough to understand the Docs

hilalfarooq