What are the advantages and disadvantages of using Joomla with custom plugins/components/modules for a project requiring interactive user functions in PHP?

Issue: When working on a project that requires interactive user functions in PHP, using Joomla with custom plugins/components/modules can provide a flexible and scalable solution. However, there are advantages and disadvantages to consider when implementing this approach. Advantages: 1. Joomla provides a robust framework for building websites with built-in user management features. 2. Custom plugins/components/modules allow for extending Joomla's functionality to meet specific project requirements. 3. Using PHP for interactive user functions ensures a dynamic and engaging user experience. Disadvantages: 1. Custom development may require additional time and resources to implement and maintain. 2. Compatibility issues with Joomla updates or other extensions can arise. 3. Custom code may not always follow Joomla's best practices, leading to potential security vulnerabilities. PHP Code Snippet:

<?php
// Example of custom Joomla plugin code for interactive user functions

defined('_JEXEC') or die;

class plgContentCustomPlugin extends JPlugin
{
    public function onContentPrepare($context, $article, $params, $page = 0)
    {
        // Add custom interactive user functions here
        // For example, display a form for users to submit feedback
        $output = '<form action="submit_feedback.php" method="post">
                        <input type="text" name="feedback" placeholder="Enter your feedback">
                        <input type="submit" value="Submit">
                   </form>';

        // Append the form to the article content
        $article->text .= $output;
    }
}
?>