Chapter 8. Building Complete Solutions, Modules, and Components
"Mixing modules and components for great results"
In the previous chapter, we worked on a tiny module, focusing our efforts only on the frontend. This time, we are going to create a simple component too. This way we will be able to work in the backend part and insert data into the database. But don't worry, this is going to be very simple—just the basics so that we have some data inserted—and then we will use a module to show it on the frontend.
For the example in this chapter, we are going to build a news rotator module. Although it is going to be quite simple on the frontend, we will be adding some interesting features in the admin panel.
In this chapter, we will be covering the following topics:
Working on our news rotator module
Creating the component base
How Joomla! helps us in working with the database
Modifying our installer to create our table
Coding a basic admin zone
Inserting, editing, and deleting...