Introduction

Basic backend

Designing the backend interface leads us to create at least a Model-View-Controller triptych. We have to modify the administrator entry point of our component, the admin/helloworld.php file

admin/helloworld.php

<?php// No direct access to this filedefined('_JEXEC') or die('Restricted access');// import joomla controller library
jimport('joomla.application.component.controller');// Get an instance of the controller prefixed by HelloWorld$controller= JController::getInstance('HelloWorld');// Perform the Request task$controller->execute(JRequest::getCmd('task'));// Redirect if set by the controller$controller->redirect();

Create the general controller

The entry point now get an instance of a HelloWorld prefixed controller. Let create a basic controller for the administrator part:

Create a compressed file of this directory or directly download the archive and install it using the extension manager of Joomla!1.6. You can add a menu item of this component using the menu manager in the backend.