Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Developing Extensions for Joomla! 5

You're reading from   Developing Extensions for Joomla! 5 Extend your sites and build rich customizations with Joomla! plugins, modules, and components

Arrow left icon
Product type Paperback
Published in Nov 2023
Publisher Packt
ISBN-13 9781804617991
Length 322 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Carlos M. Cámara Mora Carlos M. Cámara Mora
Author Profile Icon Carlos M. Cámara Mora
Carlos M. Cámara Mora
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Part 1: Developing Components
2. Chapter 1: Planning Your Component FREE CHAPTER 3. Chapter 2: Developing the Backend of a Basic Joomla! Component 4. Chapter 3: Developing the Frontend of a Basic Joomla! Component 5. Chapter 4: Creating Forms in Joomla! 6. Chapter 5: Harnessing the Power of Joomla! in Your Component 7. Chapter 6: Adding a Web Service API to Your Component 8. Part 2: Developing Modules and Plugins
9. Chapter 7: Developing a Module 10. Chapter 8: Developing a Joomla! Plugin 11. Chapter 9: Adding a CLI to Your Extension 12. Part 3: Extending Templates
13. Chapter 10: Creating Unique Web Applications with Template Overrides 14. Chapter 11: Creating a Child Template in Joomla! 15. Part 4: Distributing Your Extensions
16. Chapter 12: Testing Your Extensions 17. Chapter 13: Security Practices in Joomla! 18. Chapter 14: Distributing Your Joomla! Extensions 19. Index 20. Other Books You May Enjoy

What this book covers

Chapter 1, Planning Your Component, introduces the problem we want to solve and provides a simple methodology to plan the development for our extension. It also defines the database architecture that we are going to use in the book.

Chapter 2, Developing the Backend of a Basic Joomla! Component, starts the development of the backend part of a Joomla! component. It introduces Joomla! 5 MVC architecture and the new Joomla! development paradigm.

Chapter 3, Developing the Frontend of a Basic Joomla! Component, shows how to develop the frontend area of our component. It introduces Joomla! Routing and how to use Joomla! Web Assets Manager to add Styles and JavaScript to our component.

Chapter 4, Creating Forms in Joomla!, provides an overview of using forms in Joomla!. It shows how to create our forms using Joomla! API methods. It also covers Joomla! standard form fields and how to develop our own form fields. Finally, it shows how we can add server-side and client-side validation to our forms.

Chapter 5, Harnessing the Power of Joomla! in Your Component, provides a guide on the Joomla! core features we can use in our developments. It shows how to add Joomla! core permissions to our component using Joomla! ACL, it covers how to add Joomla! Categories to our component. This chapter also demonstrates how to integrate Joomla! custom fields in our extension and how to use the Joomla! translation system.

Chapter 6, Adding a Web Service API to Your Component, introduces Joomla! Web Service API. It also shows how to develop a Web Service endpoint for our extensions.

Chapter 7, Developing a Module, shows how to develop a Joomla! module using the new Joomla! architecture. It also introduces module helpers to develop more complex modules.

Chapter 8, Developing a Joomla! Plugin, introduces Joomla! plugins and shows the new plugin architecture. It explains how to trigger plugin events and covers how to develop plugins for our component.

Chapter 9, Adding a CLI to Your Extension, introduces Joomla! Command Line Interface usage. It also covers how to develop a console command for Joomla!, style its output, and include parameters in the command.

Chapter 10, Creating Unique Web Applications with Template Overrides, shows how to change any Joomla! template to meet your design specifications using template overrides. It also explains how to expand components by adding extra views.

Chapter 11, Creating a Child Template in Joomla!, introduces Joomla! template development through the new child template feature.

Chapter 12, Testing Your Extensions, shows how we can include PHP unit testing in our Joomla! extensions. It introduces Test Driven Development paradigm. It also covers how to create integration tests for your Joomla! component using Codeception. Finally, it explains how to test accessibility in your developments.

Chapter 13, Security Practices in Joomla!, covers Joomla! measures to secure your developments and provides useful tips to avoid common exploits. It also introduces the JED Checker tool for further checks.

Chapter 14, Distributing Your Joomla! Extensions, explains the manifest files for our extensions and it shows how to create a package for them. It also covers how to include an update server for our extensions. Finally, the chapter describes the mechanism built in Joomla! to allow updating extensions that are behind a paywall.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime