Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

Symfony Framework 6: Getting Started

Posted By: ELK1nG
Symfony Framework 6: Getting Started

Symfony Framework 6: Getting Started
Published 11/2023
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 7.24 GB | Duration: 14h 43m

Learn all you need to know to start using Symfony for building your projects. Hands-on practice tutorial included!

What you'll learn

Symfony Framework 6 main concepts: routing, controllers, twig, Doctrine, forms, validation.

Create websites, REST APIs and CLI commands using Symfony 6.

Follow multiple hands-on tutorials to create a Weather Forecast Website & API.

Use the modern PHP 8 strict types.

Requirements

No framework experience needed. You will need to know some PHP though.

Description

Would you like to be able to create a basic blog in under 10 minutes? If so, then this course is for you!Symfony is an amazing modern PHP framework. Modern, but not new. It has been there since 2005, so majority of its childhood problems have been solved long ago. During my career I’ve worked on projects build in Laravel, Cake, CodeIgniter, Next.js, Spring and many more frameworks in various languages. But Symfony is the framework of my choice.In this beginners / intermediate course, I am going to show you how to get started with Symfony Framework. I assume you have no prior experience with Symfony, but some knowledge of PHP is required. This course is also kept updated to the most cutting-edge Symfony versions, so even if you are an advanced developer - I believe you will find something for you here too!This is a hands-on course, so not only will I show you the most fundamental concepts of Symfony, but also we will work on a real-world app. We will build a weather forecast system. First as a monolithic website, and then as a backend API, which can be consumed by React, Vue or Vanilla JS apps.Why to purchase this course? While the documentation on Symfony website will show you all possibilities that the framework offers, in this course I am going to point you to the ways which actually work best. However, I would also like you to get your own opinion on this and other frameworks, so close to the end of the course, I’m going to show you how to achieve similar effects using Laravel and Next.js.Symfony keeps evolving, and so does this course. When something changes in Symfony, I’m going to create new videos and replace relevant parts of the course. So enroll once and learn continuously.Currently supported version: 6.3.

Overview

Section 1: Course Overview

Lecture 1 Version check

Lecture 2 Course Overview

Lecture 3 Demo of the Weather Forecast System

Lecture 4 Prerequisites

Lecture 5 Target Audience & Roadmap where to Start Watching

Section 2: Request and Response

Lecture 6 Intro

Lecture 7 Client-Server Architecture

Lecture 8 Request and Response in PHP

Lecture 9 HttpFoundation\Request

Lecture 10 HttpFoundation\Response

Lecture 11 Front Controller

Lecture 12 Symfony Application Flow

Section 3: Why do I need a framework at all?

Lecture 13 Intro

Lecture 14 Issues with Flat Code

Lecture 15 Extract View

Lecture 16 Extract Model

Lecture 17 Extract Layout

Lecture 18 Add "show" page

Lecture 19 Front Controller

Lecture 20 Composer and HttpFoundation

Section 4: Symfony Installation

Lecture 21 Intro

Lecture 22 Technical Requirements

Lecture 23 Symfony CLI

Lecture 24 Symfony Versions and Revolutions

Lecture 25 Two Flavors of Symfony

Lecture 26 Basic Blog in under 10 Minutes

Section 5: Practice: Install Symfony

Lecture 27 Weather Forecast Project Intro

Lecture 28 Challenge: Install Symfony for the Project

Lecture 29 Challenge: Upload Project to GIT Repo

Section 6: Creating Pages in Symfony

Lecture 30 Intro

Lecture 31 Symfony Directory Structure

Lecture 32 First Controller

Lecture 33 Setting up Route for the First Action

Lecture 34 Listing all routes with debug:router

Lecture 35 Using Templates

Lecture 36 Know more with Debug Toolbar

Lecture 37 Twig Special Constructs + Filters

Section 7: Practice: Info Page

Lecture 38 Challenge: Static Info Page

Section 8: Routing

Lecture 39 Intro

Lecture 40 Simple Route

Lecture 41 Specifying HTTP Methods

Lecture 42 Route Parameters

Lecture 43 Parameter Default Values

Lecture 44 Parameter Requirements

Lecture 45 Inlining Parameter Requirements and Default Values

Lecture 46 Grouping and Prefixing Routes

Lecture 47 RedirectController

Lecture 48 Specifying Host

Lecture 49 Generating URLs in Controllers, Templates and JS

Section 9: Practice: Forecast Pages

Lecture 50 Challenge: Forecast by City and Country

Section 10: Controllers

Lecture 51 Intro

Lecture 52 Controller vs AbstractController

Lecture 53 make:controller Command

Lecture 54 Throwing 404 and 500 Errors

Lecture 55 Getting User Data using Request Object

Lecture 56 #[MapQueryParameter] Attribute

Lecture 57 #[MapQueryString] Attribute

Lecture 58 #[MapRequestPayload] Attribute

Lecture 59 Accessing PHP Session

Lecture 60 Flash Messages

