Mastering Joomla! 1.5 extension and framework development : the professional guide to programming Joomla! : extend the power of Joomla! by adding components, modules, plugins, and other extensions / Chuck Lanham, James Kennard.

Extend the power of Joomla! by adding components, modules, plugins, and other extensions.

Saved in:
Bibliographic Details
Main Author: Lanham, Chuck
Other Authors: Kennard, James
Format: eBook
Language:English
Published: Birmingham, U.K. : Packt Open Source, 2010.
Subjects:
Online Access:Click for online access
Table of Contents:
  • Cover; Copyright; Credits; About the Author; About the Reviewer; Table of Contents; Preface; Chapter 1: Introduction to Joomla!; Overview; Joomla! 1.5 Framework; Framework layer; Libraries; Framework; Plugins; Application layer; Extension layer; Extension types and their uses; Components; Modules; Plugins; Languages; Templates; Tools; Extension Manager; Requirements; Joomla Extension Directory (JED); Development tools; JoomlaCode.org; Coding standards; phpDocumentor; J!Dump; Summary; Chapter 2: Getting Started; A quick object lesson; Inheriting from JObject; Design Patterns
  • Predefined constantsThe Joomla! process; Working with JRequest; From Request to Response; Load Core; Libraries; Build application; The session; Initialize application; Multilingual support; UTF-8 string handling; Route application; URI structure; Dispatch application; Render application; Send response; Directory structure; Summary; Chapter 3: The Database; The core database; Database structure; Database naming conventions; Database Prefix; Table names; Column names; Creating a component table; Additional points to consider; Dates; Parsing data; Dealing with multilingual requirements
  • Using the databaseJDatabase::query(); Writing queries; JDatabase::load methods; loadResult( ) : string; loadResultArray( numinarray : int=0 ) : array; loadRow( ) : array; loadAssoc( ) : array; loadObject( ) : stdClass; loadRowList( key : int ) : array; loadAssocList( key : string='' ) : array; loadObjectList( key : string='' ) : array; JDatabase::ADOdb methods; JTable; Creating the JTable subclass; Creating a new record; Reading a record; Updating a record; Deleting a record; Checking a record in or out; Ordering; Publishing; Hits; Parameter fields; Summary; Chapter 4: Extension Design
  • Supporting classesHelpers; Using and building getInstance() methods; Using the registry; Saving and loading registry values; The user; User parameters; The session; The browser; Assets; Extension structure; The structure of a component; Component directory structure; Component file structure; Component class names; Setting up a component sandbox; SQL install and uninstall files; Install and uninstall scripts; Component XML manifest file; The structure of a module; Module directory structure; Module file structure; Module class names; Setting up a module sandbox; Module XML manifest file
  • The structure of a pluginPlugin directory structure; Setting up a plugin sandbox; Extension packaging; Summary; Chapter 5: Component Design; Component design; The MVC software design pattern; Model; View; Controller; Connecting the dots; Building the MVC component; Building the component frontend; Building the entry point; Building the controller; Building the frontend model; Building the frontend view; Rendering other document types; Updating the manifest; Building the component backend; Building the backend entry point; Building the controller; Building the backend model; Building the table