8. Components Part II: Views, JForm, and Front End
In the previous chapter, we looked at the controllers and models for the back end of the Weblinks component. In this chapter, we continue our look at the Weblinks component.
We start by examining the views and display methods, including an in-depth look at how the Weblinks Manager layout works. Then we explore the use of the JForm
class in the Weblink Edit view. Finally, we look at the front end of Weblinks and discuss what is similar and different between the back end and front end of the component.
Views and the display() Method
Let’s now examine the view part of the model-view-controller (MVC) pattern, still in the back end. Recall that a view is shown when we have no task or the task is display. ...
Get Joomla!™ Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.