Archived video

This video is archived and won't be updated. We're keeping it online for now as a courtesy.

Alternate resources: 

Welcome to Symfony

Video loading...

  • 0:14
    Starting in Symfony2 Welcome to Symfony
  • 0:23
    with Leanna Pelham
  • 0:26
    PHP has been on a wild ride over the past few years,
  • 0:30
    with new things like namespaces, our package manager,
  • 0:33
    called Composer, and a whole lot more
  • 0:35
    sharing and friendship between projects.
  • 0:38
    And in a lot of ways, Symfony has been in the driver's seat
  • 0:40
    for all of that.
  • 0:41
    So, congrats on making it here.
  • 0:44
    You're on a path to building great applications.
  • 0:47
    Let's look at some facts.
  • 0:49
    Symfony is a component library.
  • 0:52
    This means that you can use any part of it in any PHP project.
  • 0:57
    Even that ugly legacy app they make you work on.
  • 1:00
    We could use Symfony's router component to give it flexible URLs.
  • 1:05
    Oh, and a lot of other projects use parts of Symfony,
  • 1:07
    like Drupal and Laravel.
  • 1:10
    Symony is also a framework.
  • 1:12
    And because we don't have time to worry about putting
  • 1:15
    a bunch of libraries together, we have the Symfony Framework.
  • 1:18
    This is a suggestion on how everything
  • 1:21
    can work together in a consistent system.
  • 1:24
    As you may have guessed by the title,
  • 1:25
    we'll be using the Symfony Framework here.
  • 1:28
    Silex is another framework built on Symfony,
  • 1:31
    and its goal is to be tiny and really easy to use.
  • 1:35
    I know what you're wondering.
  • 1:36
    Should I use the Symfony Framework or the Silex guy?
  • 1:39
    Use them both, because they both use the same pieces.
  • 1:43
    When you're done with this course, you'll
  • 1:45
    be a certifiable Silex expert.
  • 1:49
    Symfony plays nice with others.
  • 1:52
  • 1:52
    Symfony tries to be as boring as possible,
  • 1:55
    by following widely-used standards.
  • 1:57
    This makes it effortless to include and use
  • 1:59
    other libraries in your projects.
  • 2:02
    Want to use a component of Zend Framework?
  • 2:04
    We can do that with just a little bit of configuration.
  • 2:08
    Symfony is one of the top three most-watched PHP projects
  • 2:12
    on GitHub, which means you won't be lonely.
  • 2:15
    There's a lot of us out there working with it.
  • 2:18
    In this course, we're going to kick off your journey
  • 2:20
    by building an events application.
  • 2:23
    To sweeten the deal, you'll also be mastering the most important
  • 2:25
    concepts used across all frameworks and web apps in general.
  • 2:29
    Because Symfony steals from-- I mean,
  • 2:32
    builds off of the shoulders of other giants.
  • 2:36
    So even if you don't want to, when you're building something
  • 2:38
    in Symphony you'll be learning best practices
  • 2:41
    and probably becoming a better developer.
  • 2:43
    You've been warned.
  • 2:45
    In this course, we've got some big goals.
  • 2:48
    Start a new project using Symfony2.
  • 2:50
    Explore the core areas like routing, controllers,
  • 2:54
    requests/responses, and templating.
  • 2:56
    Get comfortable with a few new tricks,
  • 2:58
    like using Doctrine for dealing with the database and code generation
  • 3:02
  • 3:03
    And of course, the main reason you're here--
  • 3:05
    learn enough best practices and tips to impress your friends at a party.
  • 3:09
  • 3:10
    Let's go.
Loading ...

Welcome to Symfony

In this course, we’re going to kick off your Symfony journey by building an events application. To sweeten the deal, you’ll also be mastering the most important concepts used across all frameworks and web apps in general, because Symfony builds on the shoulders of other giants. Through building with Symfony, you’ll also be learning general programming best practices. Through these tutorials, you will start a new project using Symfony 2, and explore the core areas, like routing, controllers, requests, responses and templating, along with a few additional tools like Doctrine. This first lesson gives a quick overview of what Symfony is and why you would use it.

If you'd like to learn Symfony 2 beyond what this introductory series offers, you should head over to KnpUniversity and check out their full catalog of Symfony 2 tutorials.

Log in or sign up to download companion files.
Additional resources: