Learning Joomla! 1.5 Extension Development

A practical tutorial for creating your first Joomla! 1.5 extensions with PHP, written and tested against the final release of Joomla! 1.5

Learning Joomla! 1.5 Extension Development

Learning
Joseph L. LeBlanc

A practical tutorial for creating your first Joomla! 1.5 extensions with PHP, written and tested against the final release of Joomla! 1.5
$22.40
$39.99
RRP $31.99
RRP $39.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781847196200
Paperback284 pages

About This Book

  • Program your own Joomla! extensions
  • Master Model-View-Controller design
  • Build configurable site modules to show information on every page
  • Use built-in HTML and JavaScript functions

Who This Book Is For

This book is suitable for PHP programmers who want to take their first step in customizing and extending the features of Joomla! through custom PHP development. It is not a reference guide for advanced Joomla! developers.

You need only the basics of PHP programming; no experience of developing Joomla! extensions is assumed. You are expected to be familiar with the general operation of Joomla!

Table of Contents

Chapter 1: Joomla! Extension Development: An Overview
Why extend Joomla!?
How to extend Joomla!
Topic overview
Our example project
Summary
Chapter 2: Getting Started with Component Development
Joomla!'s component structure
Joomla!'s division of frontend and backend
Registering your component in the database
Creating toolbars
Summary
Chapter 3: Backend Development
Creating the database table
Coding with MVC
Creating the review form
Processing the data
Creating a list screen
Editing records
Summary
Chapter 4: Frontend Development
Listing the reviews
Displaying a review
Generating search-engine-friendly links
Adding comments
Displaying comments
Summary
Chapter 5: JTable, JHTML, and JUser
Overriding JTable methods
Adding ordered records
Recording traffic
Checking out and checking in records
Getting user information
Generating elements with JHTML
Setting ordering
Summary
Chapter 6: Module Development
Registering the module in the database
Creating and configuring a basic module
Recruiting some helpers
Trying some different layouts
Mixing it up
Summary
Chapter 7: Expanding the Project
Publishing records
Deleting records
Adding Apply
Requiring specific fields
Using pagination to break up long lists
Searching
Migrating toolbars to views
Managing comments
Summary
Chapter 8: Using JavaScript Effects
Modal boxes
Tool tips
Sliding panes
Customizing Google Maps
Using jQuery
Summary
Chapter 9: Behind the Scenes: Plug-ins
Database queries
A simple link plug-in
What events can be registered?
An information box plug-in
Searching the reviews
Summary
Chapter 10: Configuration Settings
Adding parameters to extensions
Parameters for modules
Parameters for plug-ins
Parameters for components
Summary
Chapter 11: Email, Languages, and JFile
Sending emails
Managing languages
Creating translations
Handling file uploads
Summary
Chapter 12: Packing Everything Together
Listing all of the files
Packaging the module
Packaging the plug-ins
Packaging the component
Including SQL queries
Creating backend menu items
Extra installation scripts
Distribution
Summary

What You Will Learn

  • Create toolbars, list screens with pagination, and menu items
  • Maintain a consistent look and reduce repetitive code using HTML functions
  • Automate database record management
  • Use the MooTools JavaScript framework to manage customized Google Maps
  • Understand the Model-View-Controller design pattern used in components

In Detail

Joomla! is the world's hottest open-source content management system, and the winner of the 2006 Open Source CMS Prize.

While Joomla! is packed with features, its greatest quality is that it is extremely extensible, allowing any number of complex applications to be cleanly integrated. Shopping carts, forums, social networking profiles, job boards, and real estate listings are all examples of extensions developers have written for Joomla!. All of these can run off one Joomla! site, while only one database, template, and core need to be maintained. When you build an extension to Joomla!, it will inherit the look and feel of the overall site.

If you're eager to start creating extensions for Joomla!, this book is for you. Walk through the development of complete Joomla! 1.5 components and modules with this tutorial for PHP programmers. Written for Joomla! version 1.5 and tested against the final release, this book will get you started coding your first extensions as quickly as possible, and adds the features that will make your work look professional! This book is the most up-to-date introduction to creating Joomla! extensions available.

The book will show you how to use the Model-View-Controller design pattern, pull in common HTML elements, use JavaScript frameworks, manage users, build configuration panels, internationalize interfaces, and manage database records. General knowledge of PHP is assumed, but previous Joomla! programming experience is not.

Authors

Table of Contents

Chapter 1: Joomla! Extension Development: An Overview
Why extend Joomla!?
How to extend Joomla!
Topic overview
Our example project
Summary
Chapter 2: Getting Started with Component Development
Joomla!'s component structure
Joomla!'s division of frontend and backend
Registering your component in the database
Creating toolbars
Summary
Chapter 3: Backend Development
Creating the database table
Coding with MVC
Creating the review form
Processing the data
Creating a list screen
Editing records
Summary
Chapter 4: Frontend Development
Listing the reviews
Displaying a review
Generating search-engine-friendly links
Adding comments
Displaying comments
Summary
Chapter 5: JTable, JHTML, and JUser
Overriding JTable methods
Adding ordered records
Recording traffic
Checking out and checking in records
Getting user information
Generating elements with JHTML
Setting ordering
Summary
Chapter 6: Module Development
Registering the module in the database
Creating and configuring a basic module
Recruiting some helpers
Trying some different layouts
Mixing it up
Summary
Chapter 7: Expanding the Project
Publishing records
Deleting records
Adding Apply
Requiring specific fields
Using pagination to break up long lists
Searching
Migrating toolbars to views
Managing comments
Summary
Chapter 8: Using JavaScript Effects
Modal boxes
Tool tips
Sliding panes
Customizing Google Maps
Using jQuery
Summary
Chapter 9: Behind the Scenes: Plug-ins
Database queries
A simple link plug-in
What events can be registered?
An information box plug-in
Searching the reviews
Summary
Chapter 10: Configuration Settings
Adding parameters to extensions
Parameters for modules
Parameters for plug-ins
Parameters for components
Summary
Chapter 11: Email, Languages, and JFile
Sending emails
Managing languages
Creating translations
Handling file uploads
Summary
Chapter 12: Packing Everything Together
Listing all of the files
Packaging the module
Packaging the plug-ins
Packaging the component
Including SQL queries
Creating backend menu items
Extra installation scripts
Distribution
Summary

Book Details

ISBN 139781847196200
Paperback284 pages
Read More