PacktLib: Learning Joomla! 1.5 Extension Development: Creating Modules, Components, and Plugins with PHP

Copyright

Credits

About the Author

About the Reviewer

Preface

Joomla! Extension Development: An Overview

Why Extend Joomla!

Customization versus Extension

How to Extend Joomla!

Topic Overview

Our Example Project

Summary

Getting Started with Component Development

Joomla!’s Component Structure

Executing the Component

Joomla!’s Division between Front End and Back End

Registering Your Component in the Database

Creating Toolbars

Summary

Back-End Development

Creating the Database Table

Creating a Table Class

Creating the Review Form

Processing the Data

Creating a List Screen

Editing Records

Deleting Records

Summary

Front-End Development

Listing the Reviews

Displaying a Review

Generating Search-Engine Friendly Links

Adding Comments

Displaying Comments

Summary

Module Development

Registering the Module in the Database

Creating and Configuring a Basic Module

Summary

Expanding the Project

Model, View, Controller: Why?

Building Data Models

Migrating to Views

Switching Through Controllers

Reorganizing the Back-End Code

Publishing Controls for Reviews

Adding Pagination

Management for Comments

Additional Toolbars

Summary

Behind the Scenes: Plug-Ins

Database Queries

A Simple Link Plug-In

An Information Box Plug-In

Searching the Reviews

Summary

Configuration Settings

Adding Parameters to Extensions

Parameters for Modules

Parameters for Plug-Ins

Parameters for Components

Summary

Packing Everything Together

Listing All Files

Packaging the Module

Packaging Plug-ins

Packaging the Component

Including SQL Queries

Creating Back-End Menu Items

Extra Installation Scripts

Distribution

Summary