O'Reilly logo

Joomla!™ Programming by Louis Landry, Mark Dexter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7. Components Part I: Controllers and Models

Components are typically the largest and most complex extensions and require the most knowledge and perseverance to create. If you have gotten this far in the book, you are likely ready for the challenge.

This chapter begins the in-depth look at the model-view-controller (MVC) design pattern used by all core components in Joomla!. We do this by examining the back end of the Weblinks component.

We start with an overview of the component’s files and then look in detail at the different tasks that the component can do. Then we explore how these tasks are implemented in the controller and model classes. We also discuss the JTable class and how it is used to work with the database.

What Is a Component? ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required