Join Jon Peck for an in-depth discussion in this video Creating your first bundle with the Console, part of Learning Symfony2 for PHP.
Bundles are organized with PHP namespaces…using the PHP autoloading standard, PSR-0…so Symfony knows how to access the contents…without using require or include statements.…If you're not familiar with this standard,…I recommend checking out php dash fig dot org.…Each bundle name must begin with a vendor segment…followed by an optional category segment,…a namespace short name that has semantic meaning…
- 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.