search

Next Section: Post类的日期属性调整541 plays

5 秒后自动播放下一节
  Watch Again

Symfony5 [Develop blog system from scratch]

Introduction >
ChapterCourseware
Chapter1Introduction to Symfony

Introduction to Symfony

04 minutes01 seconds

Install the running environment and initialize the Symfony project

05 minutes59 seconds

Create the first page using Controller

07 minutes24 seconds
Chapter2Basic creation and testing of blog content

Symfony's process of handling http requests

09 minutes54 seconds

query parameters of http request

09 minutes33 seconds

Placeholders in path - route parameters

05 minutes57 seconds

Mysql container service using docker

04 minutes58 seconds

Install orm components

04 minutes09 seconds

Introduction to Test Driven Development (TDD)

04 minutes13 seconds

Create your first unit test

09 minutes10 seconds

Add Comment class to add comments to articles

01 minutes45 seconds

Add association between article class and comment class

04 minutes56 seconds

PostFactory article factory

05 minutes22 seconds

Optimize PostFactory class

Mock stand-in

02 minutes46 seconds

Fix test code using Mock

Use the command line to create the database table corresponding to the Entity class

Using the database in a test environment

02 minutes31 seconds

Integration Testing

Continue to modify the integration test code

Use the setUp method to clear the database before each test method

04 minutes36 seconds

4 query methods of the Repository class

03 minutes40 seconds
Chapter3Blog advanced configuration

Doctrine QueryBuilder object introduction

11 minutes27 seconds

Doctrine Query Language(DQL)

Install orm-fixtures component

05 minutes13 seconds

Use EasyAdminBundle management terminal

06 minutes26 seconds

Configure PostCrudController to create an article management page

13 minutes13 seconds

Configure CommentCrudController to create a comment management page

03 minutes04 seconds

Twig template engine installation

01 minutes36 seconds

Blog home page routing

03 minutes52 seconds

Complete the controller method of the homepage

02 minutes13 seconds

Basic usage of Twig and complete home page display

03 minutes32 seconds

Read the PrestaShop source code and learn Symfony project skills

03 minutes51 seconds

Fix page issues

Article details page

Create a comment form class CommentType

06 minutes52 seconds

Handle comment form data submission

Install the encore component using webpack

08 minutes50 seconds

Convert html template to twig template

11 minutes22 seconds

The style of the comment form and the display of the comment list

Test submission of comment form using functional tests

06 minutes18 seconds

Nested single table one-to-many relationship for comments

03 minutes52 seconds

Add reply comment controller method

Use of FosJsRoutingBundle

05 minutes10 seconds

Handle submission of reply to comment form

08 minutes47 seconds

Fixed bug in reply comment form box

05 minutes41 seconds

Comment reply level control

05 minutes27 seconds

Install Panther and test using a real browser

03 minutes04 seconds

Writing Panther test code

09 minutes55 seconds

Preparation before pagination Create some fake article data

Chapter4File upload and form events

Create some fake review data

Pagination of article list

Use KnpPaginatorBundle to paginate the comments list

Internationalization of pager

Add page feedback using Flash messages

02 minutes59 seconds

Add file upload FileManaged class

03 minutes51 seconds

JoinTable method realizes one-way one-to-many

03 minutes46 seconds

CollectionType and form row template overrides

06 minutes38 seconds

File upload dom event handling

04 minutes48 seconds

Handle data submitted for file upload

06 minutes08 seconds

Fix the bug in the file upload button of the reply comment form box

05 minutes14 seconds

Custom file upload form type

04 minutes29 seconds

Form events

06 minutes17 seconds

Automatic cropping of LiipImagineBundle comment pictures

04 minutes08 seconds

Integrate lightbox2 library

03 minutes11 seconds

Management side comment list display picture

10 minutes51 seconds

Doctrine life cycle events

01 minutes35 seconds

Date attribute adjustment of Post class

05 minutes48 seconds

Display of comment list sub-comment post attributes

05 minutes54 seconds

Fixed the issue where child comments are deleted at the same time when the parent comment is deleted

form validation

Custom validator

Comment content filtering

08 minutes48 seconds

Custom event subscriber

Event processing priority and GenericEvent

06 minutes08 seconds

Delete the comment image after deleting the comment on the management side

Delete the comment image after deleting the comment on the management side

05 minutes08 seconds

Create an admin user using Fixtures

Create user login form authenticator

User login authentication process

05 minutes46 seconds
Chapter5Complete functions

Remember me settings

02 minutes52 seconds

Prevent brute force login cracking

02 minutes07 seconds

UserChecker

08 minutes38 seconds

User authorization

05 minutes37 seconds

Permission verification on the management side

04 minutes07 seconds

Symfony built-in permission properties

role inheritance

06 minutes08 seconds

Management side permission adjustment

07 minutes46 seconds

Custom Voter

Optimize the button of the article list on the management side

03 minutes55 seconds

Voter’s strategy

Automatically set the author when adding an article on the management side

02 minutes56 seconds

globalization

02 minutes29 seconds

Internationalization of Flash messages

09 minutes25 seconds

twig trans filter

03 minutes25 seconds

_locale placeholder parameter in path

04 minutes43 seconds

Workflow introduction

04 minutes19 seconds

Define article publishing workflow

05 minutes52 seconds

Modify the status attribute of the Post class

03 minutes09 seconds

Modify management workflow

13 minutes53 seconds

Permission verification in workflow

05 minutes59 seconds

Define workflow for comments using a state machine

05 minutes31 seconds

Install the mailer component to send emails

07 minutes29 seconds

Install the messenger component to use the message queue

05 minutes16 seconds

Send emails synchronously using messenger

02 minutes05 seconds

Send emails asynchronously using doctrine queue

03 minutes05 seconds

Queue processing flow when email delivery fails

06 minutes13 seconds

AMQP message queue-RabbitMQ

04 minutes00 seconds

Additional knowledge about AMQP queues

03 minutes23 seconds

Learn about REST API and install Api Platform

03 minutes17 seconds

Create article API using ApiResource annotation

03 minutes39 seconds

Jsonld response format

06 minutes14 seconds

Modify API operations

04 minutes19 seconds

normalization与denormalization

10 minutes11 seconds

Nested display of relational data

09 minutes06 seconds

Custom Normalizer

07 minutes21 seconds

Fixed the problem of IRI information being lost when customizing Normalizer

10 minutes37 seconds

API resource filter

05 minutes30 seconds

Custom file upload operations

14 minutes13 seconds

Project optimization is packaged and released to the server

05 minutes21 seconds
  • CancelreplySending
  • Cancelpost a noteSending