Take a look at how to structure the database.
- [Instructor] Now we're ready to create the database…structure for our client model.…So let's connect to our database to verify…that new objects have been created yet.…We're going to use a command use symfony3.…That is to change to that database.…So now let's use the command show tables…and as we can see no tables have been created as of yet.…So now let's tell symfony to create our database tables.…So go to the other tab and type the command php bin slash…console doctrine colon schema colon update minus minus force…and we type enter when we need to clear our cache with…php bin console cache clear and let's type it again.…
And there we have it we have one cleared executed…which means that we created one table.…Let's verify that with the same command,…show tables, describe client.…Let's go back to our other tab, and let's type…php bin slash console doctrine colon generate colon entity.…And now we're going to generate the entity for rooms.…
A-P-P bundle colon room, Y-M-L.…
And let's run again the command to create the table.…
- 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.