Join Bernardo Pineda for an in-depth discussion in this video Work with relational data, part of Learning Symfony 3.
- [Instructor] Now that we've handled data from one table,…in this case, Clients, let's work with relational data.…Let's open the exercise files.…Chapter four,…0408, start.…Let's drag it.…So behind the scenes, I've gone ahead and prepared…our booking engine.…I've processed the dates form to get our available rooms.…Don't worry, I've done nothing new…that we haven't done so already with the forms and routes.…Let's also add rooms to our database.…
So let's go back to our files.…Let's go to our resources folder.…And let's drag rooms.…And let's copy these queries.…Let's go to the database, and just paste 'em out.…Let's select to confirm, select star from room.…And we've just added room 101, 102, 201, and 202.…Now let's open our room repository.…It's on source, this goes down,…AppBundle,…Repository, RoomRepository.…
Our repository class is sort of like a model,…but instead of having the representation of the table,…repositories are for custom methods.…I've created a custom method called getAvailableRooms.…And it receives a start and final date,…
- Installing Symfony
- Setting up the local environment
- Exploring the Symfony file structure
- Creating routes
- Sending parameters to a controller
- Using views
- Updating routes
- Creating templates with Twig
- Data modeling with Symfony
- Demo application deployment
Skill Level Intermediate
PHP: Clean URLs on Apache Serverwith David Powers1h 36m Intermediate
PHP: Managing Persistent Sessionswith David Powers2h 41m Intermediate
1. Get Started with Symfony
Install Symfony1m 33s
2. Controllers in Symfony
3. Views in Symfony
4. Data Modeling with Symfony
5. Taking Symfony Further
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.