Farewell

- This course was third in a series of similar…up and running courses exploring PHP frameworks…starting with Codeignitor, then CakePHP,…and finally this one on Symfony2.…Each is distinct and even though the goals were similar,…they're each vastly different.…If you'd like an opportunity to compare and contrast,…check them all out as well.…I hope that you've enjoyed and learned from this course…and got as much satisfaction as I got from writing it…and I sincerely appreciate your time…and thank you for watching.…I'd also like to thank the great production team…at Lynda.com for all their hard work…behind the scenes.…

Please take a moment to give feedback…through the course home page.…It'll help make future courses better…and we'd love to hear from you.…Thanks for watching.…

Resume Transcript Auto-Scroll

Author

Released

8/21/2014

Build PHP applications the modern way with Symfony2, a popular PHP MVC framework. In this course, Jon Peck shows you how to install and configure Symfony and start saving time with typical development tasks, such as directing traffic, creating persistent models, and rendering content with templates. He'll also show you how to define and validate forms and debug your applications. Don't reinvent the wheel; start learning how to use Symfony to get a head start on your PHP projects.

Topics include:

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

2h 4m

Duration

135,572

Views

Show MoreShow Less

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.

Q: I specified the wrong database credentials and got an
"Access denied for user" error from doctrine. How can I fix the
database configuration?

A: The most likely cause is a typo or misconfiguration in the
Symfony parameters file, which you can find at
./symfony/app/config/parameters.yml. This file is typically generated during
installation using an interactive wizard.

Symfony requires read and write access to a MySQL database, and
needs to know how to connect to the database. Therefore, you'll need to specify
a username, password, port (if nonstandard), host, and database name. The
credentials to your individual development environment are likely different
than the ones used in the course; please use your best judgment in determining
the correct values. After making a change, verify the configuration by using a
web browser to navigate to /symfony/web/config.php, then click “Configure your
Symfony Application online” at the bottom of the page.

Skills covered in this course

Course Retiring Soon

Learning Symfony2 for PHP (2014) will be retired from the lynda.com library on May 25th, 2018. Training videos and exercise files will no longer be available, but the course will still appear in your course history and certificates of completion. For updated training, check out Learning Symfony 3 in the lynda.com Online Training Library.

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.