Some business logic features and scenarios
Generally speaking, we expect four main actions (CRUD: Create Read Update Delete) for each entity. Although they can be generated by Doctrine automatically (via Symfony's bin/console doctrine:generate:crud
command), we will see in Chapter 6, Dashboard and Security, how to use the Sonata project (https://sonata-project.org/) to do the job for us. So there won't be any features for them at the moment. Instead, let's focus on a search feature and various scenarios around it.
As this is a task management application, all searches will be built around the task entity. Yes, we will have features to list, sort, and quick-search users, projects, and workspaces on their own page. However, the search box on the main page should be focused mainly on tasks. Let's see what search possibilities we can imagine for it.
Basically, we need a search box that accepts search keywords and then performs searches on various entities. It is easy to look for the title and...