Free Sample
+ Collection

Mastering Joomla! 1.5 Extension and Framework Development

Mastering
James Kennard

The Professional Guide to Programming Joomla!
$14.85
$49.99
RRP $26.99
RRP $49.99
eBook
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 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 139781847192820
Paperback488 pages

About This Book

 

  • In-depth guide to programming Joomla!
  • Design and build secure and robust components, modules and plugins
  • Includes a comprehensive reference to the major areas of the Joomla! framework

 

Who This Book Is For

PHP developers who want to understand how Joomla! works with a view to advanced customization or extension development, and want to learn how to work with the Joomla! framework.

Table of Contents

Chapter 1: Introduction to Joomla!
Overview
History
Requirements
Extension Types and Their Uses
Extension Manager
JED and JoomlaCode.org
Development Tools
Summary
Chapter 2: Getting Started
The Application and Document
Request to Response
Directory Structure
Libraries
A Quick Lesson in Classes
Working with the Request
The Factory
The Session
Predefined Constants
Summary
Chapter 3: The Database
The Core Database
Extending the Database
Querying the Database
JTable
Summary
Chapter 4: Component Design
Setting up a Sandbox
The Structure
The MVC
Rendering Other Document Types
Dealing with Component Configuration
Elements and Parameters
Help Files
Routing
Packaging
Summary
Chapter 5: Module Design
Setting Up a Sandbox
First Steps
Module Settings (Parameters)
Helpers
Layouts (Templates)
Translating
Packaging
Summary
Chapter 6: Plugin Design
Setting Up a Sandbox
Events
Listeners
Plugin Groups
Using Plugins as Libraries (in Lieu of Library Extensions)
Translating Plugins
Dealing with Plugin Settings (Parameters)
Packaging
Summary
Chapter 7: Extension Design
Supporting Classes
Helpers
Using and Building getInstance() Methods
Using the Registry
The User
The Session
The Browser
Assets
Summary
Chapter 8: Rendering Output
The joomla.html Library
Component Backend
Itemized Data
Summary
Chapter 9: Customizing the Page
Application Message Queue
Redirects
Using Menu Item Parameters
Modifying the Document
Translating
Using JavaScript Effects
Summary
Chapter 10: APIs and Web Services
XML
AJAX
LDAP
Email
File Transfer Protocol
Web Services
Building a Web Service (XML-RPC Plugin)
Summary
Chapter 11: Error Handling and Security
Errors, Warnings, and Notices
Dealing with CGI Request Data
Access Control
Attacks
Summary
Chapter 12: Utilities and Useful Classes
Dates
File System
Arrays
Trees
Log Files
Summary

What You Will Learn

 

  • Joomla!'s directory and URI structure along with a brief overview of its libraries
  • Joomla's common classes, variables and constants crucial for creating Joomla! extensions
  • Extending the database, following conventions for database schema, and common fields
  • Storing common types of data in standard fields and dealing with multilingual requirements.
  • Getting data from the Joomla! database
  • Using the JTable class to display and edit tables of cells
  • Designing components using the MVC design pattern
  • Configuring the component and its various elements and parameters.
  • Packaging components with the required install and uninstall files
  • Getting modules and components to work together
  • Writing, loading, and translating plugins
  • Working with Joomla!'s registry
  • Working with the User, Session, and Browser classes
  • Render output and maintain consistency throughout the application
  • Controlling paging of lists
  • Using JavaScript effects from the mootools librarys included with Joomla!
  • Creating and using Web Services in Joomla!
  • Handling errors, warnings and notices
  • Building secure Joomla! extensions
  • Working with dates, arrays, tree structures and other Joomla! utility classes
  • An in-depth reference guide to the most significant parts of the Joomla! framework

 

In Detail

Joomla! is the world's hottest open-source content management system, and the winner of the 2006 Open Source CMS Prize. Out of the box, Joomla! does a great job of managing the content needed to make your website sing. But for many people, the true power of Joomla! lies in its application framework that makes it possible for thousands of developers around the world to create powerful add-ons and extensions. Many companies or organizations have requirements that go beyond what is available in the basic Joomla! package or in a freely available extension. Thankfully, Joomla! offers a powerful application framework that makes it easy for developers to create sophisticated add-ons that extend the power of Joomla! into virtually unlimited directions.

If you use PHP programming to extend or customize Joomla!, this book is essential reading. If you feel that you've mastered the basics of creating Joomla! extensions, then this book will take you to the next level. Packed with expert advice on all aspects of development with Joomla!, you will learn about best-practice design and coding for Joomla! components, modules, plugins and other extensions.

You will also learn about customizing the page output, using JavaScript effects, making use of Web Services from within Joomla! and ensuring that your code is secure and error-free.

A unique and comprehensive reference to the main areas of interest within the Joomla! framework is also included in the book.


Authors

Read More