Mastering Joomla! 1.5 Extension and Framework Development Second Edition
Formats:
save 15%!
save 37%!
Free Shipping!
| Also available on: |
|
- In-depth guide to programming Joomla! 1.5 Framework
- Design and build secure and robust components, modules, and plugins
- Customize the document properties, add multilingual capabilities, and provide an interactive user experience
- Includes a comprehensive reference to the major areas of Joomla!’s common classes, variables, and constants crucial for creating Joomla! Extensions.
Book Details
Language : EnglishPaperback : 560 pages [ 235mm x 191mm ]
Release Date : May 2010
ISBN : 1849510520
ISBN 13 : 9781849510523
Author(s) : Chuck Lanham, James Kennard
Topics and Technologies : All Books, Content Management (CMS), Joomla!, Open Source, Web Development
Back to BOOK PAGE
Table of Contents
Preface
Chapter 1: Introduction to Joomla!
Chapter 2: Getting Started
Chapter 3: The Database
Chapter 4: Component Design
Chapter 5: Module Design
Chapter 6: Plugin Design
Chapter 7: Extension Design
Chapter 8: Rendering Output
Chapter 9: Customizing the Page
Chapter 10: APIs and Web Services
Chapter 11: Error Handling and Security
Chapter 12: Utilities and Useful Classes
Appendix
Index
Back to BOOK PAGE
Chuck Lanham
James Kennard
Code Downloads
Download the code and support files for this book.
Submit Errata
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Errata
- 3 submitted: last submission 21 May 2012Errata type: Technical | Page number: 60, 78
In the last piece of code the checkin-method uses a user-id as a parameter. That should be a record-id (or can be left away if the buffered record is to be checked in).
The code should be:
$table->load($id);
if (!$table->checkin($id))
{
// handle failed to checkin record
}
Or simply:
if(!$table->checkin())
{
// handle failed to checkin record
}
If the buffered record is the one being checked in.
Errata type: Technical | Page number: 164-175
In the code a checkout() is missing. On page 175 the record is checked in (in the store()-method of the Revues-model of the Boxoffice-component). But it was never checked out in the code, neither in a model, nor in the controller.
There is no checkout() function in the code, although there is a checkin() call. This is really just an oversight and could easily be remedied by adding a bit of code to the controller and the model. A good example can be found in the administrator/components/com_weblink/models/weblink.php code -- isCheckedOut() and checkout() functions and administrator/components/com_weblink/controller.php – display() function.
Errata type: Technical | Page number: 59
$query = 'SELECT * FROM '.$db->nameQuote('contacts');
$db =& JFactory::getDBO();
$db->setQuery($query, 1, 20);
$result1 = $db->query($query);
$result2 = $db->query($query);
In this code, you are using the object $db before calling the JFactory::getDBO() function.
It should be:
$db =& JFactory::getDBO();
$query = 'SELECT * FROM '.$db->nameQuote('contacts');
$db->setQuery($query, 1, 20);
$result1 = $db->query($query);
$result2 = $db->query($query);
Sample chapters
You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.
- Understand the structure and design of the Joomla! 1.5 framework and how it operates at its core to develop efficient and well-designed extensions for Joomla!
- Extend the database conventions for the database schema and common fields
- Access and manipulate the database with the help of JDatabase and JTable classes
- Design extensions that work within the Joomla! structure
- Incorporate User, Session, Request, and Browser classes in extensions
- Organize your code with the Model-View-Controller (MVC) design pattern
- Build your own components to manage and present a specific set of data
- Enhance our component by creating a module, which will add new functionality to our frontend
- Modify your system’s functionality without the need to alter existing code
- Discover how to add pagination, ordering, filtering, and searching to make your extensions more user-friendly, and increase the chances of having successfully created a commercially winning or freely available extension
- Improve your extensions by customizing the document properties, adding multilingual capabilities, and providing an interactive user experience
- Access remote third-party services from an application with Joomla!’s API (Application Programming Interface) and web service
- Master the techniques of error handling and access control to prevent malicious attacks on your systems
Joomla! is one of the world’s top open source content management systems, which enables you to build websites and powerful online applications. Out of the box, Joomla! does a great job of managing the content needed to enhance the functionality of your website. 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.
This book will guide you through the complexities of implementing add-ons, components, modules, and plugins in Joomla! 1.5. 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 programming with Joomla!, this book is an invaluable reference guide you will turn to again and again for your Joomla! development tasks.
The book starts by explaining the structure and design of the Joomla! Framework. Then we move on to extending and storing data in standard fields and dealing with multilingual requirements. Further, you will discover best practices, design, and coding methods for Joomla! components, modules, plugins, and other extensions. Along the way, you will actually design and create a component, module, and plugin that work together to add functionality to the Joomla! framework.
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. You will discover how to easily create sophisticated extensions that are robust, user-friendly, and professional by taking advantage of the many libraries and utilities provided by the Joomla! framework. A comprehensive, up-to-date reference to the Joomla! Framework API is also included in the book.
Finally, we will discuss advanced methods for rendering your extensions more robust, secure, and professional.
The most comprehensive, up-to-date, and accurate developer’s reference for Joomla!
Packed with expert advice, working examples, and tips, this book is an essential reference guide that you will turn to again and again as you work with Joomla!.
PHP developers who want to understand how Joomla! Works, with a view to advanced customization or extension development, and who want to learn how to work with the Joomla! Framework.

