Search Header Logo
The Complete Strapi™ Course with Plugins and Deployment - Premium Posts: Solution 3

The Complete Strapi™ Course with Plugins and Deployment - Premium Posts: Solution 3

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

The video tutorial discusses a problem with manipulating data inside a controller and proposes a cleaner solution by creating a custom service to fetch non-premium posts. The implementation involves creating a new async find method and a custom service that handles query objects. The tutorial emphasizes the benefits of this approach, such as cleaner controller code and efficient data processing. The solution is tested to ensure it returns the expected results, highlighting the importance of dedicated services in maintaining clean architecture.

Read more

3 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the significance of the 'find public' method in the new implementation?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

Describe the role of the controller in the new service architecture.

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

How does the new implementation ensure that the controller's code remains clean?

Evaluate responses using AI:

OFF

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?