Skip to main content
Member demoUsername asha-demoPassword ShDemo!Member2026

Where should extension business logic live?

275 Views
0 Replies
1 min read

For a modern Joomla component, what boundary keeps controllers small without turning models into a second service container?

10 Likes

3 Replies

I use controllers for request validation and response selection, then call an application service for the use case. The service owns transactions and collaboration between repositories or integrations.

Models can still shape list and form data, but cross-cutting work such as notifications, storage, and billing is easier to test behind explicit services.

The useful test is whether the same operation can be called from a web controller, CLI command, and scheduled task without copying its rules.

Topic Author

E

elena

@elena

Topic Stats

Created Sunday, 16 November 2025 11:10
Last Updated Sunday, 16 November 2025 11:10
Replies 0
Views 275
Likes 10

Share This Topic