A simple application made with Symfony is presented to solve a client's issue. In this case, Landon Hotel hired you to solve their booking issues. Review its controllers, views, architecture, and approach to solve different issues. Also, see what can be improved and how by considering how you could make this internal application public to enable customers to book a room on their own, get charged and invoiced, and leave a review of the whole experience.
- [Narrator] To wrap things up, let's take a look…at our completed Landon Hotel application…and the steps we would take to deploy it.…Let's assume a scenario in which we're setting up…our new application on the Landon Hotel's…internal local network.…As part of this setup, we'll be using a different database…that contains the hotel rooms…and a list of their existing clients.…This database does not contain…any of the existing reservations,…we will only be adding new reservations…after we deploy our application.…
So the first thing we need to do is import the database…which is contained on the resources folder,…we'll be doing so by connecting to our database,…mysql -u root, this may change on your environment,…password in my case is root and let's create…a new database called landon, with the command…create database, so let's run the command…create database landon;…And if we see our created databases with…show databases; we now have a landon database.…
Let's exit, show our files again…and now let's import our database with…
- 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?
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.