Lecture 61 Alternative Response Objects

Section 11: Practice: Dummy Data for Forecast

Lecture 62 Challenge: Prepare an array of dummy data for display

Section 12: Templating

Lecture 63 Intro

Lecture 64 This is Twig

Lecture 65 Is it Worth Learning Another Templating Language?

Lecture 66 Creating a HTML and JSON Template

Lecture 67 How Twig Handles Variables

Lecture 68 path() and url()

Lecture 69 Displaying Assets

Lecture 70 Connecting Bootstrap

Lecture 71 The app Variable

Lecture 72 Adding Global Variables

Lecture 73 Rendering Twig in Controllers and from Routing

Lecture 74 dump() and {% dump %}

Lecture 75 include()

Lecture 76 Templates Inheritance

Lecture 77 Preventing XSS, Setting Template Variables

Lecture 78 Translations

Section 13: Practice: Layout

Lecture 79 Challenge: Connect Bootstrap

Lecture 80 Challenge: Style the Forecast on Dummy Data

Section 14: Doctrine

Lecture 81 Intro

Lecture 82 Installing ORM Pack

Lecture 83 .env, .env.local, .env.test, .env.test.local etc

Lecture 84 Beware! Leaking Credentials

Lecture 85 Creating Entity

Lecture 86 doctrine:schema:update

Lecture 87 doctrine:migrations:…

Lecture 88 Inserts

Lecture 89 Updates

Lecture 90 Repository Save

Lecture 91 Deleting an Object

Lecture 92 Fetching Data with Default Repository Methods

Lecture 93 Creating Own Queries with Query Builder

Lecture 94 #[MapEntity] Attribute

Lecture 95 Relations

Lecture 96 Beware Joins

Lecture 97 Fixtures

Section 15: Practice: Entities

Lecture 98 Challenge: Plan Your Entities

Lecture 99 Challenge: Implement Your Entities

Lecture 100 Challenge: Fill Database with Fixtures

Lecture 101 Challenge: Read Forecasts from Database

Section 16: Forms

Lecture 102 Intro

Lecture 103 Form Types

Lecture 104 Using Forms

Lecture 105 Built-in Form Types

Lecture 106 Form Classes

Lecture 107 Bootstrap and Form Layout Customization

Lecture 108 handleRequest

Section 17: Practice: CRUD

Lecture 109 Challenge: Create CRUD for Locations and Forecasts

Section 18: Validation

Lecture 110 Intro

Lecture 111 Validation Rules

Lecture 112 Form Validation

Lecture 113 Validation Groups

Section 19: Practice: Validations

Lecture 114 Challenge: Add Validation to CRUDs

Section 20: CLI Commands

Lecture 115 Intro

Lecture 116 make:command

Lecture 117 Input and Output

Lecture 118 SymfonyStyle

Lecture 119 Verbosity

Section 21: Practice: Commands

Lecture 120 Challenge: Create a Command for Fetching Forecasts

Section 22: Services

Lecture 121 Intro

Lecture 122 Simple Service

Lecture 123 Use in Controller

Lecture 124 Use in Command

Lecture 125 Rendering Twig in Services

Lecture 126 Services as Global Twig Variables

Lecture 127 ValidatorInterface in Services

Section 23: Practice: Services

Lecture 128 Challenge: Extract Common Logic to Service

Section 24: APIs

Lecture 129 Intro

Lecture 130 PhpStorm HTTP Client

Lecture 131 Postman

Lecture 132 Outputting Data with JsonResponse

Lecture 133 Outputting Data with Twig

Lecture 134 Outputting Data with Serializer

Lecture 135 Getting JSON Payload

Lecture 136 Getting Data using #[MapRequestPayload]

Lecture 137 Getting Data using Forms

Section 25: Practice: Backend API

Lecture 138 Challenge: Create API for Getting Forecasts

Section 26: Tests

Lecture 139 Intro

Lecture 140 Preparation and Installation

Lecture 141 Unit Tests

Lecture 142 Integration Tests

Lecture 143 Unit and Integration Tests Comparison

Lecture 144 Functional Tests

Section 27: Practice: Tests

Lecture 145 Challenge: Add Different Units

Lecture 146 Challenge: Test Units Conversion

Section 28: Alternative Frameworks

Lecture 147 Intro

Lecture 148 Laravel

Lecture 149 Next.js

Section 29: Summary

Lecture 150 Congratulations!

Lecture 151 What Next?

Section 30: Archive

Lecture 152 Summary

Lecture 153 Summary

Lecture 154 Summary

Lecture 155 Summary

Lecture 156 Summary

Lecture 157 Summary

Lecture 158 Summary

Lecture 159 Summary

Lecture 160 Summary

Lecture 161 Summary

Lecture 162 Summary

Lecture 163 Summary

Lecture 164 Summary

Lecture 165 Target Audience & Roadmap

Lecture 166 Summary

Lecture 167 Summary

Beginner, intermediate and advanced PHP developers who want to start creating amazing web applications easily!