Build PHP applications the modern way with Symfony2, a popular PHP MVC framework.
- [Voiceover] Hi, I'm Jon Peck and welcome to Up and Running with Symfony2. In this course, we'll look at Symfony, an open source PHP framework for web development. I'll start by describing what Symfony is and why it's useful, then demonstrate how to install and configure the framework. We'll direct traffic through the application, create models that persist in the database, render content with templates and explore how to create and validate forms. Finally, we'll discover ways to debug the application and work with the console tools. Throughout the course, we'll create a magazine catalog web application for managing a collection of back issues.
We'll cover all these features plus plenty of other tools and techniques that a modern developer can use to quickly build PHP applications without having to constantly reinvent the wheel. Now, let's get up and running with Symfony2.
- Installing Symfony
- Creating a bundle from the console
- Customizing and generating database tables
- Generating controllers
- Creating, editing, and debugging entities
- Displaying and debugging a form
- Rendering content with templates
Skill Level Intermediate
Q: When trying to access the application, I receive an error stating "This script is only accessible from localhost." How can I get around this restriction?
A: The development front controller and configuration scripts are protected by default to only allow access from the localhost. Refer to the video titled “Exploring the Symfony layout” to see how to disable this security.