Intro to Symfony 3

- [Instructor] The Symfony has long been one of the morepopular PSP frameworks out there and for good reason.They have a solid code base community and docks.The framework itself has a lot to offer.It's flexible.It uses a decent and modular architecture.It has a really deep toolboxand some nice, rapid, application development features.Another nice thing about Symfony is it's nottoo overwhelming to get started and dive right into.So, kind of like Zend,Symfony is also backed by a company.This is a French company call SensioLabs.

They provide training and support.It has the MIT license.It's currently on version three point two.So previous versions of Symfony were mostly full-stack.However, with version two they opened things up a bitand for the most part,changes to three and beyond have been refinements,updates, implementing PSR support and they haven'treally changed it a whole lot.So, it's very modular and the framework itselfis pretty easy to get started in.

So, the framework itself is really a couple of things.One is a set of decoupled componentsthat you can use in any PHP application.And the other is, the full-stack framework.So it's kind of a two part deal.So, the components themselves,you'll see are reused in a lot of different places.Drupal uses some of their components.PHPBB which is a bulletin board system does.And Laravel which is another framework we're goingto look at later in this course,also uses a number of these different elements.

So, Symfony embraced a lot of different patterns from Java.It's older framework.The code base is well tested which is whyother frameworks can rely on the classes from within it.It's easy to integrate with other PHP code.It also has a lot of different elementsinside the environment.Right?So we have CMF which is a content management framework.So that's a skeleton that uses Symfonythat you can use to install a whole content management applike a blog, or an online paper, or whatever you want to do.

In addition, there's Twig.So Twig is another element within this ecosystem.It's a template parser.So Symfony has its own templates using Twig.There's a swift mailer program,again reused in a lot of different placesthat just helps.It sort of builds on to PHP's email system.So there's also Silex and then there area number of different bundles that out therethat anyone can use.So overall,Symfony has consistently been in thelist of popular PHP frameworks.

It excels because its components are super portableand the full stack provides a lot of power,as well as flexibility.So next, let's take a look at some of the conceptsin Symfony 3 and see how specifically it works.

Resume Transcript Auto-Scroll

Author

Released

2/9/2017

PHP developers have a choice: they can design their own architecture or they can use a framework. Frameworks speed up development, enhance collaboration, and help keep code organized. In this course, Drew Falkman introduces the six most popular Model-View-Controller frameworks: Zend, Symfony, CodeIgniter, CakePHP, Yii, and Laravel. Drew describes the advantages of each framework and shows how to get and install the software. Then, he demonstrates how to get the default pages for each framework up and running, so you can see how the code is structured. In the final chapter, Drew compares all the frameworks and provides resources to move forward with each one. Since your choice of framework affects the success of your project, this course is designed to provide the information you need to make the right decision.