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

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
Mapt Subscription
FREE
$29.99/m after trial
eBook
$22.40
RRP $31.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$22.40
$39.99
$29.99p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781847196200
Paperback284 pages

Book Description

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.

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

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

Read More Reviews

Recommended for You

Mastering Joomla! 1.5 Extension and Framework Development Second Edition Book Cover
Mastering Joomla! 1.5 Extension and Framework Development Second Edition
$ 29.99
$ 21.00
Learning Joomla! 3 Extension Development-Third Edition Book Cover
Learning Joomla! 3 Extension Development-Third Edition
$ 32.99
$ 23.10
Joomla! 1.5 Template Design Book Cover
Joomla! 1.5 Template Design
$ 26.99
$ 18.90
Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80
Joomla! 1.5 JavaScript jQuery Book Cover
Joomla! 1.5 JavaScript jQuery
$ 23.99
$ 16.80
Drools JBoss Rules 5.0 Developer's Guide Book Cover
Drools JBoss Rules 5.0 Developer's Guide
$ 29.99
$ 21.00