Hello world Module in joomla

Here at first we write the code.

    * @version 1.0 $
    * @package HelloWorld
    * @copyright (C) 2005 Arifur Rahman
    * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL

    /** ensure this file is being included by a parent file */
    defined( '_JEXEC' ) or die( 'Restricted Access.' );

    echo JText::_('Hello World');

Then we write the xml file

   <?xml version="1.0" encoding="utf-8"?>
    <install type="module" version="1.5.0">
    <name>Hello World</name>
    <author>Arifur Rahman</author>
    <creationDate>September 2009</creationDate>
    <copyright>(C) 2005 Arifur Rahman</copyright>
    <license>http://www.gnu.org/copyleft/gpl.html GNU/GPL</license>
    <description>A module that says hello</description>
    <filename module="mod_helloworld">mod_helloworld.php</filename>
    <params />

After that we install our module and show in the left side. The out put will show like this.

the coder

Got something to say? Go for it!